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)

019ef68d-7024-706b-be0f-e67c61322c77
019ef68d-7025-720d-871e-7d1ad1c3693c
019ef68d-7025-7354-b832-d8a9dfd7b059
019ef68d-7025-746f-831e-99bc3b346943
019ef68d-7025-7586-8421-b5b193771d2c
019ef68d-7025-769c-a3cf-c73d8c2bcfe3
019ef68d-7025-77b3-a9a6-8b0826d71537
019ef68d-7025-78c5-9238-15ef635575e4
019ef68d-7025-79dc-b1b4-51eef50c0a01
019ef68d-7025-7aee-9f10-16cea4e3da7a
019ef68d-7025-7c00-aaed-caa884b6490e
019ef68d-7025-7d13-ba9a-fb3fa6827f4f
019ef68d-7025-7e25-bf8c-b50b05b40a52
019ef68d-7025-7f3c-bd09-b6a2343b5bb4
019ef68d-7026-704e-bd06-d43992eaafb2

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)

1f16f510-86e1-626e-875b-4cf95d479851
1f16f510-86e1-643a-875b-4cf95d479851
1f16f510-86e1-6534-875b-4cf95d479851
1f16f510-86e1-661a-875b-4cf95d479851
1f16f510-86e1-66ec-875b-4cf95d479851
1f16f510-86e1-67be-875b-4cf95d479851
1f16f510-86e1-6890-875b-4cf95d479851
1f16f510-86e1-6962-875b-4cf95d479851
1f16f510-86e1-6a34-875b-4cf95d479851
1f16f510-86e1-6b06-875b-4cf95d479851
1f16f510-86e1-6c50-875b-4cf95d479851
1f16f510-86e1-6d2c-875b-4cf95d479851
1f16f510-86e1-6e08-875b-4cf95d479851
1f16f510-86e1-6eda-875b-4cf95d479851
1f16f510-86e2-6042-875b-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)

086e2132-6f51-11f1-875b-4cf95d479851
086e21a0-6f51-11f1-875b-4cf95d479851
086e220e-6f51-11f1-875b-4cf95d479851
086e227c-6f51-11f1-875b-4cf95d479851
086e22ea-6f51-11f1-875b-4cf95d479851
086e2358-6f51-11f1-875b-4cf95d479851
086e23c6-6f51-11f1-875b-4cf95d479851
086e242a-6f51-11f1-875b-4cf95d479851
086e248e-6f51-11f1-875b-4cf95d479851
086e24fc-6f51-11f1-875b-4cf95d479851
086e2560-6f51-11f1-875b-4cf95d479851
086e25ce-6f51-11f1-875b-4cf95d479851
086e263c-6f51-11f1-875b-4cf95d479851
086e26a0-6f51-11f1-875b-4cf95d479851
086e2704-6f51-11f1-875b-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)

d2b4f718-3805-8e0a-87ea-5ce32bd83b97
5ffdf818-3805-8e0a-87ea-5ce32bd83b97
530ff918-3805-8e0a-87ea-5ce32bd83b97
de22fa18-3805-8e0a-87ea-5ce32bd83b97
5e96fb18-3805-8e0a-87ea-5ce32bd83b97
fc06fc18-3805-8e0a-87ea-5ce32bd83b97
267dfd18-3805-8e0a-87ea-5ce32bd83b97
8561fe18-3805-8e0a-87ea-5ce32bd83b97
f65bff18-3805-8e0a-87ea-5ce32bd83b97
70e50119-3805-8e0a-87ea-5ce32bd83b97
ce6b0219-3805-8e0a-87ea-5ce32bd83b97
f3580319-3805-8e0a-87ea-5ce32bd83b97
ed580419-3805-8e0a-87ea-5ce32bd83b97
60250519-3805-8e0a-87ea-5ce32bd83b97
56140619-3805-8e0a-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)

a9a7e5d0-b3e1-45d4-8782-a57966a8679d
a6f5038d-9469-40e0-a602-a764612c2d6d
22cb4f08-eb8d-44ee-956d-a46404f1033e
0055df99-f826-4261-a06c-4cd6cab0e76d
4369ee78-6031-4608-9cb8-afd18aedb095
8147868f-e44c-4926-bf2b-6bef22dba2ab
97869dd7-0423-4f2b-a3ab-1e8d9a518447
e9b7f618-5922-42a3-895f-e458a21b8c1c
2057a69a-a48e-456a-a621-700e9183f271
65335640-7556-4797-a3be-7d42912a61c1
8ab5c4ef-3533-44aa-81a8-6950a273b139
56450aed-8470-4718-af81-be6bce7b7d99
d1791e55-f0d6-44b5-8414-11f78b4a50f4
109fba76-f8d5-444f-9f49-c5fc2aef684a
1ef78d0f-6365-4940-9065-ea0816e49b32

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: