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)

01a20a24-de21-73d3-a51d-9798290de1ad
01a20a24-de21-7554-8ea5-c16b220a8b8c
01a20a24-de21-7690-892c-5215b1bff925
01a20a24-de21-77b3-aa50-82342adfde63
01a20a24-de21-78c9-80f8-1938423e426c
01a20a24-de21-79e0-b669-34b41bed80e8
01a20a24-de21-7af2-9d0a-9ad620f87200
01a20a24-de21-7c09-a676-29757b25ebf1
01a20a24-de21-7d1f-9b8e-39d4e0296e89
01a20a24-de21-7e36-85f8-014fc87faf94
01a20a24-de21-7f4c-b039-856b986fc88f
01a20a24-de22-706b-b221-b0b0273f2fd9
01a20a24-de22-7182-957e-329883e7db3d
01a20a24-de22-72b1-8a35-54b2a73bb434
01a20a24-de22-73f4-97e1-e13530850ad6

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)

1f1e77e5-3a65-6dcc-b575-4cf95d479851
1f1e77e5-3a65-6f8e-b575-4cf95d479851
1f1e77e5-3a66-607e-b575-4cf95d479851
1f1e77e5-3a66-615a-b575-4cf95d479851
1f1e77e5-3a66-6222-b575-4cf95d479851
1f1e77e5-3a66-62ea-b575-4cf95d479851
1f1e77e5-3a66-63b2-b575-4cf95d479851
1f1e77e5-3a66-6484-b575-4cf95d479851
1f1e77e5-3a66-654c-b575-4cf95d479851
1f1e77e5-3a66-6614-b575-4cf95d479851
1f1e77e5-3a66-6772-b575-4cf95d479851
1f1e77e5-3a66-6844-b575-4cf95d479851
1f1e77e5-3a66-6916-b575-4cf95d479851
1f1e77e5-3a66-69de-b575-4cf95d479851
1f1e77e5-3a66-6aa6-b575-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)

53a66b8c-e77e-11f1-b575-4cf95d479851
53a66bfa-e77e-11f1-b575-4cf95d479851
53a66c68-e77e-11f1-b575-4cf95d479851
53a66cd6-e77e-11f1-b575-4cf95d479851
53a66d3a-e77e-11f1-b575-4cf95d479851
53a66d9e-e77e-11f1-b575-4cf95d479851
53a66e0c-e77e-11f1-b575-4cf95d479851
53a66e70-e77e-11f1-b575-4cf95d479851
53a66ed4-e77e-11f1-b575-4cf95d479851
53a66f42-e77e-11f1-b575-4cf95d479851
53a66fa6-e77e-11f1-b575-4cf95d479851
53a6700a-e77e-11f1-b575-4cf95d479851
53a6706e-e77e-11f1-b575-4cf95d479851
53a670d2-e77e-11f1-b575-4cf95d479851
53a67136-e77e-11f1-b575-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)

34c80d3a-da04-8714-87ea-5ce32bd83b97
c1bf0e3a-da04-8714-87ea-5ce32bd83b97
0e3e0f3a-da04-8714-87ea-5ce32bd83b97
ebd3103a-da04-8714-87ea-5ce32bd83b97
102b113a-da04-8714-87ea-5ce32bd83b97
b609123a-da04-8714-87ea-5ce32bd83b97
89f1133a-da04-8714-87ea-5ce32bd83b97
9295143a-da04-8714-87ea-5ce32bd83b97
1204153a-da04-8714-87ea-5ce32bd83b97
da52163a-da04-8714-87ea-5ce32bd83b97
c5e2173a-da04-8714-87ea-5ce32bd83b97
4c2d183a-da04-8714-87ea-5ce32bd83b97
85fc193a-da04-8714-87ea-5ce32bd83b97
ec201a3a-da04-8714-87ea-5ce32bd83b97
c74b1b3a-da04-8714-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)

488b96b9-2a43-431b-9932-aef8d79eab7e
8a17c95f-45ef-44d0-90e7-ff7f9e87d357
4dd75c4c-2d0d-489b-b235-4c6c550c482a
478329bb-9dcb-4ae2-ae95-a40d9a0c9036
35ef549d-a01e-4c72-95e9-3aec823cfc41
7ca054e0-36f1-41ee-a56c-83209bb7e946
6c257d37-10c5-4679-ad70-ebbd5f46dd76
70b19137-c698-4567-9a51-2fbc9d0e343b
625c9704-2ac9-4b05-84da-e0ee2b4825e0
03816f15-1843-48cf-b855-84dc4d668b9c
0655152d-4c9d-432b-81f0-5f349b3cc692
ba0f75e7-94bb-43a4-a2ec-6673a48fa321
9179fabc-21b5-41a8-a8e6-3911c375bbcb
41b635cb-5a58-46ee-aa60-390519d3bf93
87001fbc-1fed-4be8-bc27-385e2be5cf16

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: