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)

019eb055-7634-70e2-82a2-15acb47da078
019eb055-7634-7267-8a80-1514cd09362f
019eb055-7634-73a2-8fa9-487cc5dcc60c
019eb055-7634-74bd-8f62-66a0ae002eda
019eb055-7634-75d3-b5e1-cdb6ce65d39f
019eb055-7634-76e6-a17d-d8b95275156a
019eb055-7634-77f8-84d0-ccbceac984ad
019eb055-7634-790f-bdb8-339238d0fe5f
019eb055-7634-7a2e-abc5-05677fb04484
019eb055-7634-7b40-8c42-d6edcfb98630
019eb055-7634-7c4e-a329-0c8496eb8d77
019eb055-7634-7d61-8a6e-1a857dc35638
019eb055-7634-7e73-995d-d024ea0559a3
019eb055-7634-7f86-bcba-9a0729d0e3f3
019eb055-7635-7098-9252-d6a1edfb2a25

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)

1f1649a1-ddab-6baa-9877-4cf95d479851
1f1649a1-ddab-6d4e-9877-4cf95d479851
1f1649a1-ddab-6e34-9877-4cf95d479851
1f1649a1-ddab-6f06-9877-4cf95d479851
1f1649a1-ddab-6fce-9877-4cf95d479851
1f1649a1-ddac-608c-9877-4cf95d479851
1f1649a1-ddac-6154-9877-4cf95d479851
1f1649a1-ddac-621c-9877-4cf95d479851
1f1649a1-ddac-62da-9877-4cf95d479851
1f1649a1-ddac-6398-9877-4cf95d479851
1f1649a1-ddac-64f6-9877-4cf95d479851
1f1649a1-ddac-65c8-9877-4cf95d479851
1f1649a1-ddac-6690-9877-4cf95d479851
1f1649a1-ddac-674e-9877-4cf95d479851
1f1649a1-ddac-680c-9877-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)

1ddac8de-649a-11f1-9877-4cf95d479851
1ddac942-649a-11f1-9877-4cf95d479851
1ddac99c-649a-11f1-9877-4cf95d479851
1ddaca0a-649a-11f1-9877-4cf95d479851
1ddaca6e-649a-11f1-9877-4cf95d479851
1ddacad2-649a-11f1-9877-4cf95d479851
1ddacb40-649a-11f1-9877-4cf95d479851
1ddacba4-649a-11f1-9877-4cf95d479851
1ddacc12-649a-11f1-9877-4cf95d479851
1ddacc80-649a-11f1-9877-4cf95d479851
1ddaccee-649a-11f1-9877-4cf95d479851
1ddacd52-649a-11f1-9877-4cf95d479851
1ddacdc0-649a-11f1-9877-4cf95d479851
1ddace2e-649a-11f1-9877-4cf95d479851
1ddace92-649a-11f1-9877-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)

29e36133-a501-810a-87ea-5ce32bd83b97
9aa36233-a501-810a-87ea-5ce32bd83b97
241a6333-a501-810a-87ea-5ce32bd83b97
489f6533-a501-810a-87ea-5ce32bd83b97
853e6633-a501-810a-87ea-5ce32bd83b97
d1246733-a501-810a-87ea-5ce32bd83b97
45826833-a501-810a-87ea-5ce32bd83b97
f9046933-a501-810a-87ea-5ce32bd83b97
293b6a33-a501-810a-87ea-5ce32bd83b97
97bb6b33-a501-810a-87ea-5ce32bd83b97
d2596c33-a501-810a-87ea-5ce32bd83b97
8f286d33-a501-810a-87ea-5ce32bd83b97
34bc6e33-a501-810a-87ea-5ce32bd83b97
39666f33-a501-810a-87ea-5ce32bd83b97
1d707033-a501-810a-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)

f9d50ce5-8d92-40eb-bdf3-f6fe2402481d
55145e57-020d-4580-8096-352aea5bf991
55033ec7-08d9-421a-a6a7-e2028691352b
9392a492-8781-4d83-b5cb-73667c6cc67d
6fe2714c-469d-4455-94a3-8f4ffe45d38f
0775d854-32f3-4ffd-a4a5-acca7c5b9827
80c26d5b-253a-4788-ac58-2dff39d97409
c799c267-679f-4e20-b08a-ab550652b88d
c4ea0873-5770-44bd-9dbf-272b8840491b
f0c263d4-c97d-4801-b7b8-d09d0806f162
d5fcf1ec-5dc3-4ea6-a099-9b9ffa8f276e
c30f5674-f38f-4e01-98df-3e976103e107
12198910-35ac-4080-859a-d025c41ce7be
1b25715a-1d8e-42eb-8072-ad375dea46e3
11e7c3de-36c1-458f-a2b1-73a169538fb0

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: