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)

01a11d75-e1b5-7afe-a6d6-0967cab972b0
01a11d75-e1b5-7ca8-ab7e-023dc0ad3ce1
01a11d75-e1b5-7de8-9c51-48b91d67b4e1
01a11d75-e1b5-7f0f-bd06-635ad7f37985
01a11d75-e1b6-7029-97fc-5bec9b95d9ef
01a11d75-e1b6-7144-9600-cd7386c679af
01a11d75-e1b6-7257-bf9e-4b04bb67a9d1
01a11d75-e1b6-736d-bf67-4cca8da09761
01a11d75-e1b6-7484-9166-81a81cd3d591
01a11d75-e1b6-759a-ae8d-61edac3270d4
01a11d75-e1b6-76b1-9e21-8a927da9064b
01a11d75-e1b6-77c7-b0fa-750278d4245c
01a11d75-e1b6-78de-9c9d-47ee212bf67a
01a11d75-e1b6-79f4-9eb5-060580cf52e4
01a11d75-e1b6-7b0b-8092-f910d22e50cb

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)

1f1c360e-0423-646e-abc3-4cf95d479851
1f1c360e-0423-663a-abc3-4cf95d479851
1f1c360e-0423-6716-abc3-4cf95d479851
1f1c360e-0423-67e8-abc3-4cf95d479851
1f1c360e-0423-68a6-abc3-4cf95d479851
1f1c360e-0423-696e-abc3-4cf95d479851
1f1c360e-0423-6a2c-abc3-4cf95d479851
1f1c360e-0423-6aea-abc3-4cf95d479851
1f1c360e-0423-6ba8-abc3-4cf95d479851
1f1c360e-0423-6c66-abc3-4cf95d479851
1f1c360e-0423-6dc4-abc3-4cf95d479851
1f1c360e-0423-6e96-abc3-4cf95d479851
1f1c360e-0423-6fa4-abc3-4cf95d479851
1f1c360e-0424-60da-abc3-4cf95d479851
1f1c360e-0424-61de-abc3-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)

e04242c4-c360-11f1-abc3-4cf95d479851
e0424328-c360-11f1-abc3-4cf95d479851
e0424396-c360-11f1-abc3-4cf95d479851
e04243fa-c360-11f1-abc3-4cf95d479851
e0424454-c360-11f1-abc3-4cf95d479851
e04244b8-c360-11f1-abc3-4cf95d479851
e042451c-c360-11f1-abc3-4cf95d479851
e0424576-c360-11f1-abc3-4cf95d479851
e04245da-c360-11f1-abc3-4cf95d479851
e042463e-c360-11f1-abc3-4cf95d479851
e04246a2-c360-11f1-abc3-4cf95d479851
e0424706-c360-11f1-abc3-4cf95d479851
e042476a-c360-11f1-abc3-4cf95d479851
e04247ce-c360-11f1-abc3-4cf95d479851
e042483c-c360-11f1-abc3-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)

ad1d311b-1505-8911-87ea-5ce32bd83b97
b731321b-1505-8911-87ea-5ce32bd83b97
3f55331b-1505-8911-87ea-5ce32bd83b97
598a341b-1505-8911-87ea-5ce32bd83b97
5091351b-1505-8911-87ea-5ce32bd83b97
88b2361b-1505-8911-87ea-5ce32bd83b97
8f4e371b-1505-8911-87ea-5ce32bd83b97
2386381b-1505-8911-87ea-5ce32bd83b97
9255391b-1505-8911-87ea-5ce32bd83b97
6a5d3a1b-1505-8911-87ea-5ce32bd83b97
f70b3b1b-1505-8911-87ea-5ce32bd83b97
637b3c1b-1505-8911-87ea-5ce32bd83b97
fc083d1b-1505-8911-87ea-5ce32bd83b97
399d3e1b-1505-8911-87ea-5ce32bd83b97
b17d3f1b-1505-8911-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)

94ba2a03-17d4-4b3f-9221-72d831f02e4a
811f4cb1-7402-445a-a9f3-58570e795ba8
55a95672-6737-4c8a-98b6-75cccc922692
71b0c1c0-78c0-4ccb-9568-072598494c30
5b92fd07-c649-4385-95ef-57e714c5a8d8
33fe6c2f-18e5-4d1d-a4bf-e65c2a748886
fb9710f4-0bba-4be9-8da0-bb6746101e06
a3e8e71e-3eef-4dd4-bd14-8dc1bcee37ca
2c1067da-a685-458b-81fc-bdf284740d93
ce09a810-d901-4698-9d24-a8afdd73616b
81f802d5-24e6-4c38-b1ff-0711284be484
1feb44b0-b267-4172-a1dc-2bfbf8e8b2fe
c1f6f776-66c3-4a7c-b19d-a0a279821685
1732482d-fa95-4ad4-8726-d7ca797a58cd
04686e15-35ba-48d3-9852-5c714e7fa536

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: