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)

01a0d678-4b32-7eea-a2e3-1949fe37e1c3
01a0d678-4b33-70ea-bb52-42d929a66d42
01a0d678-4b33-7232-aa91-d981932ec14b
01a0d678-4b33-7354-a7b9-35d6ecaaa06f
01a0d678-4b33-746b-94a2-0b3dadac109d
01a0d678-4b33-7586-97a1-259de02e4118
01a0d678-4b33-769c-a267-193b78e019c6
01a0d678-4b33-77b3-bf6e-0d951d13d0d6
01a0d678-4b33-78cd-8608-7e4a70a397a2
01a0d678-4b33-79e8-b3a7-636dc794eff1
01a0d678-4b33-7b03-89f2-307c1745c7ba
01a0d678-4b33-7c19-a4cc-3aa14f2e65f9
01a0d678-4b33-7d30-aca4-cf8dba5715c2
01a0d678-4b33-7e46-a0b3-afd3c38b5c37
01a0d678-4b33-7f5d-9789-d0ba3119ae3c

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)

1f1b88bc-f276-6940-bb5d-4cf95d479851
1f1b88bc-f276-6d3c-bb5d-4cf95d479851
1f1b88bc-f276-6e68-bb5d-4cf95d479851
1f1b88bc-f276-6f44-bb5d-4cf95d479851
1f1b88bc-f277-600c-bb5d-4cf95d479851
1f1b88bc-f277-60ca-bb5d-4cf95d479851
1f1b88bc-f277-6188-bb5d-4cf95d479851
1f1b88bc-f277-6246-bb5d-4cf95d479851
1f1b88bc-f277-6304-bb5d-4cf95d479851
1f1b88bc-f277-63cc-bb5d-4cf95d479851
1f1b88bc-f277-6520-bb5d-4cf95d479851
1f1b88bc-f277-65e8-bb5d-4cf95d479851
1f1b88bc-f277-66b0-bb5d-4cf95d479851
1f1b88bc-f277-676e-bb5d-4cf95d479851
1f1b88bc-f277-682c-bb5d-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)

cf27791c-b88b-11f1-bb5d-4cf95d479851
cf277980-b88b-11f1-bb5d-4cf95d479851
cf2779e4-b88b-11f1-bb5d-4cf95d479851
cf277a3e-b88b-11f1-bb5d-4cf95d479851
cf277a98-b88b-11f1-bb5d-4cf95d479851
cf277afc-b88b-11f1-bb5d-4cf95d479851
cf277b56-b88b-11f1-bb5d-4cf95d479851
cf277bc4-b88b-11f1-bb5d-4cf95d479851
cf277c28-b88b-11f1-bb5d-4cf95d479851
cf277c96-b88b-11f1-bb5d-4cf95d479851
cf277cfa-b88b-11f1-bb5d-4cf95d479851
cf277d68-b88b-11f1-bb5d-4cf95d479851
cf277dd6-b88b-11f1-bb5d-4cf95d479851
cf277e3a-b88b-11f1-bb5d-4cf95d479851
cf277e9e-b88b-11f1-bb5d-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)

58411004-ab00-8c10-87ea-5ce32bd83b97
00691104-ab00-8c10-87ea-5ce32bd83b97
0a701204-ab00-8c10-87ea-5ce32bd83b97
9e1c1304-ab00-8c10-87ea-5ce32bd83b97
e1951404-ab00-8c10-87ea-5ce32bd83b97
20a81504-ab00-8c10-87ea-5ce32bd83b97
4bbd1604-ab00-8c10-87ea-5ce32bd83b97
c3911704-ab00-8c10-87ea-5ce32bd83b97
35631904-ab00-8c10-87ea-5ce32bd83b97
45ec1a04-ab00-8c10-87ea-5ce32bd83b97
de1b1b04-ab00-8c10-87ea-5ce32bd83b97
78931c04-ab00-8c10-87ea-5ce32bd83b97
20d51d04-ab00-8c10-87ea-5ce32bd83b97
3f141e04-ab00-8c10-87ea-5ce32bd83b97
14fe1f04-ab00-8c10-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)

45b0e67f-f0a1-4088-9b22-b030aa2294ba
02da8793-d9a5-4808-a1b5-e4af781fa86e
287fba4a-47c8-4ff4-93b5-1659371a811a
54d54043-a5f0-4f57-ae4b-c601d9f56d79
219bf439-dfd6-44a6-8cfc-a9402af1d705
7950e1b5-5982-42d4-8d71-3eea8f2beb1c
d511631a-77d8-4ccb-8d41-7e4bad56e382
c3f3d72a-35a6-41b0-a166-be73c633519a
e1e1d4a9-a90e-430b-a65d-173f8bffe9d7
2ec31882-a35e-461a-9c6a-de8b928de8a8
dc3d415c-f667-4e3f-93ed-cd4ea40faea4
e708d7da-59b3-4299-b864-c04ffee0692a
36261ffc-0398-447f-83e7-e512d1155a10
975dd759-7342-4226-a1de-fd8f45e11475
a8f7cc6b-3c59-41a0-91e1-b6f19b171d5d

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: