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)

019cc932-cd14-7277-8862-ae34d433335c
019cc932-cd14-73fc-9e61-c36fe570d567
019cc932-cd14-753c-9b6f-49abbc79f5cf
019cc932-cd14-765f-b09d-114f55b5d737
019cc932-cd14-7779-bf8c-5cd7407ba8e5
019cc932-cd14-7894-bbb5-3fdb36be3b82
019cc932-cd14-79af-b632-c5d34d21df34
019cc932-cd14-7ac9-a250-c237c2aed0f0
019cc932-cd14-7be4-b94f-d4113a763567
019cc932-cd14-7cfe-9370-480a5dd55987
019cc932-cd14-7e19-b0c8-cf3044419748
019cc932-cd14-7f30-b6ba-25824251ad92
019cc932-cd15-7052-a210-dca404a738a6
019cc932-cd15-7175-bd64-5f8bc369b738
019cc932-cd15-7290-8888-0b095af6b4a7

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)

1f11a456-3ec4-6e64-9f9c-4cf95d479851
1f11a456-3ec4-6ff4-9f9c-4cf95d479851
1f11a456-3ec5-60e4-9f9c-4cf95d479851
1f11a456-3ec5-61ac-9f9c-4cf95d479851
1f11a456-3ec5-6274-9f9c-4cf95d479851
1f11a456-3ec5-633c-9f9c-4cf95d479851
1f11a456-3ec5-63fa-9f9c-4cf95d479851
1f11a456-3ec5-64b8-9f9c-4cf95d479851
1f11a456-3ec5-6576-9f9c-4cf95d479851
1f11a456-3ec5-6634-9f9c-4cf95d479851
1f11a456-3ec5-67ce-9f9c-4cf95d479851
1f11a456-3ec5-6918-9f9c-4cf95d479851
1f11a456-3ec5-6a3a-9f9c-4cf95d479851
1f11a456-3ec5-6b02-9f9c-4cf95d479851
1f11a456-3ec5-6bca-9f9c-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)

b34029cd-e304-427c-8bef-f10b574c1814
b4a3ceaa-ed95-4ad4-a1b3-857dded3fcac
a46f3556-8ce0-4b40-8d44-25b0b3c2e79b
cf1ee503-c084-459e-b752-4ebb68ae9cb8
092a2b8b-e02b-4f5b-b213-408a77c5e357
345c8049-13e0-4888-a8d3-c04436562357
631ee8f2-726c-4c0a-9edb-572fbb7fc200
6e8ab14b-9870-457d-9a9d-3edaa642ecd7
c4d506df-c904-4f49-b314-7abcd713467c
495d0c8a-b658-43c7-9d76-30a53bd4b684
6879ada3-5d34-4044-ab2d-cd3fd1284d9c
cb6cb8f7-9473-43f2-8c6b-5b960e032530
220ee718-370d-44e6-9d76-f58fe1f1381c
1d1dd939-2e73-4866-a3b5-657db94c1fef
6c245ecc-f1e1-4d0e-be18-78e52fa1e91e

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)

63ec6106-1a45-11f1-9f9c-4cf95d479851
63ec616a-1a45-11f1-9f9c-4cf95d479851
63ec61d8-1a45-11f1-9f9c-4cf95d479851
63ec623c-1a45-11f1-9f9c-4cf95d479851
63ec62a0-1a45-11f1-9f9c-4cf95d479851
63ec6304-1a45-11f1-9f9c-4cf95d479851
63ec6368-1a45-11f1-9f9c-4cf95d479851
63ec63cc-1a45-11f1-9f9c-4cf95d479851
63ec6430-1a45-11f1-9f9c-4cf95d479851
63ec6494-1a45-11f1-9f9c-4cf95d479851
63ec64f8-1a45-11f1-9f9c-4cf95d479851
63ec658e-1a45-11f1-9f9c-4cf95d479851
63ec65fc-1a45-11f1-9f9c-4cf95d479851
63ec6660-1a45-11f1-9f9c-4cf95d479851
63ec66c4-1a45-11f1-9f9c-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)

eca4ab37-f003-8204-87ea-5ce32bd83b97
407bac37-f003-8204-87ea-5ce32bd83b97
0e89ad37-f003-8204-87ea-5ce32bd83b97
be0aae37-f003-8204-87ea-5ce32bd83b97
34c8af37-f003-8204-87ea-5ce32bd83b97
654ab037-f003-8204-87ea-5ce32bd83b97
4e4cb137-f003-8204-87ea-5ce32bd83b97
53fab237-f003-8204-87ea-5ce32bd83b97
c814b337-f003-8204-87ea-5ce32bd83b97
f874b437-f003-8204-87ea-5ce32bd83b97
1005b537-f003-8204-87ea-5ce32bd83b97
0c73b637-f003-8204-87ea-5ce32bd83b97
e33eb737-f003-8204-87ea-5ce32bd83b97
7891b937-f003-8204-87ea-5ce32bd83b97
9437ba37-f003-8204-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: