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)

019fb805-0a49-7f23-9bca-19b461dd0b73
019fb805-0a4a-7182-8351-11f3aeba19ef
019fb805-0a4a-730b-b236-782a76f77439
019fb805-0a4a-745b-9a27-735b560c10ef
019fb805-0a4a-75a6-86a1-a11597e7b683
019fb805-0a4a-76f2-b971-6369acc6287b
019fb805-0a4a-7815-90a3-289f251798dd
019fb805-0a4a-7961-bb7c-cc1107e53628
019fb805-0a4a-7aa0-a7be-9a33e1950004
019fb805-0a4a-7be8-9170-3fef9f24faf6
019fb805-0a4a-7d30-861c-0a45b70c847d
019fb805-0a4a-7e77-a627-0e4bdffbe426
019fb805-0a4a-7fbb-a6fd-5bdbb75124c1
019fb805-0a4b-70fe-9b60-5b52bbede6db
019fb805-0a4b-723e-abb0-1461105dc26c

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)

1f18cd65-8635-6cd2-bba8-4cf95d479851
1f18cd65-8635-6fac-bba8-4cf95d479851
1f18cd65-8636-6150-bba8-4cf95d479851
1f18cd65-8636-62cc-bba8-4cf95d479851
1f18cd65-8636-643e-bba8-4cf95d479851
1f18cd65-8636-65b0-bba8-4cf95d479851
1f18cd65-8636-6718-bba8-4cf95d479851
1f18cd65-8636-688a-bba8-4cf95d479851
1f18cd65-8636-6a06-bba8-4cf95d479851
1f18cd65-8636-6b78-bba8-4cf95d479851
1f18cd65-8636-6d8a-bba8-4cf95d479851
1f18cd65-8636-6f10-bba8-4cf95d479851
1f18cd65-8637-6078-bba8-4cf95d479851
1f18cd65-8637-61ea-bba8-4cf95d479851
1f18cd65-8637-6352-bba8-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)

586374d8-8cd6-11f1-bba8-4cf95d479851
58637578-8cd6-11f1-bba8-4cf95d479851
58637618-8cd6-11f1-bba8-4cf95d479851
586376c2-8cd6-11f1-bba8-4cf95d479851
58637762-8cd6-11f1-bba8-4cf95d479851
58637802-8cd6-11f1-bba8-4cf95d479851
586378b6-8cd6-11f1-bba8-4cf95d479851
58637956-8cd6-11f1-bba8-4cf95d479851
586379f6-8cd6-11f1-bba8-4cf95d479851
58637a8c-8cd6-11f1-bba8-4cf95d479851
58637b2c-8cd6-11f1-bba8-4cf95d479851
58637bcc-8cd6-11f1-bba8-4cf95d479851
58637c62-8cd6-11f1-bba8-4cf95d479851
58637cf8-8cd6-11f1-bba8-4cf95d479851
58637da2-8cd6-11f1-bba8-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)

b0c6e62d-c902-840d-87ea-5ce32bd83b97
3d45e72d-c902-840d-87ea-5ce32bd83b97
82b9e82d-c902-840d-87ea-5ce32bd83b97
a17ee92d-c902-840d-87ea-5ce32bd83b97
f217ea2d-c902-840d-87ea-5ce32bd83b97
e4e8eb2d-c902-840d-87ea-5ce32bd83b97
3ffeec2d-c902-840d-87ea-5ce32bd83b97
040bed2d-c902-840d-87ea-5ce32bd83b97
1c42ee2d-c902-840d-87ea-5ce32bd83b97
386def2d-c902-840d-87ea-5ce32bd83b97
4642f02d-c902-840d-87ea-5ce32bd83b97
874ff12d-c902-840d-87ea-5ce32bd83b97
349ff22d-c902-840d-87ea-5ce32bd83b97
d378f32d-c902-840d-87ea-5ce32bd83b97
24f5f42d-c902-840d-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)

55d0c060-2de2-4395-9954-5359e0a14cbc
aafe3ed2-2cec-4273-97fa-e4bdc9ff2674
3a264ebe-f043-4aa2-a306-b3d83989a936
57e4b253-2623-478a-b3dd-b4389cb9ec0a
8dfc9066-0ef7-4e58-9aaf-e64a886939ea
320aa649-6f19-4803-8fe7-4f64ff15cede
d9b8dfeb-c72e-45c5-8bd3-6e5faf5b0831
433f09aa-f853-475e-b9c3-5a72798c3316
adc9b879-faeb-4053-bbd2-9ecbddea5007
fd1c7dcc-e3e4-4755-99dd-d2b6debfd9a7
cc65d12b-dbc9-453d-927c-261235a194ca
70a81fc0-9a1f-4dbb-ab94-3f20c8f2d0a4
4394cec4-b510-4f24-861e-08297430fdb6
79692405-d44b-4b62-b6bc-4a5acba1ff49
f394abdc-0ecf-4b46-84b7-7d0a6fe9110b

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: