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)

019e9fb2-4dfe-73f4-b750-b2a915f9186c
019e9fb2-4dfe-75bb-b79c-7fdfb4b110d9
019e9fb2-4dfe-76fe-97f7-db437b6b3d3c
019e9fb2-4dfe-77ec-b196-5f40ab081271
019e9fb2-4dfe-7907-8b50-82e0961ee387
019e9fb2-4dfe-7a1d-877c-09355f0a361b
019e9fb2-4dfe-7b38-ac39-fc5fd41bd8a6
019e9fb2-4dfe-7c4e-85a3-49be978e2616
019e9fb2-4dfe-7d65-9f02-d085e511d580
019e9fb2-4dfe-7e7b-a220-4465b22608ba
019e9fb2-4dfe-7f92-89b3-8dded2ad4aed
019e9fb2-4dff-70a8-9beb-9f625d98e25a
019e9fb2-4dff-71c3-bdce-648698f92a06
019e9fb2-4dff-72da-aab9-f7d1c14c45b0
019e9fb2-4dff-73f4-b6e0-09647c79e3de

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)

1f162103-8880-6700-8eca-4cf95d479851
1f162103-8880-68e0-8eca-4cf95d479851
1f162103-8880-69c6-8eca-4cf95d479851
1f162103-8880-6aac-8eca-4cf95d479851
1f162103-8880-6b7e-8eca-4cf95d479851
1f162103-8880-6c50-8eca-4cf95d479851
1f162103-8880-6d18-8eca-4cf95d479851
1f162103-8880-6de0-8eca-4cf95d479851
1f162103-8880-6eb2-8eca-4cf95d479851
1f162103-8880-6f84-8eca-4cf95d479851
1f162103-8881-6100-8eca-4cf95d479851
1f162103-8881-61e6-8eca-4cf95d479851
1f162103-8881-62ae-8eca-4cf95d479851
1f162103-8881-6380-8eca-4cf95d479851
1f162103-8881-6448-8eca-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)

38881538-6210-11f1-8eca-4cf95d479851
388815a6-6210-11f1-8eca-4cf95d479851
3888160a-6210-11f1-8eca-4cf95d479851
3888166e-6210-11f1-8eca-4cf95d479851
388816dc-6210-11f1-8eca-4cf95d479851
38881740-6210-11f1-8eca-4cf95d479851
388817a4-6210-11f1-8eca-4cf95d479851
38881812-6210-11f1-8eca-4cf95d479851
38881880-6210-11f1-8eca-4cf95d479851
388818ee-6210-11f1-8eca-4cf95d479851
38881952-6210-11f1-8eca-4cf95d479851
388819b6-6210-11f1-8eca-4cf95d479851
38881a2e-6210-11f1-8eca-4cf95d479851
38881a92-6210-11f1-8eca-4cf95d479851
38881b00-6210-11f1-8eca-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)

9a84432b-5900-8e09-87ea-5ce32bd83b97
78cd442b-5900-8e09-87ea-5ce32bd83b97
7c1c452b-5900-8e09-87ea-5ce32bd83b97
a22f462b-5900-8e09-87ea-5ce32bd83b97
bea7472b-5900-8e09-87ea-5ce32bd83b97
0f4e482b-5900-8e09-87ea-5ce32bd83b97
e9a64a2b-5900-8e09-87ea-5ce32bd83b97
2c304b2b-5900-8e09-87ea-5ce32bd83b97
e78c4c2b-5900-8e09-87ea-5ce32bd83b97
9f544d2b-5900-8e09-87ea-5ce32bd83b97
a4444e2b-5900-8e09-87ea-5ce32bd83b97
58e64f2b-5900-8e09-87ea-5ce32bd83b97
7d29502b-5900-8e09-87ea-5ce32bd83b97
7550512b-5900-8e09-87ea-5ce32bd83b97
153e522b-5900-8e09-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)

3cf4386e-52aa-45bd-b256-6199b7a82317
7197a58b-5377-4f95-938b-986bae8436f4
249dbac6-adf0-418a-a998-a2a6ef0fecf8
d3b3f1bf-2d02-450c-bfe5-2c7cee9bedde
ce76b441-1c0a-49c4-9703-5735664cd13a
a95591ca-78a0-4f38-9d6d-48bbf2787553
e9cd1a94-34cc-4791-b63d-46a9666be935
3945b083-ea94-4688-88f8-d8b9a75d96fc
b2311c1a-a97d-4a40-8fca-b0222960d707
63771b2e-dbd3-4ccb-90fc-7542ce9985eb
6216fd85-31f2-4685-af1a-781c83d7c8fb
760cd826-94c4-4b61-9972-59a57ea8b521
e2c2de4b-f097-4acc-bc2d-cfced311a865
54e33ad0-e46e-4d9c-b974-f4d60c1789ce
d7d12915-8898-458d-b4da-f7133451d888

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: