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)

01a0ec4e-4059-77fc-a0ba-c190b733fc65
01a0ec4e-4059-7a19-97b7-4b03903d7075
01a0ec4e-4059-7b9e-9353-4de17cd32ae5
01a0ec4e-4059-7cee-a80e-8bb2e48c448a
01a0ec4e-4059-7e42-a382-5e2d148cbeae
01a0ec4e-4059-7f92-858e-28a45447b33c
01a0ec4e-405a-70e6-828d-9497eb53baa8
01a0ec4e-405a-7236-9700-94fd6fe1a77f
01a0ec4e-405a-7382-9fb3-39ff2beb2be9
01a0ec4e-405a-74d5-bf80-43f34cf7bc2e
01a0ec4e-405a-7621-ba78-dd7f91040b34
01a0ec4e-405a-776d-8160-ea4013b31c2f
01a0ec4e-405a-78c1-a4dd-550e9b7ab912
01a0ec4e-405a-7a09-afa7-1a3af00dbdb4
01a0ec4e-405a-7b50-9100-60fffa1f28d5

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)

1f1bbe0c-4331-6c52-88e2-4cf95d479851
1f1bbe0c-4331-6ed2-88e2-4cf95d479851
1f1bbe0c-4332-606c-88e2-4cf95d479851
1f1bbe0c-4332-61e8-88e2-4cf95d479851
1f1bbe0c-4332-633c-88e2-4cf95d479851
1f1bbe0c-4332-6486-88e2-4cf95d479851
1f1bbe0c-4332-65f8-88e2-4cf95d479851
1f1bbe0c-4332-6738-88e2-4cf95d479851
1f1bbe0c-4332-6864-88e2-4cf95d479851
1f1bbe0c-4332-69d6-88e2-4cf95d479851
1f1bbe0c-4332-6bf2-88e2-4cf95d479851
1f1bbe0c-4332-6d5a-88e2-4cf95d479851
1f1bbe0c-4332-6ea4-88e2-4cf95d479851
1f1bbe0c-4333-6002-88e2-4cf95d479851
1f1bbe0c-4333-6142-88e2-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)

c433328c-bbe0-11f1-88e2-4cf95d479851
c4333318-bbe0-11f1-88e2-4cf95d479851
c43333b8-bbe0-11f1-88e2-4cf95d479851
c433346c-bbe0-11f1-88e2-4cf95d479851
c4333502-bbe0-11f1-88e2-4cf95d479851
c433358e-bbe0-11f1-88e2-4cf95d479851
c4333624-bbe0-11f1-88e2-4cf95d479851
c43336ba-bbe0-11f1-88e2-4cf95d479851
c4333750-bbe0-11f1-88e2-4cf95d479851
c43337e6-bbe0-11f1-88e2-4cf95d479851
c4333872-bbe0-11f1-88e2-4cf95d479851
c43338fe-bbe0-11f1-88e2-4cf95d479851
c433398a-bbe0-11f1-88e2-4cf95d479851
c4333a20-bbe0-11f1-88e2-4cf95d479851
c4333aac-bbe0-11f1-88e2-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)

d952652e-0402-8011-87ea-5ce32bd83b97
d791662e-0402-8011-87ea-5ce32bd83b97
8bb6672e-0402-8011-87ea-5ce32bd83b97
d1f4682e-0402-8011-87ea-5ce32bd83b97
3992692e-0402-8011-87ea-5ce32bd83b97
3dde6a2e-0402-8011-87ea-5ce32bd83b97
8e406b2e-0402-8011-87ea-5ce32bd83b97
3e476c2e-0402-8011-87ea-5ce32bd83b97
3a5a6d2e-0402-8011-87ea-5ce32bd83b97
38106e2e-0402-8011-87ea-5ce32bd83b97
b5906f2e-0402-8011-87ea-5ce32bd83b97
9356702e-0402-8011-87ea-5ce32bd83b97
bb35712e-0402-8011-87ea-5ce32bd83b97
1875722e-0402-8011-87ea-5ce32bd83b97
c510742e-0402-8011-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)

f2b5f607-ee31-4856-9d28-3311ec9a61df
01bb0d74-f12b-48a7-997e-0e9f740cd0d9
49bb0ad2-1ab2-419f-bc14-c23d183bd2e2
3b1917b2-c5b6-45c3-a2a6-33b461921c83
597a91af-ebc2-423f-a348-c6ef8ceec6a1
e02f5d45-9c9b-4ea3-836c-89ec50453742
bf51713c-c1e9-4dbd-abfa-ca95daa82748
e4d13544-9d57-441d-908c-f29e14eeb978
71f4aebe-dc06-4bf4-b61e-682b52532260
74a31fa5-5ae5-413d-863a-fb1ca8f84898
9f2022ea-ccab-4b2a-8d39-768764c5fe0d
d483af9a-be8c-4a66-b4e9-2557a86dd828
74c9d3f2-c12c-440b-b6ac-6172f990dfd1
ac650860-d708-4acb-b88b-3b6e580e2e97
f026d26d-5b0e-43f0-a859-1a92bafec196

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: