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)

01a1946e-ede9-7077-b4a2-742b0258653b
01a1946e-edea-7232-be3d-8fedf80d6cb6
01a1946e-edea-7371-8122-c2f875dc4653
01a1946e-edea-7488-b16e-df2b4d3caf60
01a1946e-edea-759e-9314-bcc55ea492cb
01a1946e-edea-76b5-b367-b1d1ac66e2f5
01a1946e-edea-77c7-9fe2-82d3c90fbe56
01a1946e-edea-78da-b026-5b8ce24802fe
01a1946e-edea-79ec-a2c7-4cfbf741809f
01a1946e-edea-7afe-affd-f985ca141e5b
01a1946e-edea-7c0d-90a8-142a7700f16a
01a1946e-edea-7d1f-93c9-178c77f5e0e4
01a1946e-edea-7e32-8f75-1e4d187f6fd6
01a1946e-edea-7f40-891b-51ee560224e0
01a1946e-edeb-7052-812f-263bfa94e82f

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)

1f1d5884-0aef-622c-b9dc-4cf95d479851
1f1d5884-0aef-63f8-b9dc-4cf95d479851
1f1d5884-0aef-64de-b9dc-4cf95d479851
1f1d5884-0aef-65b0-b9dc-4cf95d479851
1f1d5884-0aef-6678-b9dc-4cf95d479851
1f1d5884-0aef-6740-b9dc-4cf95d479851
1f1d5884-0aef-6808-b9dc-4cf95d479851
1f1d5884-0aef-68d0-b9dc-4cf95d479851
1f1d5884-0aef-6998-b9dc-4cf95d479851
1f1d5884-0aef-6a56-b9dc-4cf95d479851
1f1d5884-0aef-6bb4-b9dc-4cf95d479851
1f1d5884-0aef-6c86-b9dc-4cf95d479851
1f1d5884-0aef-6d4e-b9dc-4cf95d479851
1f1d5884-0aef-6e20-b9dc-4cf95d479851
1f1d5884-0aef-6ee8-b9dc-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)

40aeffc4-d588-11f1-b9dc-4cf95d479851
40af0032-d588-11f1-b9dc-4cf95d479851
40af00a0-d588-11f1-b9dc-4cf95d479851
40af010e-d588-11f1-b9dc-4cf95d479851
40af0172-d588-11f1-b9dc-4cf95d479851
40af01e0-d588-11f1-b9dc-4cf95d479851
40af0244-d588-11f1-b9dc-4cf95d479851
40af02a8-d588-11f1-b9dc-4cf95d479851
40af030c-d588-11f1-b9dc-4cf95d479851
40af0370-d588-11f1-b9dc-4cf95d479851
40af03d4-d588-11f1-b9dc-4cf95d479851
40af0438-d588-11f1-b9dc-4cf95d479851
40af049c-d588-11f1-b9dc-4cf95d479851
40af0500-d588-11f1-b9dc-4cf95d479851
40af0564-d588-11f1-b9dc-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)

a3a94428-0800-8113-87ea-5ce32bd83b97
e72a4528-0800-8113-87ea-5ce32bd83b97
b2b14628-0800-8113-87ea-5ce32bd83b97
ab0c4728-0800-8113-87ea-5ce32bd83b97
d80c4828-0800-8113-87ea-5ce32bd83b97
e10d4a28-0800-8113-87ea-5ce32bd83b97
48ff4b28-0800-8113-87ea-5ce32bd83b97
d1ff4c28-0800-8113-87ea-5ce32bd83b97
eb464d28-0800-8113-87ea-5ce32bd83b97
1d674e28-0800-8113-87ea-5ce32bd83b97
86844f28-0800-8113-87ea-5ce32bd83b97
5a4f5028-0800-8113-87ea-5ce32bd83b97
78325128-0800-8113-87ea-5ce32bd83b97
12345228-0800-8113-87ea-5ce32bd83b97
0f205328-0800-8113-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)

81694f11-8775-495c-b464-1e2f162b0ccb
28c81df9-bdde-4c37-b360-3aa07f20abe8
c153515c-a199-457a-bc1d-3b4885a8ecd7
b79e9eca-3fd8-4415-9c9d-34c1d2fabc16
581772a9-6e27-49cb-b4a9-9ba835ce9e43
1e1f34d9-aae4-4909-b99f-522af42b33c9
21e6aa12-2502-42a6-845f-48d73dc877f0
34629463-8851-4706-bb2c-a88761c4349b
1e646c5b-9888-4ecf-b1af-634932d44cca
b0d569fa-d121-49d2-9816-cb46e41f3edf
ffe0a5bf-33f1-4cdb-b8d5-be344314a0ac
6dbd129c-47d5-47b5-8129-4725e60c4220
370527ba-c4b8-4f06-ae46-e5c5996b1b0c
97983b2c-5220-45d5-a99b-392f18900a4f
3385329f-3927-4224-8ca7-6af1129d6ffe

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: