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)

019f206b-1d02-785f-b1a2-668840ea854e
019f206b-1d02-7a90-bb4d-953ef4c95fdc
019f206b-1d02-7bd3-9118-9fe42300e73d
019f206b-1d02-7cf2-8056-88723dbef980
019f206b-1d02-7e09-bb6f-82b54202dc1c
019f206b-1d02-7f1f-ab18-933c0250bc09
019f206b-1d03-7036-9beb-32dcd1026a8d
019f206b-1d03-714c-ad1a-074908da55ad
019f206b-1d03-7263-b4f2-025fafdbb98c
019f206b-1d03-7375-86c6-63f5829d9aaf
019f206b-1d03-7488-aa6e-3b475251a236
019f206b-1d03-759e-8936-3f6a8ab7eea3
019f206b-1d03-76b1-9740-9c8b0d51252b
019f206b-1d03-77c7-979a-1d2929113b2f
019f206b-1d03-7954-bbc9-5eab160179af

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)

1f175b46-b9ea-615a-b536-4cf95d479851
1f175b46-b9ea-636c-b536-4cf95d479851
1f175b46-b9ea-645c-b536-4cf95d479851
1f175b46-b9ea-652e-b536-4cf95d479851
1f175b46-b9ea-6600-b536-4cf95d479851
1f175b46-b9ea-66be-b536-4cf95d479851
1f175b46-b9ea-6786-b536-4cf95d479851
1f175b46-b9ea-6844-b536-4cf95d479851
1f175b46-b9ea-6902-b536-4cf95d479851
1f175b46-b9ea-69ca-b536-4cf95d479851
1f175b46-b9ea-6b32-b536-4cf95d479851
1f175b46-b9ea-6c04-b536-4cf95d479851
1f175b46-b9ea-6cc2-b536-4cf95d479851
1f175b46-b9ea-6d80-b536-4cf95d479851
1f175b46-b9ea-6e3e-b536-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)

6b9eaf24-75b4-11f1-b536-4cf95d479851
6b9eaf92-75b4-11f1-b536-4cf95d479851
6b9eb000-75b4-11f1-b536-4cf95d479851
6b9eb064-75b4-11f1-b536-4cf95d479851
6b9eb0c8-75b4-11f1-b536-4cf95d479851
6b9eb136-75b4-11f1-b536-4cf95d479851
6b9eb1a4-75b4-11f1-b536-4cf95d479851
6b9eb208-75b4-11f1-b536-4cf95d479851
6b9eb262-75b4-11f1-b536-4cf95d479851
6b9eb2bc-75b4-11f1-b536-4cf95d479851
6b9eb32a-75b4-11f1-b536-4cf95d479851
6b9eb384-75b4-11f1-b536-4cf95d479851
6b9eb3e8-75b4-11f1-b536-4cf95d479851
6b9eb456-75b4-11f1-b536-4cf95d479851
6b9eb4ba-75b4-11f1-b536-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)

7203883a-5200-870b-87ea-5ce32bd83b97
623d893a-5200-870b-87ea-5ce32bd83b97
5daf8a3a-5200-870b-87ea-5ce32bd83b97
425a8b3a-5200-870b-87ea-5ce32bd83b97
10428c3a-5200-870b-87ea-5ce32bd83b97
cab78d3a-5200-870b-87ea-5ce32bd83b97
ca168e3a-5200-870b-87ea-5ce32bd83b97
5f208f3a-5200-870b-87ea-5ce32bd83b97
6725903a-5200-870b-87ea-5ce32bd83b97
6d44913a-5200-870b-87ea-5ce32bd83b97
5482923a-5200-870b-87ea-5ce32bd83b97
1c25933a-5200-870b-87ea-5ce32bd83b97
c00b943a-5200-870b-87ea-5ce32bd83b97
8ea7953a-5200-870b-87ea-5ce32bd83b97
0c69963a-5200-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)

2ee509a9-c44d-4703-8a1a-db1df5310796
95d4e79f-2fdb-45b2-b5e8-1befb88d737c
4b60c644-fbb9-4bcd-8a59-124daa0ca077
6fd9c1b0-8e45-4d9b-991c-f10f3390529b
d6249a53-8859-4aff-94de-af462b08d189
66e4ddf4-dbb5-43ff-a521-b39817c310ac
44be2844-24c5-44a9-9d9d-456b1a400bc3
d725501a-adcd-4c64-9fe7-5df12155d667
ba6804c9-c80f-418f-9d17-24d9a44b2fdb
18b3c76c-23a3-4aa2-b33c-255c65f36ef0
e574bd30-007e-471b-97d2-fabac534e510
db744402-e29d-4417-9a84-506e6600754d
e0409ff1-9c63-4eec-a679-2f6b91df679e
e9cf6b15-6bcc-41f8-94d8-b9c9c6b7e41c
340e5f58-4e1c-4793-93f6-a54c4a50c4fe

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: