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)

019f2029-676d-7c90-8b2e-886916bcaf57
019f2029-676d-7e84-9e5d-8f9b5874728d
019f2029-676d-7fc3-aeab-e7fd6df7be07
019f2029-676e-70e6-9e7d-603166fc3792
019f2029-676e-7205-9e8b-ce865db4b65c
019f2029-676e-731f-9076-357e0452cbb7
019f2029-676e-743e-8fd7-4bf712b6cc88
019f2029-676e-7559-ba8f-4245107dfd02
019f2029-676e-766f-a928-1dfe02ec9421
019f2029-676e-7792-9b97-20817bd8d145
019f2029-676e-78de-b28c-8ca225e9585d
019f2029-676e-79f8-8c66-55e7a779c135
019f2029-676e-7b13-aaab-e1dad56511ee
019f2029-676e-7c29-842b-8af949fe9b77
019f2029-676e-7d44-b474-ecc32b9d9aa0

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)

1f175aa6-4d99-6da2-a048-4cf95d479851
1f175aa6-4d99-6f8c-a048-4cf95d479851
1f175aa6-4d9a-607c-a048-4cf95d479851
1f175aa6-4d9a-6144-a048-4cf95d479851
1f175aa6-4d9a-620c-a048-4cf95d479851
1f175aa6-4d9a-62d4-a048-4cf95d479851
1f175aa6-4d9a-6392-a048-4cf95d479851
1f175aa6-4d9a-6450-a048-4cf95d479851
1f175aa6-4d9a-650e-a048-4cf95d479851
1f175aa6-4d9a-65cc-a048-4cf95d479851
1f175aa6-4d9a-6716-a048-4cf95d479851
1f175aa6-4d9a-67de-a048-4cf95d479851
1f175aa6-4d9a-689c-a048-4cf95d479851
1f175aa6-4d9a-6964-a048-4cf95d479851
1f175aa6-4d9a-6a22-a048-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)

64d9aaf4-75aa-11f1-a048-4cf95d479851
64d9ab58-75aa-11f1-a048-4cf95d479851
64d9abb2-75aa-11f1-a048-4cf95d479851
64d9ac16-75aa-11f1-a048-4cf95d479851
64d9ac70-75aa-11f1-a048-4cf95d479851
64d9acd4-75aa-11f1-a048-4cf95d479851
64d9ad38-75aa-11f1-a048-4cf95d479851
64d9ad92-75aa-11f1-a048-4cf95d479851
64d9adec-75aa-11f1-a048-4cf95d479851
64d9ae50-75aa-11f1-a048-4cf95d479851
64d9aeaa-75aa-11f1-a048-4cf95d479851
64d9af0e-75aa-11f1-a048-4cf95d479851
64d9af72-75aa-11f1-a048-4cf95d479851
64d9afd6-75aa-11f1-a048-4cf95d479851
64d9b026-75aa-11f1-a048-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)

b3d7350c-0b00-870b-87ea-5ce32bd83b97
9c42360c-0b00-870b-87ea-5ce32bd83b97
7737370c-0b00-870b-87ea-5ce32bd83b97
e8e8380c-0b00-870b-87ea-5ce32bd83b97
ed34390c-0b00-870b-87ea-5ce32bd83b97
46033a0c-0b00-870b-87ea-5ce32bd83b97
ce3c3b0c-0b00-870b-87ea-5ce32bd83b97
dd4d3c0c-0b00-870b-87ea-5ce32bd83b97
f3db3d0c-0b00-870b-87ea-5ce32bd83b97
76403e0c-0b00-870b-87ea-5ce32bd83b97
9e943f0c-0b00-870b-87ea-5ce32bd83b97
3206400c-0b00-870b-87ea-5ce32bd83b97
1eb3410c-0b00-870b-87ea-5ce32bd83b97
5143420c-0b00-870b-87ea-5ce32bd83b97
0e09430c-0b00-870b-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)

8afdcae1-48e9-4524-be91-2ab78e3fcab1
223f0db6-fd54-4860-b23d-1817aca42b91
4449bb18-3e87-4e88-8592-e9035915ca1c
60c0f0d7-d71a-45a4-90ea-4815b0ec0ff6
b3b7219c-dd1f-4185-9922-e81d55ef8e1f
643f29fa-d386-40ca-86b5-12c1e410b8c4
9dfa4daf-6d2e-43a7-81a5-a72f22fb051d
a548566b-9bda-478a-b382-cde513db3145
09bb5ac8-50b6-40e8-863a-97b12d61e8eb
f77ffb7d-8c2b-41b0-8063-fd9fc021cec1
e125ee48-1713-4e52-87c3-942477eb647b
93424ef9-4f6f-4096-95cd-3a34cdc08879
329b5030-fbd3-4d30-a790-adedd95ea0b9
64b0ce4f-169e-4e47-84ce-10dbc85e9992
47260c72-7f31-471c-9eff-0e3b487907ed

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: