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)

01a124c3-acaa-7442-a58e-9165c89b3d63
01a124c3-acaa-75cb-a6a7-6f72b3bc3a3a
01a124c3-acaa-7703-a1bc-a7b3a44ccc97
01a124c3-acaa-781d-be7d-be092f26e0e1
01a124c3-acaa-7930-a3b1-f8a33a4fca38
01a124c3-acaa-7a4e-bc3e-5ae39f2583a5
01a124c3-acaa-7b61-a6ae-5ce4f579bbd0
01a124c3-acaa-7c6f-869a-e2ac61af494a
01a124c3-acaa-7d82-9335-6f934abcd2d6
01a124c3-acaa-7e94-b245-300a81fb5936
01a124c3-acaa-7fa6-9c56-9809a081d78b
01a124c3-acab-70b9-a38c-ebb8c11b407b
01a124c3-acab-71cb-bba5-2a85c895788b
01a124c3-acab-72de-88c7-67819d8a4623
01a124c3-acab-73f0-8dbf-e6dedfe3f901

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)

1f1c47e2-f0a2-6624-8fbc-4cf95d479851
1f1c47e2-f0a2-67fa-8fbc-4cf95d479851
1f1c47e2-f0a2-68e0-8fbc-4cf95d479851
1f1c47e2-f0a2-69b2-8fbc-4cf95d479851
1f1c47e2-f0a2-6a7a-8fbc-4cf95d479851
1f1c47e2-f0a2-6b42-8fbc-4cf95d479851
1f1c47e2-f0a2-6c00-8fbc-4cf95d479851
1f1c47e2-f0a2-6cc8-8fbc-4cf95d479851
1f1c47e2-f0a2-6d90-8fbc-4cf95d479851
1f1c47e2-f0a2-6e4e-8fbc-4cf95d479851
1f1c47e2-f0a2-6fac-8fbc-4cf95d479851
1f1c47e2-f0a3-6074-8fbc-4cf95d479851
1f1c47e2-f0a3-6132-8fbc-4cf95d479851
1f1c47e2-f0a3-61fa-8fbc-4cf95d479851
1f1c47e2-f0a3-62c2-8fbc-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)

2f0a339e-c47e-11f1-8fbc-4cf95d479851
2f0a340c-c47e-11f1-8fbc-4cf95d479851
2f0a347a-c47e-11f1-8fbc-4cf95d479851
2f0a34de-c47e-11f1-8fbc-4cf95d479851
2f0a3542-c47e-11f1-8fbc-4cf95d479851
2f0a35a6-c47e-11f1-8fbc-4cf95d479851
2f0a3600-c47e-11f1-8fbc-4cf95d479851
2f0a3664-c47e-11f1-8fbc-4cf95d479851
2f0a36c8-c47e-11f1-8fbc-4cf95d479851
2f0a3722-c47e-11f1-8fbc-4cf95d479851
2f0a377c-c47e-11f1-8fbc-4cf95d479851
2f0a37e0-c47e-11f1-8fbc-4cf95d479851
2f0a3844-c47e-11f1-8fbc-4cf95d479851
2f0a389e-c47e-11f1-8fbc-4cf95d479851
2f0a38f8-c47e-11f1-8fbc-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)

988fee2d-cf01-8b11-87ea-5ce32bd83b97
867fef2d-cf01-8b11-87ea-5ce32bd83b97
5794f02d-cf01-8b11-87ea-5ce32bd83b97
5b5ff12d-cf01-8b11-87ea-5ce32bd83b97
e7e6f22d-cf01-8b11-87ea-5ce32bd83b97
44cff32d-cf01-8b11-87ea-5ce32bd83b97
2f4ff42d-cf01-8b11-87ea-5ce32bd83b97
7ec3f52d-cf01-8b11-87ea-5ce32bd83b97
68def62d-cf01-8b11-87ea-5ce32bd83b97
4e3ef72d-cf01-8b11-87ea-5ce32bd83b97
8128f82d-cf01-8b11-87ea-5ce32bd83b97
4e25f92d-cf01-8b11-87ea-5ce32bd83b97
765ffa2d-cf01-8b11-87ea-5ce32bd83b97
9847fb2d-cf01-8b11-87ea-5ce32bd83b97
9c93fc2d-cf01-8b11-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)

17bdd44a-b8d8-4377-af7b-d3a379270ab8
e60ae78d-d745-4a90-a2c0-f96a27726f29
287ae322-55b7-4ab6-bb8c-5c3e753aa51f
e9d81d7c-7875-4167-9e43-fff55f0b73a2
e24ac4fa-5e19-46da-8d46-1445563253a1
ef8546f9-66c7-4b62-8956-4dbef4b552cf
7d7fdf25-5a2f-4f25-a7b6-5b8849fa5f28
a08fc43a-db7b-4d4f-bf3c-e5c46c1db1f9
616fc63d-07d9-42ee-a1d5-58dc5abc78c7
6954ed94-c894-4ce1-8796-3afa4c98d28b
90974ba5-4d26-4316-930b-fc3c195ad77a
0c5316f6-fe14-45e8-a852-27604cee0ef4
bfa36fe2-bcd0-4de2-9067-cf2ade1a5879
b49c1276-f8ce-472c-8652-39de672a4139
501b43f3-8b84-4fcc-a505-58e0f90025f0

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: