UUID & MAC Utils by Daniel Marschall

View the source code

Overview

Generate random and/or time-based UUIDs

New: Generate Unix Epoch time-based (version 7) UUID ⭐

A UUIDv7 measures time in the Unix Epoch with an accuracy between 1ms and 245ns, depending on how many bits are spent for the timestamp (48-60 bits). The rest of the UUID (62-74 bits) is filled with random data. The timestamp is at the front of the UUID, therefore the UUIDs are monotonically increasing, which is good for using them in database indexes. Since this UUID version does not contain a MAC address, it is also recommended due to the improved privacy.

Show format

Here are 15 UUIDs that were created just for you! (Reload the page to get more)

01a23b95-1a5d-79e4-ad64-e1566fdb48e1
01a23b95-1a5d-7b8e-a6bb-853cc2f0a901
01a23b95-1a5d-7ccd-bff1-ee0c91302acf
01a23b95-1a5d-7dec-87e2-d7d419f7f824
01a23b95-1a5d-7efe-96c5-d3c15a03546b
01a23b95-1a5e-7015-85a1-895bc06b73eb
01a23b95-1a5e-712c-8445-36a8d9f52c85
01a23b95-1a5e-724a-b62d-ad6aea156db2
01a23b95-1a5e-7361-8551-c2026862a671
01a23b95-1a5e-7477-9029-dfde2f168393
01a23b95-1a5e-758e-80f2-546d0762a9cc
01a23b95-1a5e-76a0-8484-fcf359ca6179
01a23b95-1a5e-7815-abd4-b035f77e6b19
01a23b95-1a5e-7965-b7b4-45fbe1131bc3
01a23b95-1a5e-7a90-ae2b-b755fd70de55

New: Generate reordered Gregorian time-based (version 6) UUID ⏰

Like UUIDv1, this kind of UUID is made of the MAC address of the generating computer, the time, and a clock sequence. However, the components in UUIDv6 are reordered (time is at the beginning), so that UUIDs are monotonically increasing, which is good for using them in database indexes.

Show format

Here are 15 UUIDs that were created just for you! (Reload the page to get more)

1f1ef098-3d75-6630-942e-4cf95d479851
1f1ef098-3d75-6824-942e-4cf95d479851
1f1ef098-3d75-6914-942e-4cf95d479851
1f1ef098-3d75-69e6-942e-4cf95d479851
1f1ef098-3d75-6ac2-942e-4cf95d479851
1f1ef098-3d75-6b8a-942e-4cf95d479851
1f1ef098-3d75-6c48-942e-4cf95d479851
1f1ef098-3d75-6d1a-942e-4cf95d479851
1f1ef098-3d75-6dd8-942e-4cf95d479851
1f1ef098-3d75-6e96-942e-4cf95d479851
1f1ef098-3d75-6ffe-942e-4cf95d479851
1f1ef098-3d76-60da-942e-4cf95d479851
1f1ef098-3d76-61e8-942e-4cf95d479851
1f1ef098-3d76-6328-942e-4cf95d479851
1f1ef098-3d76-6472-942e-4cf95d479851

Generate Gregorian time-based (version 1) UUID ⏰

A UUIDv1 is made of the MAC address of the generating computer, the time, and a clock sequence.

Show format

Here are 15 UUIDs that were created just for you! (Reload the page to get more)

83d76576-ef09-11f1-942e-4cf95d479851
83d765e4-ef09-11f1-942e-4cf95d479851
83d76648-ef09-11f1-942e-4cf95d479851
83d766ac-ef09-11f1-942e-4cf95d479851
83d76710-ef09-11f1-942e-4cf95d479851
83d76774-ef09-11f1-942e-4cf95d479851
83d767e2-ef09-11f1-942e-4cf95d479851
83d76846-ef09-11f1-942e-4cf95d479851
83d768aa-ef09-11f1-942e-4cf95d479851
83d7690e-ef09-11f1-942e-4cf95d479851
83d76972-ef09-11f1-942e-4cf95d479851
83d769d6-ef09-11f1-942e-4cf95d479851
83d76a30-ef09-11f1-942e-4cf95d479851
83d76a94-ef09-11f1-942e-4cf95d479851
83d76af8-ef09-11f1-942e-4cf95d479851

Generate SQL Server sortable time-based (version 8) UUID

The sorting of UUIDs in SQL Server is rather confusing and incompatible with UUIDv6 and UUIDv7.
Therefore this method developed by HickelSOFT generates UUIDs which are sortable by SQL Server.
They have a time resolution of 1 milliseconds combined with 16 bits of random data.

C# implementation | PHP implementation

Show format

Here are 15 UUIDs that were created just for you! (Reload the page to get more)

e97e1639-9a02-8115-87ea-5ce32bd83b97
49571739-9a02-8115-87ea-5ce32bd83b97
dd3d1839-9a02-8115-87ea-5ce32bd83b97
6cca1939-9a02-8115-87ea-5ce32bd83b97
f79d1a39-9a02-8115-87ea-5ce32bd83b97
5c671b39-9a02-8115-87ea-5ce32bd83b97
c7191d39-9a02-8115-87ea-5ce32bd83b97
9b261e39-9a02-8115-87ea-5ce32bd83b97
17551f39-9a02-8115-87ea-5ce32bd83b97
34f32039-9a02-8115-87ea-5ce32bd83b97
cf5b2139-9a02-8115-87ea-5ce32bd83b97
0a7f2239-9a02-8115-87ea-5ce32bd83b97
5b3b2339-9a02-8115-87ea-5ce32bd83b97
82c92439-9a02-8115-87ea-5ce32bd83b97
38012539-9a02-8115-87ea-5ce32bd83b97

Generate random (version 4) UUID 🎲

A UUIDv4 is made of 122 random bits. No other information is encoded in this kind of UUID.

Show format

Here are 15 UUIDs that were created just for you! (Reload the page to get more)

fdb23116-3eec-4910-ac3c-9893d3d43273
ac43b393-2779-4049-9c1a-4791caba7fa4
81250c23-4438-476a-9914-5234881298a9
4e88cbf3-b0af-423c-afaf-7059f6fc92fb
6a3f0a33-e2cf-4b24-968b-f321487a6855
41bb51b2-938f-4fcb-9974-9def5e817eab
ca7bd862-f9c7-4f28-8184-b5868708b84e
ef623361-b32d-407e-a23b-5faee22f98f0
458bafcc-dd6d-472b-9912-98d622960581
c72b8c58-8cff-4d1a-8796-12929626b9e1
5c20666b-42d9-4a90-9d5a-1ee0ad56a656
79dca608-100e-479e-a91e-b149c0ce1324
2f8cf907-0185-43c7-b3d0-34a12f5e6460
2c640765-b9ec-4513-a15d-f1c343a2929b
f23d4f30-32fa-4fdd-bcef-3c634ad8ee79

Generate other UUID types

The following types of UUIDs are less common and/or require special knowledge. Please only use the following generators if you know what you are doing.

NCS (variant 0) UUID

The NCS UUIDs are a legacy format initially designed by Apollo Computer that cannot be generated anymore, because the amount of available timestamp bits was exhausted on 5 September 2015. As an example, here is the last possible NCS UUID (all bits of the timestamp are set to 1) for IP address 127.0.0.1: ffffffff-ffff-0000-027f-000001000000.

Show format

Generate DCE Security (version 2) UUID

A UUIDv2 contains information about the creator (person, group, or organization), the generating system (MAC address), and time. The creator information replaced parts of the time bits, therefore the time resolution is very low.

Show format

= Address Family ID: (decimal notation)
(decimal notation)
Warning: The timestamp has an accuracy of 7:10 minutes, therefore the uniqueness of these UUIDs is not guaranteed!

Generate name-based (version 3 / 5 / New: 8) UUID

A UUIDv3 is made out of a MD5 hash and a UUIDv5 is made out of a SHA1 hash. RFC 9562 also contains an example for a custom UUIDv8 implementation that uses modern hash algorithms.

Show format


= Namespace UUID:

Warning: These UUIDs do not contain a timestamp, therefore the uniqueness of these UUIDs is not guaranteed!

New: Generate Custom (version 8) UUID

UUIDv8 is made of 122 bits application-specific / custom data. The other 6 bits are used to specify the variant and version of the UUID, to make it RFC-compatible.

Show format

0x = Decimal
0x = Decimal
0x = Decimal
0x = Decimal
0x = Decimal
Warning: These UUIDs do not contain a timestamp, therefore the uniqueness of these UUIDs is not guaranteed!

Interpret a UUID

You can enter a UUID in the following notations:

The script will output:

Please enter a UUID or UUID OID:

Interpret a MAC address (MAC / EUI / ELI / SAI / AAI)

You can enter a UUID in the following notations:

The script will output:

Please enter a MAC (EUI, ELI, SAI, AAI), or IPv6-Link-Local address:

Generate an AAI

An Administratively Assigned Identifier (AAI) is a MAC address which can be locally defined by applications or an administrator. Unlike the EUI, an AAI is NOT worldwide unique.


The following options are rather unusual, but are implemented for the sake of completeness: