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)

019f7f7e-18ad-7042-94d8-a70c7c1a4fb7
019f7f7e-18ae-71fc-b0c7-1e17cc34e7b4
019f7f7e-18ae-7344-b26b-6c3234c5320b
019f7f7e-18ae-746f-9bec-312f302532bb
019f7f7e-18ae-7596-ae23-beb0c5b27e27
019f7f7e-18ae-76b5-84f2-bb7999afa446
019f7f7e-18ae-77f8-99a0-132148014950
019f7f7e-18ae-791f-bd16-9973a137e522
019f7f7e-18ae-7a46-9941-4ff14456547b
019f7f7e-18ae-7b6d-b21b-67aaf98b87c5
019f7f7e-18ae-7c90-ba70-0c284d113304
019f7f7e-18ae-7db3-b296-833033254126
019f7f7e-18ae-7ed1-b4d1-ff1209536d88
019f7f7e-18ae-7ff0-8064-58e9e4008126
019f7f7e-18af-7113-8525-a057221cd723

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)

1f184364-1257-6a94-81e1-4cf95d479851
1f184364-1257-6c38-81e1-4cf95d479851
1f184364-1257-6d1e-81e1-4cf95d479851
1f184364-1257-6de6-81e1-4cf95d479851
1f184364-1257-6eae-81e1-4cf95d479851
1f184364-1257-6f6c-81e1-4cf95d479851
1f184364-1258-6034-81e1-4cf95d479851
1f184364-1258-60f2-81e1-4cf95d479851
1f184364-1258-61b0-81e1-4cf95d479851
1f184364-1258-626e-81e1-4cf95d479851
1f184364-1258-63d6-81e1-4cf95d479851
1f184364-1258-64a8-81e1-4cf95d479851
1f184364-1258-6566-81e1-4cf95d479851
1f184364-1258-6624-81e1-4cf95d479851
1f184364-1258-66e2-81e1-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)

412587be-8436-11f1-81e1-4cf95d479851
4125882c-8436-11f1-81e1-4cf95d479851
41258890-8436-11f1-81e1-4cf95d479851
412588f4-8436-11f1-81e1-4cf95d479851
41258958-8436-11f1-81e1-4cf95d479851
412589b2-8436-11f1-81e1-4cf95d479851
41258a20-8436-11f1-81e1-4cf95d479851
41258a84-8436-11f1-81e1-4cf95d479851
41258ae8-8436-11f1-81e1-4cf95d479851
41258b4c-8436-11f1-81e1-4cf95d479851
41258bb0-8436-11f1-81e1-4cf95d479851
41258c14-8436-11f1-81e1-4cf95d479851
41258c82-8436-11f1-81e1-4cf95d479851
41258cf0-8436-11f1-81e1-4cf95d479851
41258d54-8436-11f1-81e1-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)

eeba2026-eb02-890c-87ea-5ce32bd83b97
c5c22126-eb02-890c-87ea-5ce32bd83b97
a5152226-eb02-890c-87ea-5ce32bd83b97
c7c42426-eb02-890c-87ea-5ce32bd83b97
db7d2526-eb02-890c-87ea-5ce32bd83b97
ba2b2626-eb02-890c-87ea-5ce32bd83b97
46b12726-eb02-890c-87ea-5ce32bd83b97
edc82826-eb02-890c-87ea-5ce32bd83b97
58492926-eb02-890c-87ea-5ce32bd83b97
c9ce2a26-eb02-890c-87ea-5ce32bd83b97
93602b26-eb02-890c-87ea-5ce32bd83b97
45b42c26-eb02-890c-87ea-5ce32bd83b97
7e612d26-eb02-890c-87ea-5ce32bd83b97
b93f2e26-eb02-890c-87ea-5ce32bd83b97
0e862f26-eb02-890c-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)

19ecc781-6a4d-44fa-ab21-88d77d9a8d2a
7d7a4203-1f3d-4e22-b28c-0d05fa322467
e66e9c7b-e606-493f-8594-c02a7c149467
ec263e0e-e30f-4dc2-a5a4-432f7bbaa853
c6baaa3c-1285-4c66-885a-a54bffe1e443
d04d4a29-b15e-4a90-9748-6fa0d8b65486
3dd58637-fb23-4f6e-a200-25cd4ba3a645
1bc788f5-78dc-4b5b-a222-a099313969cb
333177a8-7029-49a4-8f59-ec20fd8484ac
a52b595e-7470-41f3-a8a6-340346c90b67
ae89acb5-ee3e-48cf-a5e4-410ad4524b49
2f8ac13b-7b0b-45b7-abb1-d876716d64cc
28a599f3-1277-4dae-90f8-cd7182be8bda
c87a5410-0398-433e-829b-592c1c4f77a2
7ab80fc1-3b92-4e7b-9736-60ead65811ce

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: