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)

019b99bf-124e-7a73-9148-ea0cba61d242
019b99bf-124e-7c2e-b2a8-fed4ce80eda8
019b99bf-124e-7d71-8298-bdccf4238d48
019b99bf-124e-7e98-97e4-d1fdeee9d703
019b99bf-124e-7fb3-b4cd-87c99ccbaff4
019b99bf-124f-70cd-935f-bb56c8932f89
019b99bf-124f-71e8-bf3a-84212e421235
019b99bf-124f-7303-88e5-7c70eb4aa9a1
019b99bf-124f-741d-b220-d4545026c88b
019b99bf-124f-7538-939c-f14ccc06950d
019b99bf-124f-7657-9f14-b40b81674e72
019b99bf-124f-7771-83b5-7e0e7504fdb6
019b99bf-124f-788c-be7e-38cf64db42e3
019b99bf-124f-79a2-af62-08898f135d27
019b99bf-124f-7abd-921d-0f19f3e2e893

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)

1f0ebf7c-b3c8-6e02-a6f1-4cf95d479851
1f0ebf7c-b3c8-6fce-a6f1-4cf95d479851
1f0ebf7c-b3c9-60c8-a6f1-4cf95d479851
1f0ebf7c-b3c9-61a4-a6f1-4cf95d479851
1f0ebf7c-b3c9-6280-a6f1-4cf95d479851
1f0ebf7c-b3c9-6352-a6f1-4cf95d479851
1f0ebf7c-b3c9-642e-a6f1-4cf95d479851
1f0ebf7c-b3c9-650a-a6f1-4cf95d479851
1f0ebf7c-b3c9-65dc-a6f1-4cf95d479851
1f0ebf7c-b3c9-66b8-a6f1-4cf95d479851
1f0ebf7c-b3c9-6834-a6f1-4cf95d479851
1f0ebf7c-b3c9-691a-a6f1-4cf95d479851
1f0ebf7c-b3c9-69e2-a6f1-4cf95d479851
1f0ebf7c-b3c9-6ab4-a6f1-4cf95d479851
1f0ebf7c-b3c9-6b7c-a6f1-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)

ef641a36-253e-49be-8a8a-8f68bb22a909
cffbe94b-d383-4362-9aa5-0c5bc4b04fc0
ea2a4501-9096-451e-8f8e-d2a73a424baa
ea1739e2-07f9-471c-b9d4-a91a94d1def9
328a69c1-970a-4605-bb9a-9daf70c2937c
aae44aba-7cd7-47d4-8dc0-139bd092a680
e4486624-ac3f-434f-b477-9c139e3d9e1a
c68048f5-da18-4498-a08e-8b63f379f687
e97fe456-83ca-4cce-bab6-27aaa3ecaf5f
476f8336-7c09-4129-9880-966be0d923c3
5eb82150-3363-4789-bc61-2360a6ee16b4
4eb7ca74-70a9-4e2f-b18e-cc0a57047cc0
1a260c72-a25b-480c-a52e-5dfa40c666ba
d8ea7116-1049-40c6-96a6-c5c197865d9e
b9350174-9073-4c6e-925c-fdb6355ba262

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)

cb3ca0a4-ebf7-11f0-a6f1-4cf95d479851
cb3ca112-ebf7-11f0-a6f1-4cf95d479851
cb3ca176-ebf7-11f0-a6f1-4cf95d479851
cb3ca1da-ebf7-11f0-a6f1-4cf95d479851
cb3ca23e-ebf7-11f0-a6f1-4cf95d479851
cb3ca298-ebf7-11f0-a6f1-4cf95d479851
cb3ca2f2-ebf7-11f0-a6f1-4cf95d479851
cb3ca356-ebf7-11f0-a6f1-4cf95d479851
cb3ca3ba-ebf7-11f0-a6f1-4cf95d479851
cb3ca414-ebf7-11f0-a6f1-4cf95d479851
cb3ca478-ebf7-11f0-a6f1-4cf95d479851
cb3ca4dc-ebf7-11f0-a6f1-4cf95d479851
cb3ca540-ebf7-11f0-a6f1-4cf95d479851
cb3ca5ae-ebf7-11f0-a6f1-4cf95d479851
cb3ca61c-ebf7-11f0-a6f1-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)

1486c422-5d04-8700-87ea-5ce32bd83b97
2929c522-5d04-8700-87ea-5ce32bd83b97
9164c622-5d04-8700-87ea-5ce32bd83b97
0a5ec722-5d04-8700-87ea-5ce32bd83b97
cb9fc822-5d04-8700-87ea-5ce32bd83b97
54ffc922-5d04-8700-87ea-5ce32bd83b97
a0b9ca22-5d04-8700-87ea-5ce32bd83b97
eb51cb22-5d04-8700-87ea-5ce32bd83b97
f7afcc22-5d04-8700-87ea-5ce32bd83b97
31c2cd22-5d04-8700-87ea-5ce32bd83b97
61c6cf22-5d04-8700-87ea-5ce32bd83b97
e8c5d022-5d04-8700-87ea-5ce32bd83b97
f57fd122-5d04-8700-87ea-5ce32bd83b97
6949d222-5d04-8700-87ea-5ce32bd83b97
09c7d322-5d04-8700-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: