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)

019c6bff-6b11-77af-bf4b-610feb7b4d76
019c6bff-6b11-794c-8f54-c538400e75e9
019c6bff-6b11-7a8c-8793-6061a46c12d9
019c6bff-6b11-7baf-9354-a4ff39d22245
019c6bff-6b11-7ccd-a3a3-6a6b4d012a1d
019c6bff-6b11-7de8-91ff-95ea9ae1cca3
019c6bff-6b11-7f03-88e3-0e22d986df2d
019c6bff-6b12-701d-b1bf-12799ad974c8
019c6bff-6b12-7138-996d-17497022c90a
019c6bff-6b12-7257-b3ac-cb44e6fdddb7
019c6bff-6b12-7371-bc32-b64b020a023e
019c6bff-6b12-748c-8aed-94a5f7fcba25
019c6bff-6b12-75a6-98d1-c82a4619ad33
019c6bff-6b12-76c1-9596-a61d937ac034
019c6bff-6b12-77dc-9337-d74d986c1689

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)

1f10c0cb-cc7c-665e-a820-4cf95d479851
1f10c0cb-cc7c-67ee-a820-4cf95d479851
1f10c0cb-cc7c-68d4-a820-4cf95d479851
1f10c0cb-cc7c-69a6-a820-4cf95d479851
1f10c0cb-cc7c-6a64-a820-4cf95d479851
1f10c0cb-cc7c-6b2c-a820-4cf95d479851
1f10c0cb-cc7c-6bea-a820-4cf95d479851
1f10c0cb-cc7c-6ca8-a820-4cf95d479851
1f10c0cb-cc7c-6d70-a820-4cf95d479851
1f10c0cb-cc7c-6e2e-a820-4cf95d479851
1f10c0cb-cc7c-6fa0-a820-4cf95d479851
1f10c0cb-cc7d-6068-a820-4cf95d479851
1f10c0cb-cc7d-6126-a820-4cf95d479851
1f10c0cb-cc7d-61ee-a820-4cf95d479851
1f10c0cb-cc7d-62ac-a820-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)

85687e13-9a74-47b9-8956-378434099a95
06b133eb-2638-4906-acb4-104d11cac450
5e41940a-38dc-4ab4-b2b4-0bce54b57345
123aba22-c3f3-417f-87d1-2cd5c0bcf97a
1f2169be-ef87-4f75-a57e-d79ff5968fbd
18f7b130-5283-4ca0-832d-9ea9b3e5bf1b
7b3e397d-c570-47d7-a0d5-09015a2f9bcf
9eb07731-256b-484c-b885-61dd597d066d
66f5667f-8f9c-4852-8ef3-5c99447199b1
92de740f-c550-4c91-8129-b5e9c9a9a859
24c9e97f-20a3-44df-8834-2ddc2dce68c4
48b5d7ff-ee26-4457-854f-42d51e0d06ec
13d99fa2-12b3-4ce9-9730-9e917f5046b2
44d994b7-e0a7-4c81-93b3-36ecbf41aa32
e20c9684-3ece-4ef8-9f8e-7fe11618ab02

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)

bcc7d7ca-0c0c-11f1-a820-4cf95d479851
bcc7d838-0c0c-11f1-a820-4cf95d479851
bcc7d8a6-0c0c-11f1-a820-4cf95d479851
bcc7d90a-0c0c-11f1-a820-4cf95d479851
bcc7d96e-0c0c-11f1-a820-4cf95d479851
bcc7d9d2-0c0c-11f1-a820-4cf95d479851
bcc7da36-0c0c-11f1-a820-4cf95d479851
bcc7da90-0c0c-11f1-a820-4cf95d479851
bcc7dafe-0c0c-11f1-a820-4cf95d479851
bcc7db58-0c0c-11f1-a820-4cf95d479851
bcc7dbbc-0c0c-11f1-a820-4cf95d479851
bcc7dc20-0c0c-11f1-a820-4cf95d479851
bcc7dc84-0c0c-11f1-a820-4cf95d479851
bcc7dcde-0c0c-11f1-a820-4cf95d479851
bcc7dd42-0c0c-11f1-a820-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)

7d612807-6403-8003-87ea-5ce32bd83b97
09372907-6403-8003-87ea-5ce32bd83b97
65ee2a07-6403-8003-87ea-5ce32bd83b97
86422b07-6403-8003-87ea-5ce32bd83b97
c0262c07-6403-8003-87ea-5ce32bd83b97
fd732d07-6403-8003-87ea-5ce32bd83b97
9f322e07-6403-8003-87ea-5ce32bd83b97
1ea62f07-6403-8003-87ea-5ce32bd83b97
a62b3007-6403-8003-87ea-5ce32bd83b97
95913107-6403-8003-87ea-5ce32bd83b97
feff3207-6403-8003-87ea-5ce32bd83b97
c46f3307-6403-8003-87ea-5ce32bd83b97
65393407-6403-8003-87ea-5ce32bd83b97
84d33507-6403-8003-87ea-5ce32bd83b97
0a5e3607-6403-8003-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: