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)

019c715f-5049-741d-b1fc-ad64ac2c2740
019c715f-5049-75aa-be15-61a5aa7470f4
019c715f-5049-76e6-ae91-3234df94d178
019c715f-5049-7805-a369-646c392826a3
019c715f-5049-791f-9af1-b26d5cc10d87
019c715f-5049-7a36-8b07-ae4f1fe5ce03
019c715f-5049-7b50-a620-320bc9c34c50
019c715f-5049-7c67-93fa-15ab095d9915
019c715f-5049-7d7d-9cd6-b7af789bc623
019c715f-5049-7e94-8fa9-f7ffea13908a
019c715f-5049-7faa-8d95-de2e6974a2ce
019c715f-504a-70c1-9ce6-c5d920e149d9
019c715f-504a-7186-af25-adc97430f1f3
019c715f-504a-72a0-9b5b-5e82b1413b39
019c715f-504a-73b7-b41a-5f42f0f3764a

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)

1f10cdea-eb19-6770-8cdf-4cf95d479851
1f10cdea-eb19-690a-8cdf-4cf95d479851
1f10cdea-eb19-69f0-8cdf-4cf95d479851
1f10cdea-eb19-6ac2-8cdf-4cf95d479851
1f10cdea-eb19-6b8a-8cdf-4cf95d479851
1f10cdea-eb19-6c52-8cdf-4cf95d479851
1f10cdea-eb19-6d1a-8cdf-4cf95d479851
1f10cdea-eb19-6de2-8cdf-4cf95d479851
1f10cdea-eb19-6ea0-8cdf-4cf95d479851
1f10cdea-eb19-6f72-8cdf-4cf95d479851
1f10cdea-eb1a-60b2-8cdf-4cf95d479851
1f10cdea-eb1a-6184-8cdf-4cf95d479851
1f10cdea-eb1a-6256-8cdf-4cf95d479851
1f10cdea-eb1a-6314-8cdf-4cf95d479851
1f10cdea-eb1a-63dc-8cdf-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)

ed94a7b7-15c7-4fc4-b128-7d1b5a80abaf
a36d20dd-f85b-48d3-8353-bd15700b3409
aa64b0ff-a6b0-4628-a950-ca667be6d1b4
072aa639-bdcd-4b96-9dc8-e51bb90300e8
463a31fc-bb86-4689-8c2a-fda208003186
9fc6bf45-97dd-494a-a439-5034dd29711a
f6c7ccbf-2652-4be4-ae33-f70e82d68ebd
494941e5-35ea-4257-a676-a735669880d1
0f98689d-10be-4891-9139-326ccc8a8f28
dba060b4-8520-4435-a0df-7cde6d56f060
b5dad89a-743f-4ccb-97ff-37ef953d7fe9
88d130a9-da63-4ce5-a0bf-174f12d2dbef
8a279b26-503d-4a18-81b6-bd092c83afe4
193926ff-f707-48c2-ab14-72cfedc10900
d0ffcc3c-3445-46eb-89c7-283911ef8283

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)

aeb1a8fa-0cde-11f1-8cdf-4cf95d479851
aeb1a972-0cde-11f1-8cdf-4cf95d479851
aeb1a9e0-0cde-11f1-8cdf-4cf95d479851
aeb1aa4e-0cde-11f1-8cdf-4cf95d479851
aeb1aab2-0cde-11f1-8cdf-4cf95d479851
aeb1ab16-0cde-11f1-8cdf-4cf95d479851
aeb1ab7a-0cde-11f1-8cdf-4cf95d479851
aeb1abde-0cde-11f1-8cdf-4cf95d479851
aeb1ac42-0cde-11f1-8cdf-4cf95d479851
aeb1acb0-0cde-11f1-8cdf-4cf95d479851
aeb1ad14-0cde-11f1-8cdf-4cf95d479851
aeb1ad6e-0cde-11f1-8cdf-4cf95d479851
aeb1adc8-0cde-11f1-8cdf-4cf95d479851
aeb1ae2c-0cde-11f1-8cdf-4cf95d479851
aeb1ae90-0cde-11f1-8cdf-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)

2910d539-a203-8103-87ea-5ce32bd83b97
0767d639-a203-8103-87ea-5ce32bd83b97
5d8fd739-a203-8103-87ea-5ce32bd83b97
48c5d839-a203-8103-87ea-5ce32bd83b97
37cfd939-a203-8103-87ea-5ce32bd83b97
661fda39-a203-8103-87ea-5ce32bd83b97
0080db39-a203-8103-87ea-5ce32bd83b97
9da3dc39-a203-8103-87ea-5ce32bd83b97
4293dd39-a203-8103-87ea-5ce32bd83b97
67cade39-a203-8103-87ea-5ce32bd83b97
d62adf39-a203-8103-87ea-5ce32bd83b97
1d13e039-a203-8103-87ea-5ce32bd83b97
7647e139-a203-8103-87ea-5ce32bd83b97
ca77e239-a203-8103-87ea-5ce32bd83b97
6575e339-a203-8103-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: