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)

019e1189-8702-71e8-8256-f7f9c91b750e
019e1189-8702-7369-ba31-b6451d07b4c5
019e1189-8702-74b5-a749-ce12d7842e2c
019e1189-8702-75dc-a43b-46f0f998c98e
019e1189-8702-76fa-b08c-a5d0bf1c82b7
019e1189-8702-7829-9afd-66639a37756e
019e1189-8702-797d-9ce3-420ff8f49796
019e1189-8702-7b0b-a023-4b9e1c1cd16a
019e1189-8702-7c5f-ac81-20519da0beed
019e1189-8702-7d7d-b4c9-0342f75db913
019e1189-8702-7e98-ae74-bab06dea5286
019e1189-8702-7fb3-ba37-6a16d54cfee5
019e1189-8703-70c9-ae22-7eb71ab82131
019e1189-8703-71e8-b49c-97eee394a809
019e1189-8703-72fa-959e-ab8cd46bdf41

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)

1f14c5f1-fab3-605c-83f9-4cf95d479851
1f14c5f1-fab3-6200-83f9-4cf95d479851
1f14c5f1-fab3-62e6-83f9-4cf95d479851
1f14c5f1-fab3-63b8-83f9-4cf95d479851
1f14c5f1-fab3-6480-83f9-4cf95d479851
1f14c5f1-fab3-6552-83f9-4cf95d479851
1f14c5f1-fab3-661a-83f9-4cf95d479851
1f14c5f1-fab3-66e2-83f9-4cf95d479851
1f14c5f1-fab3-67aa-83f9-4cf95d479851
1f14c5f1-fab3-6868-83f9-4cf95d479851
1f14c5f1-fab3-69a8-83f9-4cf95d479851
1f14c5f1-fab3-6a84-83f9-4cf95d479851
1f14c5f1-fab3-6b4c-83f9-4cf95d479851
1f14c5f1-fab3-6c14-83f9-4cf95d479851
1f14c5f1-fab3-6cd2-83f9-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)

06b00a0b-9a9b-4eb2-8e27-979c85a7264e
4dc5a36f-bc4d-4d94-b58d-b323940742c0
ccf6a207-ce60-4735-a24b-65a26bf91873
d54989f8-d7e0-4680-b573-8ac720192c92
f4b2aaf7-6fca-4030-bd62-9a739d6b2394
657f3f73-6553-4b75-beb2-4dbc1c3f000f
632122ea-8bd6-433a-bb1b-543272f74a44
7f6e2cc7-61b1-4f22-bedc-4b0b62293f40
d6ec10d3-0861-485d-b809-7933e3cd3618
76cf74cf-0572-4c64-9339-d83fe582175e
7923b6bd-14e5-41ab-a5b4-9237aabbd183
94231a32-cd6b-4f2d-b991-b0427c43e800
3e737279-0024-4b33-aa8a-cde192251f83
e83c8ca6-b112-40bb-bf18-b9b5790b1975
229c57de-8186-48af-a8e0-d03d7fbb3bfe

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)

1fab4218-4c5f-11f1-83f9-4cf95d479851
1fab427c-4c5f-11f1-83f9-4cf95d479851
1fab42e0-4c5f-11f1-83f9-4cf95d479851
1fab4344-4c5f-11f1-83f9-4cf95d479851
1fab43b2-4c5f-11f1-83f9-4cf95d479851
1fab4416-4c5f-11f1-83f9-4cf95d479851
1fab4470-4c5f-11f1-83f9-4cf95d479851
1fab44d4-4c5f-11f1-83f9-4cf95d479851
1fab4538-4c5f-11f1-83f9-4cf95d479851
1fab4592-4c5f-11f1-83f9-4cf95d479851
1fab45f6-4c5f-11f1-83f9-4cf95d479851
1fab465a-4c5f-11f1-83f9-4cf95d479851
1fab46be-4c5f-11f1-83f9-4cf95d479851
1fab472c-4c5f-11f1-83f9-4cf95d479851
1fab4790-4c5f-11f1-83f9-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)

444c3606-9302-8208-87ea-5ce32bd83b97
59503706-9302-8208-87ea-5ce32bd83b97
b82e3806-9302-8208-87ea-5ce32bd83b97
00cb3906-9302-8208-87ea-5ce32bd83b97
386c3a06-9302-8208-87ea-5ce32bd83b97
d07d3b06-9302-8208-87ea-5ce32bd83b97
f13a3c06-9302-8208-87ea-5ce32bd83b97
f7243d06-9302-8208-87ea-5ce32bd83b97
01113e06-9302-8208-87ea-5ce32bd83b97
dbc63f06-9302-8208-87ea-5ce32bd83b97
84f24006-9302-8208-87ea-5ce32bd83b97
c0e64106-9302-8208-87ea-5ce32bd83b97
475a4206-9302-8208-87ea-5ce32bd83b97
02424406-9302-8208-87ea-5ce32bd83b97
8ab54506-9302-8208-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: