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)

01a094ed-f7f2-7c4e-8e86-89dc31f46ccd
01a094ed-f7f2-7ddc-9e9d-2559aa5e21c6
01a094ed-f7f2-7f17-aa72-e554f5f216ba
01a094ed-f7f3-7032-a5f4-f8405a39357a
01a094ed-f7f3-714c-93a0-ec7c39eee489
01a094ed-f7f3-725f-8383-b9993f90ce16
01a094ed-f7f3-7375-945c-3b1543c118c5
01a094ed-f7f3-7488-b58a-5492339d819b
01a094ed-f7f3-759a-82d6-e4ad19f2818d
01a094ed-f7f3-76ad-a9cd-02493ba25494
01a094ed-f7f3-77bf-8ac5-98488c5d5379
01a094ed-f7f3-78d1-bdba-b704b8872177
01a094ed-f7f3-79e8-ba03-b7408cbe399f
01a094ed-f7f3-7afa-b567-4ce24e0d9142
01a094ed-f7f3-7c11-a3e0-eaa26c86628d

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)

1f1ae8ba-326e-655a-b879-4cf95d479851
1f1ae8ba-326e-66fe-b879-4cf95d479851
1f1ae8ba-326e-67e4-b879-4cf95d479851
1f1ae8ba-326e-68b6-b879-4cf95d479851
1f1ae8ba-326e-6974-b879-4cf95d479851
1f1ae8ba-326e-6a32-b879-4cf95d479851
1f1ae8ba-326e-6afa-b879-4cf95d479851
1f1ae8ba-326e-6bb8-b879-4cf95d479851
1f1ae8ba-326e-6c76-b879-4cf95d479851
1f1ae8ba-326e-6d34-b879-4cf95d479851
1f1ae8ba-326e-6e6a-b879-4cf95d479851
1f1ae8ba-326e-6f3c-b879-4cf95d479851
1f1ae8ba-326e-6ffa-b879-4cf95d479851
1f1ae8ba-326f-60ae-b879-4cf95d479851
1f1ae8ba-326f-6176-b879-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)

a326f248-ae8b-11f1-b879-4cf95d479851
a326f2b6-ae8b-11f1-b879-4cf95d479851
a326f31a-ae8b-11f1-b879-4cf95d479851
a326f37e-ae8b-11f1-b879-4cf95d479851
a326f3ec-ae8b-11f1-b879-4cf95d479851
a326f450-ae8b-11f1-b879-4cf95d479851
a326f4be-ae8b-11f1-b879-4cf95d479851
a326f518-ae8b-11f1-b879-4cf95d479851
a326f586-ae8b-11f1-b879-4cf95d479851
a326f5ea-ae8b-11f1-b879-4cf95d479851
a326f64e-ae8b-11f1-b879-4cf95d479851
a326f6b2-ae8b-11f1-b879-4cf95d479851
a326f720-ae8b-11f1-b879-4cf95d479851
a326f77a-ae8b-11f1-b879-4cf95d479851
a326f7de-ae8b-11f1-b879-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)

d25e9c26-3402-8f0f-87ea-5ce32bd83b97
4b6c9d26-3402-8f0f-87ea-5ce32bd83b97
f7ee9e26-3402-8f0f-87ea-5ce32bd83b97
25279f26-3402-8f0f-87ea-5ce32bd83b97
171fa026-3402-8f0f-87ea-5ce32bd83b97
c163a126-3402-8f0f-87ea-5ce32bd83b97
5c0ba226-3402-8f0f-87ea-5ce32bd83b97
31b5a326-3402-8f0f-87ea-5ce32bd83b97
f9e9a526-3402-8f0f-87ea-5ce32bd83b97
8735a626-3402-8f0f-87ea-5ce32bd83b97
b3aaa726-3402-8f0f-87ea-5ce32bd83b97
d834a826-3402-8f0f-87ea-5ce32bd83b97
2b79a926-3402-8f0f-87ea-5ce32bd83b97
f52caa26-3402-8f0f-87ea-5ce32bd83b97
f527ab26-3402-8f0f-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)

a56e3262-074e-44c2-94e2-754588b3bf8a
b87cfe80-bdf7-4bb8-ac11-215af6eb51a3
7a1e6c5a-ab73-4b56-a5a8-dddda0e2549a
ce2df21c-24e0-4bed-92bd-6eddeec57b11
c8a2b233-32b4-4b92-b9c1-d53cbfa96b1f
ee4bc0da-2d33-4f97-a683-d0387bdac024
a3b37b48-a467-4d27-8417-a455a3fac018
eb7002e0-8785-45c2-8e38-fe29fc93a3d8
04033e0a-d64e-4a3a-b314-1e24711dc940
09a4e07e-e6cf-4bb6-b44a-feac13fa196c
a942bc27-8a80-46e3-9932-5b47933e76b0
b3be19f7-1e06-4a24-a80a-4c6aed5b6356
5ab6d561-6484-4be2-8d50-0e4cc84050e1
111fb8d9-b6c4-4c92-a146-61ffa58223b7
e178de3d-0862-4a2f-ba0a-429bfa612c9d

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: