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)

019ae146-61ab-7179-8e1c-b15fb1a27cff
019ae146-61ab-7307-b7a5-cd85fd8d7067
019ae146-61ab-744a-9585-c375a41b921e
019ae146-61ab-756d-a9ab-524c7ed35653
019ae146-61ab-768c-a035-f9f10b24fd11
019ae146-61ab-77aa-8ed6-8fb6f9180961
019ae146-61ab-78c9-a327-985e226f1dcc
019ae146-61ab-79e8-895b-7363d6c1ddd7
019ae146-61ab-7b03-a228-7d1d0803efb4
019ae146-61ab-7c1d-a9b1-a16848c1de52
019ae146-61ab-7d3c-89ce-4355dbcbf930
019ae146-61ab-7e5b-b7ff-9caaf80be43d
019ae146-61ab-7f75-8dbc-249e2a990288
019ae146-61ac-7094-b955-dff6101188a2
019ae146-61ac-71af-ae2f-84cb2ac8e0cc

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)

1f0cfd1e-0c89-66a4-837c-4cf95d479851
1f0cfd1e-0c89-6834-837c-4cf95d479851
1f0cfd1e-0c89-691a-837c-4cf95d479851
1f0cfd1e-0c89-69e2-837c-4cf95d479851
1f0cfd1e-0c89-6aa0-837c-4cf95d479851
1f0cfd1e-0c89-6b68-837c-4cf95d479851
1f0cfd1e-0c89-6c26-837c-4cf95d479851
1f0cfd1e-0c89-6cee-837c-4cf95d479851
1f0cfd1e-0c89-6dac-837c-4cf95d479851
1f0cfd1e-0c89-6e6a-837c-4cf95d479851
1f0cfd1e-0c89-6faa-837c-4cf95d479851
1f0cfd1e-0c8a-6072-837c-4cf95d479851
1f0cfd1e-0c8a-6130-837c-4cf95d479851
1f0cfd1e-0c8a-61ee-837c-4cf95d479851
1f0cfd1e-0c8a-62ac-837c-4cf95d479851

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)

63f77e52-bd43-45e8-a320-4e7440bbad10
756bc3fc-c7c6-4e23-991e-42d6ba171fce
3e8e9cf4-9a06-438f-9762-23c1dd3c7f40
170a8730-e5bc-44e3-a99b-1315bcadc4a7
9c4b4dbf-f168-4b1c-9f15-75ad00b013f3
a51f1cdc-ecc6-4452-8f3b-9b4966799d1f
7bf88983-7362-4514-b538-5ab2cfb9de8c
e1808232-10ff-4d3e-8db8-af6e40ca2332
8afcef95-aaf3-44a9-85bf-3f911330eca3
36a4fa3e-0039-47f5-a40a-791fcacf7bc9
2529337f-63ae-4887-a93d-141e5bc12f6b
db4e4122-f2f9-40a6-8072-75b5b3c9c2c1
fc277108-6fc4-4093-8291-574b54f37629
cb1cecc8-610c-4604-b901-33c7d194f47f
13c730e7-84c8-41ae-8cbc-e0bf26f4e9cf

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)

e0c8a7c0-cfd1-11f0-837c-4cf95d479851
e0c8a824-cfd1-11f0-837c-4cf95d479851
e0c8a888-cfd1-11f0-837c-4cf95d479851
e0c8a8ec-cfd1-11f0-837c-4cf95d479851
e0c8a950-cfd1-11f0-837c-4cf95d479851
e0c8a9aa-cfd1-11f0-837c-4cf95d479851
e0c8aa0e-cfd1-11f0-837c-4cf95d479851
e0c8aa68-cfd1-11f0-837c-4cf95d479851
e0c8aacc-cfd1-11f0-837c-4cf95d479851
e0c8ab26-cfd1-11f0-837c-4cf95d479851
e0c8ab94-cfd1-11f0-837c-4cf95d479851
e0c8abee-cfd1-11f0-837c-4cf95d479851
e0c8ac52-cfd1-11f0-837c-4cf95d479851
e0c8acb6-cfd1-11f0-837c-4cf95d479851
e0c8ad24-cfd1-11f0-837c-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)

089e7c25-5f05-8015-87e9-5ce32bd83b97
36b97d25-5f05-8015-87e9-5ce32bd83b97
431e7e25-5f05-8015-87e9-5ce32bd83b97
9b4c7f25-5f05-8015-87e9-5ce32bd83b97
120a8025-5f05-8015-87e9-5ce32bd83b97
55f68125-5f05-8015-87e9-5ce32bd83b97
dec78225-5f05-8015-87e9-5ce32bd83b97
ec148325-5f05-8015-87e9-5ce32bd83b97
99418425-5f05-8015-87e9-5ce32bd83b97
40d18525-5f05-8015-87e9-5ce32bd83b97
17fc8625-5f05-8015-87e9-5ce32bd83b97
3af38725-5f05-8015-87e9-5ce32bd83b97
2a8b8825-5f05-8015-87e9-5ce32bd83b97
67418925-5f05-8015-87e9-5ce32bd83b97
e70c8a25-5f05-8015-87e9-5ce32bd83b97

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

An 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

An UUIDv3 is made out of a MD5 hash and an 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: