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)

01a15f5b-68d7-7baf-a0ac-2e7d898b7d8c
01a15f5b-68d7-7d65-a87e-925810ab2268
01a15f5b-68d7-7ea0-903c-a17239e9198b
01a15f5b-68d7-7fbb-b3ea-210137537d16
01a15f5b-68d8-70d1-a1c5-3f8323e502b2
01a15f5b-68d8-71e8-b759-4022aae4f931
01a15f5b-68d8-72fe-9421-2afab7033c88
01a15f5b-68d8-7411-b67a-8a738b0865bf
01a15f5b-68d8-7523-97a6-dec519fdaef1
01a15f5b-68d8-7636-85bb-cd9e73f86b52
01a15f5b-68d8-7748-8176-d4a60f00a45d
01a15f5b-68d8-785f-985a-a1b9d232d3a8
01a15f5b-68d8-7971-8d18-c0bede37e094
01a15f5b-68d8-7a84-a7b5-899b8f14721a
01a15f5b-68d8-7ba2-8749-412ed9e51fa5

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)

1f1cd6ef-630d-660a-b89a-4cf95d479851
1f1cd6ef-630d-67e0-b89a-4cf95d479851
1f1cd6ef-630d-68d0-b89a-4cf95d479851
1f1cd6ef-630d-69a2-b89a-4cf95d479851
1f1cd6ef-630d-6a74-b89a-4cf95d479851
1f1cd6ef-630d-6b46-b89a-4cf95d479851
1f1cd6ef-630d-6c0e-b89a-4cf95d479851
1f1cd6ef-630d-6cd6-b89a-4cf95d479851
1f1cd6ef-630d-6d9e-b89a-4cf95d479851
1f1cd6ef-630d-6e66-b89a-4cf95d479851
1f1cd6ef-630d-6ff6-b89a-4cf95d479851
1f1cd6ef-630e-6172-b89a-4cf95d479851
1f1cd6ef-630e-628a-b89a-4cf95d479851
1f1cd6ef-630e-6352-b89a-4cf95d479851
1f1cd6ef-630e-6410-b89a-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)

f630e4ec-cd6e-11f1-b89a-4cf95d479851
f630e550-cd6e-11f1-b89a-4cf95d479851
f630e64a-cd6e-11f1-b89a-4cf95d479851
f630e6ae-cd6e-11f1-b89a-4cf95d479851
f630e71c-cd6e-11f1-b89a-4cf95d479851
f630e794-cd6e-11f1-b89a-4cf95d479851
f630e7f8-cd6e-11f1-b89a-4cf95d479851
f630e85c-cd6e-11f1-b89a-4cf95d479851
f630e8ca-cd6e-11f1-b89a-4cf95d479851
f630e92e-cd6e-11f1-b89a-4cf95d479851
f630e99c-cd6e-11f1-b89a-4cf95d479851
f630ea00-cd6e-11f1-b89a-4cf95d479851
f630ea6e-cd6e-11f1-b89a-4cf95d479851
f630eac8-cd6e-11f1-b89a-4cf95d479851
f630eb2c-cd6e-11f1-b89a-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)

7f30911c-ef03-8612-87ea-5ce32bd83b97
1c18921c-ef03-8612-87ea-5ce32bd83b97
9e80931c-ef03-8612-87ea-5ce32bd83b97
878d941c-ef03-8612-87ea-5ce32bd83b97
eade951c-ef03-8612-87ea-5ce32bd83b97
2815961c-ef03-8612-87ea-5ce32bd83b97
ace2971c-ef03-8612-87ea-5ce32bd83b97
3115991c-ef03-8612-87ea-5ce32bd83b97
86299a1c-ef03-8612-87ea-5ce32bd83b97
21989b1c-ef03-8612-87ea-5ce32bd83b97
34689c1c-ef03-8612-87ea-5ce32bd83b97
f3c79d1c-ef03-8612-87ea-5ce32bd83b97
bd549e1c-ef03-8612-87ea-5ce32bd83b97
29d19f1c-ef03-8612-87ea-5ce32bd83b97
6c3fa01c-ef03-8612-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)

ec304396-fbfc-4ac3-83df-0de615e11d64
5b1dbd06-78fa-4c8a-b648-b4be573443e8
591377a5-a458-4d8c-94dc-2b2a57f0f58d
c13746e8-ff4f-44e4-aabf-60174641c9fd
d433f3bb-288b-4e18-bf2b-13a42063e1ac
495d5d7a-1eca-4493-8ade-3ec3b43fb9b0
b47940e6-ea40-4e91-af13-ef628bcc9660
2243c49f-cf18-42d3-94bd-7f714c00bd35
8f0546d2-dc7f-4a60-b927-16259db49339
cf950057-28fc-4434-816a-89ec6dbf6b2a
d25e3ca5-2d82-4bf3-abbc-118dada2d867
ccab9e0d-87a6-4a86-8e04-269d90531e21
5ed57483-d7fb-46ad-a427-e2436aa44a6f
b74a1836-650c-4f79-a26d-1c188ec3da6d
3aed5818-646c-46ba-ba31-066b5462ce52

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: