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)

019f600e-db3a-75cb-a3b5-100fc8ccea00
019f600e-db3a-781d-b206-933f6d3dafc2
019f600e-db3a-795d-8f32-e3f274c05d02
019f600e-db3a-7a77-8b84-269a685b08ba
019f600e-db3a-7b8a-b7ff-20ebb66c26f6
019f600e-db3a-7c9c-9404-5ed36cfa8dea
019f600e-db3a-7dbb-83b3-f8a3c96811c9
019f600e-db3a-7ed1-b4f6-cffc6046d038
019f600e-db3a-7fe4-83b1-f28a0d137cec
019f600e-db3b-70f6-9d62-40384de61371
019f600e-db3b-720d-b2da-9ecddb821998
019f600e-db3b-731f-a5fb-0ff658f377a1
019f600e-db3b-7432-8e49-6727622f0c13
019f600e-db3b-7544-acda-6afc63fec024
019f600e-db3b-7657-aaf1-6c4015eba206

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)

1f17f6a5-7d50-669a-951b-4cf95d479851
1f17f6a5-7d50-6866-951b-4cf95d479851
1f17f6a5-7d50-6956-951b-4cf95d479851
1f17f6a5-7d50-6a28-951b-4cf95d479851
1f17f6a5-7d50-6afa-951b-4cf95d479851
1f17f6a5-7d50-6bb8-951b-4cf95d479851
1f17f6a5-7d50-6c80-951b-4cf95d479851
1f17f6a5-7d50-6d3e-951b-4cf95d479851
1f17f6a5-7d50-6dfc-951b-4cf95d479851
1f17f6a5-7d50-6ec4-951b-4cf95d479851
1f17f6a5-7d51-6004-951b-4cf95d479851
1f17f6a5-7d51-60cc-951b-4cf95d479851
1f17f6a5-7d51-618a-951b-4cf95d479851
1f17f6a5-7d51-6248-951b-4cf95d479851
1f17f6a5-7d51-6310-951b-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)

57d513f6-7f6a-11f1-951b-4cf95d479851
57d5145a-7f6a-11f1-951b-4cf95d479851
57d514d2-7f6a-11f1-951b-4cf95d479851
57d51540-7f6a-11f1-951b-4cf95d479851
57d515a4-7f6a-11f1-951b-4cf95d479851
57d51608-7f6a-11f1-951b-4cf95d479851
57d51676-7f6a-11f1-951b-4cf95d479851
57d516da-7f6a-11f1-951b-4cf95d479851
57d5173e-7f6a-11f1-951b-4cf95d479851
57d517ac-7f6a-11f1-951b-4cf95d479851
57d51824-7f6a-11f1-951b-4cf95d479851
57d51888-7f6a-11f1-951b-4cf95d479851
57d518ec-7f6a-11f1-951b-4cf95d479851
57d51950-7f6a-11f1-951b-4cf95d479851
57d519b4-7f6a-11f1-951b-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)

d63d3436-5502-830c-87ea-5ce32bd83b97
1ffc3536-5502-830c-87ea-5ce32bd83b97
74fd3636-5502-830c-87ea-5ce32bd83b97
d72a3736-5502-830c-87ea-5ce32bd83b97
e5e83836-5502-830c-87ea-5ce32bd83b97
68333936-5502-830c-87ea-5ce32bd83b97
52783a36-5502-830c-87ea-5ce32bd83b97
01a93b36-5502-830c-87ea-5ce32bd83b97
05ac3c36-5502-830c-87ea-5ce32bd83b97
e8d83d36-5502-830c-87ea-5ce32bd83b97
2a063e36-5502-830c-87ea-5ce32bd83b97
d06f3f36-5502-830c-87ea-5ce32bd83b97
4ed84136-5502-830c-87ea-5ce32bd83b97
4d234236-5502-830c-87ea-5ce32bd83b97
0a174336-5502-830c-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)

18650793-895d-4d6f-b9e6-f3992388a539
7bda16a7-43e3-4a86-b5a5-8260699cf6e7
ccdf874f-d066-4a5c-9af0-744cd6754713
3f321c07-bfb5-4334-8c6e-1aad1bdd46b5
37b586b0-b82a-4245-bcf5-5e50b6c0ba49
45570c72-c0b4-4f36-ab06-994d15cecddf
5a560c83-9403-4f97-b2bf-c76fb584e8e7
aa42ba6c-2771-4d53-84d0-1ea75601b61a
4449cb34-e1dc-466b-8fe4-09125ed2514b
7a4fe8da-137f-4da9-b760-1c73183c0f77
96d10511-6314-49c5-824a-0d6fbab985b2
2c2d3560-99ef-4958-a2af-c138a8b96a71
9e05f0c7-abc0-43d8-94ba-20771cb54d06
ddb16933-7f29-4645-9b4c-c8564d66ee46
509697a4-0dc6-4ecf-ba53-2e2044ca80b9

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: