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)

019fd2dd-73ba-7765-97ee-510a065be3be
019fd2dd-73ba-79b7-81fd-6544fabf3cf8
019fd2dd-73ba-7af2-ad51-fb206436cee0
019fd2dd-73ba-7c09-a26a-cbc9e8a79f0a
019fd2dd-73ba-7d1b-8a75-12234d1f874a
019fd2dd-73ba-7e2e-8033-ed5a82658da0
019fd2dd-73ba-7f40-86e4-ddac7cca5684
019fd2dd-73bb-7057-911c-9d78931c4844
019fd2dd-73bb-7169-be9c-25245a6d3ad3
019fd2dd-73bb-727b-aace-a35e2d0815b8
019fd2dd-73bb-7392-b1a6-f30e36e99033
019fd2dd-73bb-74a4-ad69-65e543fd2686
019fd2dd-73bb-75b7-b74f-0933afc2523a
019fd2dd-73bb-76c9-8399-05620255eb1b
019fd2dd-73bb-77dc-b1e9-ea70b056c222

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)

1f190eef-dfa1-6188-b968-4cf95d479851
1f190eef-dfa1-6336-b968-4cf95d479851
1f190eef-dfa1-6426-b968-4cf95d479851
1f190eef-dfa1-64f8-b968-4cf95d479851
1f190eef-dfa1-65c0-b968-4cf95d479851
1f190eef-dfa1-6688-b968-4cf95d479851
1f190eef-dfa1-6750-b968-4cf95d479851
1f190eef-dfa1-6818-b968-4cf95d479851
1f190eef-dfa1-68e0-b968-4cf95d479851
1f190eef-dfa1-699e-b968-4cf95d479851
1f190eef-dfa1-6ae8-b968-4cf95d479851
1f190eef-dfa1-6bba-b968-4cf95d479851
1f190eef-dfa1-6c82-b968-4cf95d479851
1f190eef-dfa1-6d4a-b968-4cf95d479851
1f190eef-dfa1-6e12-b968-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)

fdfa1ee4-90ee-11f1-b968-4cf95d479851
fdfa1f52-90ee-11f1-b968-4cf95d479851
fdfa1fc0-90ee-11f1-b968-4cf95d479851
fdfa2024-90ee-11f1-b968-4cf95d479851
fdfa2088-90ee-11f1-b968-4cf95d479851
fdfa20e2-90ee-11f1-b968-4cf95d479851
fdfa2146-90ee-11f1-b968-4cf95d479851
fdfa21a0-90ee-11f1-b968-4cf95d479851
fdfa2204-90ee-11f1-b968-4cf95d479851
fdfa225e-90ee-11f1-b968-4cf95d479851
fdfa22c2-90ee-11f1-b968-4cf95d479851
fdfa231c-90ee-11f1-b968-4cf95d479851
fdfa2376-90ee-11f1-b968-4cf95d479851
fdfa23d0-90ee-11f1-b968-4cf95d479851
fdfa242a-90ee-11f1-b968-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)

3bea4810-fc03-890d-87ea-5ce32bd83b97
3df24a10-fc03-890d-87ea-5ce32bd83b97
1f324b10-fc03-890d-87ea-5ce32bd83b97
e6ab4c10-fc03-890d-87ea-5ce32bd83b97
39744d10-fc03-890d-87ea-5ce32bd83b97
fe354e10-fc03-890d-87ea-5ce32bd83b97
13a74f10-fc03-890d-87ea-5ce32bd83b97
a2755010-fc03-890d-87ea-5ce32bd83b97
f2f45110-fc03-890d-87ea-5ce32bd83b97
d0225210-fc03-890d-87ea-5ce32bd83b97
406e5310-fc03-890d-87ea-5ce32bd83b97
cf5b5410-fc03-890d-87ea-5ce32bd83b97
ee425510-fc03-890d-87ea-5ce32bd83b97
4b7e5610-fc03-890d-87ea-5ce32bd83b97
cc9e5710-fc03-890d-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)

7aba631b-52de-4b0e-92c5-7833cd023a95
39c859e0-ad72-49c6-a336-1207824f4e49
3d019f0b-819b-4a97-9d39-94f681fc9b7a
27c6f85b-261a-4f8f-b3c7-097434771f81
1c96d4aa-a73a-493a-a6c2-0be3e4d9e628
1e3db398-3b8c-49ad-9007-f54e425d209f
4c4673bc-02ce-4494-a19b-1b5fae21853e
6f3df4fb-96e5-4ac5-88ec-faf210f2732c
d588e9e6-51b1-4001-8ba5-fe4f08555c90
580d538b-33f1-46df-85d7-7182d1a1e623
8ec8d29d-3224-4206-b12a-eb82051f014f
21f07259-afe9-40a2-a8bd-043a62e211c7
8f93560a-aaef-4f9d-880c-ccf7a920f0f8
0b3dd344-0784-4151-a59e-3aea13ec2c20
576d7928-708b-49bf-989f-75023137a28b

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: