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)

019c2752-955a-7a29-ba32-0b6007dfa6f5
019c2752-955a-7c2e-8dad-249c24470492
019c2752-955a-7d75-b27b-1896200a994b
019c2752-955a-7e98-9b26-b65a4a4b172b
019c2752-955a-7fb3-8e3e-49303504065b
019c2752-955b-70cd-9387-c10fe82b4ba8
019c2752-955b-71f0-8c4c-c9879b3d58b2
019c2752-955b-730b-a6d6-b2c0cb5cf313
019c2752-955b-7429-9794-19c4178260da
019c2752-955b-7544-9ff9-6f9ae9d801a4
019c2752-955b-765f-aeab-345b05f936b9
019c2752-955b-7779-90b7-a4955c4a13e2
019c2752-955b-7894-9c87-b451f7f6bff7
019c2752-955b-79b3-b31a-a5279c94de9e
019c2752-955b-7acd-88b3-2e756647a794

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)

1f101921-d6b9-61a0-a256-4cf95d479851
1f101921-d6b9-634e-a256-4cf95d479851
1f101921-d6b9-643e-a256-4cf95d479851
1f101921-d6b9-6510-a256-4cf95d479851
1f101921-d6b9-65e2-a256-4cf95d479851
1f101921-d6b9-66aa-a256-4cf95d479851
1f101921-d6b9-677c-a256-4cf95d479851
1f101921-d6b9-6844-a256-4cf95d479851
1f101921-d6b9-6916-a256-4cf95d479851
1f101921-d6b9-69de-a256-4cf95d479851
1f101921-d6b9-6b1e-a256-4cf95d479851
1f101921-d6b9-6bf0-a256-4cf95d479851
1f101921-d6b9-6cb8-a256-4cf95d479851
1f101921-d6b9-6d80-a256-4cf95d479851
1f101921-d6b9-6e52-a256-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)

d320649a-199d-49ce-bc63-df6064431d2e
95edab1c-60cd-4350-a9f9-8f7c976e2931
5e5e11b7-091d-40de-81ec-f9cab63e54ef
385d1ec4-f08e-41be-a855-ef71529a3036
4470b005-30d1-42e3-88a1-86d33ef1dc24
c5574d19-ef5c-43bd-90c5-974bedec233f
b9174c7e-dd7f-4a6f-98a8-bbae78cbe671
40ce1ea2-40c7-40b5-9e98-8e436335f9ef
cc1c1d52-b575-42bb-8ece-0e11bfcd68cc
75a8b987-0ebe-49f4-8024-6a21ad059039
23ae1e75-e38e-447a-b263-9664a6a941a0
f87445b1-e290-41eb-ac02-5a24c08a6322
699415be-d8ab-42ba-b8f2-63bd029e86b4
a60418f6-a54a-488e-9098-7db644fbb172
d61ebba3-4987-42c2-80f0-25dc3b1b0c5e

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)

1d6ba37a-0192-11f1-a256-4cf95d479851
1d6ba3de-0192-11f1-a256-4cf95d479851
1d6ba44c-0192-11f1-a256-4cf95d479851
1d6ba4ba-0192-11f1-a256-4cf95d479851
1d6ba528-0192-11f1-a256-4cf95d479851
1d6ba5aa-0192-11f1-a256-4cf95d479851
1d6ba618-0192-11f1-a256-4cf95d479851
1d6ba686-0192-11f1-a256-4cf95d479851
1d6ba6f4-0192-11f1-a256-4cf95d479851
1d6ba758-0192-11f1-a256-4cf95d479851
1d6ba7bc-0192-11f1-a256-4cf95d479851
1d6ba820-0192-11f1-a256-4cf95d479851
1d6ba884-0192-11f1-a256-4cf95d479851
1d6ba8f2-0192-11f1-a256-4cf95d479851
1d6ba956-0192-11f1-a256-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)

63629009-8101-8302-87ea-5ce32bd83b97
988e9109-8101-8302-87ea-5ce32bd83b97
31a69209-8101-8302-87ea-5ce32bd83b97
5abc9309-8101-8302-87ea-5ce32bd83b97
aa5a9409-8101-8302-87ea-5ce32bd83b97
e80d9509-8101-8302-87ea-5ce32bd83b97
329a9609-8101-8302-87ea-5ce32bd83b97
23aa9709-8101-8302-87ea-5ce32bd83b97
2b659809-8101-8302-87ea-5ce32bd83b97
3e419909-8101-8302-87ea-5ce32bd83b97
29619a09-8101-8302-87ea-5ce32bd83b97
f5279b09-8101-8302-87ea-5ce32bd83b97
25de9c09-8101-8302-87ea-5ce32bd83b97
51789d09-8101-8302-87ea-5ce32bd83b97
1c729f09-8101-8302-87ea-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

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: