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)

019d01ce-6d52-75cb-a2e2-212a5ef590f8
019d01ce-6d52-77b7-b08b-8a083c303885
019d01ce-6d52-7938-85ff-2fd4a520d5a6
019d01ce-6d52-7a67-bd91-4b301cfaee48
019d01ce-6d52-7b86-a039-25c7fca84825
019d01ce-6d52-7ca8-9d42-3a8ff11f6a49
019d01ce-6d52-7dc7-92e2-8a5e3c9f36ed
019d01ce-6d52-7f38-a920-436cf0fe6cce
019d01ce-6d53-708c-abc2-5f636f4311b5
019d01ce-6d53-71cb-ba00-2c38a58c1f71
019d01ce-6d53-72ea-a75d-4ed2f1c8aec3
019d01ce-6d53-741d-99d6-3914c6307007
019d01ce-6d53-7561-a78b-39fdd13f53f9
019d01ce-6d53-7684-951b-3ac3928863cb
019d01ce-6d53-779a-ae5f-039e78b8ed33

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)

1f122e8a-30fd-607e-82fb-4cf95d479851
1f122e8a-30fd-620e-82fb-4cf95d479851
1f122e8a-30fd-62fe-82fb-4cf95d479851
1f122e8a-30fd-63d0-82fb-4cf95d479851
1f122e8a-30fd-64a2-82fb-4cf95d479851
1f122e8a-30fd-6574-82fb-4cf95d479851
1f122e8a-30fd-6632-82fb-4cf95d479851
1f122e8a-30fd-66fa-82fb-4cf95d479851
1f122e8a-30fd-67b8-82fb-4cf95d479851
1f122e8a-30fd-6880-82fb-4cf95d479851
1f122e8a-30fd-69ac-82fb-4cf95d479851
1f122e8a-30fd-6a74-82fb-4cf95d479851
1f122e8a-30fd-6b32-82fb-4cf95d479851
1f122e8a-30fd-6bf0-82fb-4cf95d479851
1f122e8a-30fd-6cb8-82fb-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)

71ccf262-ddb4-4567-a907-ed459a82e6ff
7946f94f-8445-49e9-810f-2f09c5b0bebe
a96db56f-cb00-487a-a26e-68cff0dbbf76
6a3d5531-b487-4717-89b2-9bf9511bf56d
360857d3-8ba1-44f7-afac-179ea5a1fd7b
cc88a4b3-7267-4e26-bb0a-51125df041fa
307e737c-26fb-4583-9c01-6f8ea78d4965
7657655f-f353-4fe7-956c-ad4942fea902
3be011d7-639a-4dd5-a724-7613817f25eb
d40faabe-51d0-4f08-9045-8ab13ebdbe7c
0225c357-86fb-43d7-b89a-ac410563947b
a86ea0b0-a72a-4548-852f-5a9dd7b2f00d
a03e287f-efdb-481d-ba1b-a11fd7a68650
90aa8cc0-cf5a-40f2-87cc-0156046738ec
96416886-5a80-427c-b9fd-0f107077f664

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)

a30fe2b2-22e8-11f1-82fb-4cf95d479851
a30fe35c-22e8-11f1-82fb-4cf95d479851
a30fe3f2-22e8-11f1-82fb-4cf95d479851
a30fe46a-22e8-11f1-82fb-4cf95d479851
a30fe4d8-22e8-11f1-82fb-4cf95d479851
a30fe546-22e8-11f1-82fb-4cf95d479851
a30fe5aa-22e8-11f1-82fb-4cf95d479851
a30fe60e-22e8-11f1-82fb-4cf95d479851
a30fe672-22e8-11f1-82fb-4cf95d479851
a30fe6cc-22e8-11f1-82fb-4cf95d479851
a30fe730-22e8-11f1-82fb-4cf95d479851
a30fe794-22e8-11f1-82fb-4cf95d479851
a30fe7f8-22e8-11f1-82fb-4cf95d479851
a30fe85c-22e8-11f1-82fb-4cf95d479851
a30fe8c0-22e8-11f1-82fb-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)

be86de26-e503-8d04-87ea-5ce32bd83b97
0d0cdf26-e503-8d04-87ea-5ce32bd83b97
c7dbe026-e503-8d04-87ea-5ce32bd83b97
3383e126-e503-8d04-87ea-5ce32bd83b97
a25be226-e503-8d04-87ea-5ce32bd83b97
c39de326-e503-8d04-87ea-5ce32bd83b97
0036e426-e503-8d04-87ea-5ce32bd83b97
fd47e526-e503-8d04-87ea-5ce32bd83b97
6501e626-e503-8d04-87ea-5ce32bd83b97
fb09e726-e503-8d04-87ea-5ce32bd83b97
a0cde826-e503-8d04-87ea-5ce32bd83b97
f33fe926-e503-8d04-87ea-5ce32bd83b97
fb43ea26-e503-8d04-87ea-5ce32bd83b97
6498eb26-e503-8d04-87ea-5ce32bd83b97
cd1dec26-e503-8d04-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: