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)

019d081d-6704-7a63-a39f-bfd8c7d0e929
019d081d-6704-7bf4-a8a8-d3a03ed5cbbe
019d081d-6704-7d38-98b0-83e04688d6f9
019d081d-6704-7e57-80e6-01e947208277
019d081d-6704-7f71-b1b3-c39d0fc653cd
019d081d-6705-7088-a7b6-71a3eb65b44c
019d081d-6705-71a6-8eaf-0e0f9a4e2576
019d081d-6705-72d1-a1b7-32d8f2cbac1e
019d081d-6705-73f0-a0db-0483973ae070
019d081d-6705-7507-9cd9-0622b8d18e00
019d081d-6705-761d-88e3-fbe8666b2ef6
019d081d-6705-7738-a277-e676dac430de
019d081d-6705-7852-88d1-d26d910f4be3
019d081d-6705-796d-a619-0832444f965e
019d081d-6705-7a84-928c-5054de307698

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)

1f123df1-0099-60ec-aec2-4cf95d479851
1f123df1-0099-627c-aec2-4cf95d479851
1f123df1-0099-636c-aec2-4cf95d479851
1f123df1-0099-643e-aec2-4cf95d479851
1f123df1-0099-6510-aec2-4cf95d479851
1f123df1-0099-65d8-aec2-4cf95d479851
1f123df1-0099-66aa-aec2-4cf95d479851
1f123df1-0099-677c-aec2-4cf95d479851
1f123df1-0099-6844-aec2-4cf95d479851
1f123df1-0099-690c-aec2-4cf95d479851
1f123df1-0099-6a56-aec2-4cf95d479851
1f123df1-0099-6b28-aec2-4cf95d479851
1f123df1-0099-6bfa-aec2-4cf95d479851
1f123df1-0099-6cc2-aec2-4cf95d479851
1f123df1-0099-6d94-aec2-4cf95d479851

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)

8ac3f6eb-ee86-40d3-a18d-ce4e9f25e9b1
2bb66b47-6601-4b1f-b477-bde11510e3d6
a79b4c3a-b730-4362-897d-375340d05f64
52820432-2156-4cac-bacd-a5e2c36c3925
2bc0df52-4112-4580-bf8c-5f31a58affdf
24eb14fe-1ec2-47a4-9676-91a1e3d46d25
efb48b61-6e2f-40fd-9743-601aed75b481
9a2d760e-b67b-4efd-8d5a-b1aa8709c6c9
960683de-7d16-4c06-86a5-3ee94f919747
ef2515ce-47b8-45e3-9482-0ea3e45b6f00
623ba3d1-a4c1-40a1-a951-dff4580448d2
638a812e-c82f-4f0f-96f2-13dd8c64b144
6104c736-5146-453d-9667-7a7560369b5d
5723b622-1cb3-452d-83db-ecdd1e5626d5
aa8ad16b-3255-4b9a-9088-817dd587a568

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)

1009a2c6-23df-11f1-aec2-4cf95d479851
1009a334-23df-11f1-aec2-4cf95d479851
1009a398-23df-11f1-aec2-4cf95d479851
1009a3f2-23df-11f1-aec2-4cf95d479851
1009a460-23df-11f1-aec2-4cf95d479851
1009a4c4-23df-11f1-aec2-4cf95d479851
1009a51e-23df-11f1-aec2-4cf95d479851
1009a582-23df-11f1-aec2-4cf95d479851
1009a5e6-23df-11f1-aec2-4cf95d479851
1009a654-23df-11f1-aec2-4cf95d479851
1009a6b8-23df-11f1-aec2-4cf95d479851
1009a71c-23df-11f1-aec2-4cf95d479851
1009a776-23df-11f1-aec2-4cf95d479851
1009a7da-23df-11f1-aec2-4cf95d479851
1009a83e-23df-11f1-aec2-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)

46f1e425-2905-8e04-87ea-5ce32bd83b97
6e91e525-2905-8e04-87ea-5ce32bd83b97
a76be625-2905-8e04-87ea-5ce32bd83b97
1464e725-2905-8e04-87ea-5ce32bd83b97
5477e825-2905-8e04-87ea-5ce32bd83b97
4ef5e925-2905-8e04-87ea-5ce32bd83b97
d001ea25-2905-8e04-87ea-5ce32bd83b97
c887ec25-2905-8e04-87ea-5ce32bd83b97
b5faed25-2905-8e04-87ea-5ce32bd83b97
6c4cee25-2905-8e04-87ea-5ce32bd83b97
2a0aef25-2905-8e04-87ea-5ce32bd83b97
9c2cf025-2905-8e04-87ea-5ce32bd83b97
a99cf125-2905-8e04-87ea-5ce32bd83b97
7fc0f225-2905-8e04-87ea-5ce32bd83b97
33fff325-2905-8e04-87ea-5ce32bd83b97

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: