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)

019bd64a-f16d-7fe4-85e7-2ee5ccda4383
019bd64a-f16e-719e-8b4e-c523eb8afb38
019bd64a-f16e-72e2-aab9-c0b763347b39
019bd64a-f16e-7400-87a9-c4ac3a3dd0ef
019bd64a-f16e-751f-9140-43e6fcebb65e
019bd64a-f16e-763a-874b-f0d797593e8c
019bd64a-f16e-7754-bd18-4500fd830f3c
019bd64a-f16e-786f-9681-4bb86a0ba4f0
019bd64a-f16e-7986-b02c-6723beb175c7
019bd64a-f16e-7aa0-9ffa-e0456c987eeb
019bd64a-f16e-7bb7-b46e-cd6d465ef855
019bd64a-f16e-7cd1-b553-4edaf05f686b
019bd64a-f16e-7dec-872a-cf006b379096
019bd64a-f16e-7f0b-a9d6-8b7c43679ba6
019bd64a-f16f-7021-bbce-e7b251c579e2

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)

1f0f534e-2f84-648c-999e-4cf95d479851
1f0f534e-2f84-663a-999e-4cf95d479851
1f0f534e-2f84-672a-999e-4cf95d479851
1f0f534e-2f84-67fc-999e-4cf95d479851
1f0f534e-2f84-68c4-999e-4cf95d479851
1f0f534e-2f84-698c-999e-4cf95d479851
1f0f534e-2f84-6a54-999e-4cf95d479851
1f0f534e-2f84-6b1c-999e-4cf95d479851
1f0f534e-2f84-6be4-999e-4cf95d479851
1f0f534e-2f84-6ca2-999e-4cf95d479851
1f0f534e-2f84-6de2-999e-4cf95d479851
1f0f534e-2f84-6eb4-999e-4cf95d479851
1f0f534e-2f84-6f72-999e-4cf95d479851
1f0f534e-2f85-603a-999e-4cf95d479851
1f0f534e-2f85-60f8-999e-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)

1c831711-8fe6-4db6-9fe9-54fce9855a53
7e5e1f5d-960c-4620-bb81-30b25699280c
32928512-9f51-4c94-8b88-0efad62d2574
2dc8d4d5-b214-4f33-bdb0-6a843432a1a1
38157aa5-3932-4cc0-bec2-7c86c8e1990c
72974dee-c287-4b25-a7f3-7503a637d31f
97b6849d-03bd-41ed-983e-cc55fc4d6e55
0baf2ff2-01d9-4507-b0eb-61b3cd33bad9
978ae258-ec37-4c4f-8e4d-ab671d6f158b
5cd198f9-1854-4991-ac42-4d87b29f4671
1420466f-7c8e-419e-b964-f699d95a63ad
56d2d8f3-e4e0-43e1-aeb0-01214cd8d07d
5d1cfa5a-6246-4257-beba-64e69d9c8822
64aec15f-640a-4a12-82a0-8557e7560b79
2769eda1-7385-4c80-a25f-acd7da51d28e

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)

e2f85616-f534-11f0-999e-4cf95d479851
e2f8567a-f534-11f0-999e-4cf95d479851
e2f856de-f534-11f0-999e-4cf95d479851
e2f85742-f534-11f0-999e-4cf95d479851
e2f857a6-f534-11f0-999e-4cf95d479851
e2f85800-f534-11f0-999e-4cf95d479851
e2f85864-f534-11f0-999e-4cf95d479851
e2f858d2-f534-11f0-999e-4cf95d479851
e2f8592c-f534-11f0-999e-4cf95d479851
e2f85990-f534-11f0-999e-4cf95d479851
e2f859ea-f534-11f0-999e-4cf95d479851
e2f85a4e-f534-11f0-999e-4cf95d479851
e2f85ab2-f534-11f0-999e-4cf95d479851
e2f85b0c-f534-11f0-999e-4cf95d479851
e2f85b70-f534-11f0-999e-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)

e5055a22-ff02-8301-87ea-5ce32bd83b97
f5df5b22-ff02-8301-87ea-5ce32bd83b97
79025c22-ff02-8301-87ea-5ce32bd83b97
2d2d5d22-ff02-8301-87ea-5ce32bd83b97
42bb5e22-ff02-8301-87ea-5ce32bd83b97
ed945f22-ff02-8301-87ea-5ce32bd83b97
b43c6022-ff02-8301-87ea-5ce32bd83b97
31ad6122-ff02-8301-87ea-5ce32bd83b97
fe8b6222-ff02-8301-87ea-5ce32bd83b97
9a806322-ff02-8301-87ea-5ce32bd83b97
11766422-ff02-8301-87ea-5ce32bd83b97
79ae6522-ff02-8301-87ea-5ce32bd83b97
425c6622-ff02-8301-87ea-5ce32bd83b97
4cb76722-ff02-8301-87ea-5ce32bd83b97
a22c6822-ff02-8301-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: