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)

019c017f-9108-7dfc-a47c-f7417ecc8b6a
019c017f-9108-7fb7-abd2-85229dc44438
019c017f-9109-7103-ae43-8324156d8b3e
019c017f-9109-7225-be90-103ac5456230
019c017f-9109-7344-9edc-952242c989e1
019c017f-9109-745f-ba46-c7a94f3f8a6d
019c017f-9109-7579-aa26-31ced4017cc3
019c017f-9109-7694-99ba-ed0764fca07f
019c017f-9109-77aa-aadb-027b96ac5b9c
019c017f-9109-78c5-8a1d-f9a3791b30fc
019c017f-9109-79e0-b903-10af5e26ddae
019c017f-9109-7af6-b233-fc1fbd458083
019c017f-9109-7c11-953a-449c84c2f576
019c017f-9109-7d2c-a5c0-95617f073ff5
019c017f-9109-7e46-a078-dd0138c90614

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)

1f0fbcc9-a92d-67ae-86dd-4cf95d479851
1f0fbcc9-a92d-695c-86dd-4cf95d479851
1f0fbcc9-a92d-6a42-86dd-4cf95d479851
1f0fbcc9-a92d-6b0a-86dd-4cf95d479851
1f0fbcc9-a92d-6bd2-86dd-4cf95d479851
1f0fbcc9-a92d-6c9a-86dd-4cf95d479851
1f0fbcc9-a92d-6d58-86dd-4cf95d479851
1f0fbcc9-a92d-6e20-86dd-4cf95d479851
1f0fbcc9-a92d-6ede-86dd-4cf95d479851
1f0fbcc9-a92d-6f9c-86dd-4cf95d479851
1f0fbcc9-a92e-60e6-86dd-4cf95d479851
1f0fbcc9-a92e-61b8-86dd-4cf95d479851
1f0fbcc9-a92e-6276-86dd-4cf95d479851
1f0fbcc9-a92e-6334-86dd-4cf95d479851
1f0fbcc9-a92e-63fc-86dd-4cf95d479851

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)

21fa3110-a921-4725-83ea-99e9ee2f72de
2a97a284-951d-44a0-b8ce-18d0e447b427
db0c84e7-2a06-4cbc-adc1-d4a1df23b5c0
01e451a9-244a-4cc0-b285-a7737729547f
318206e2-5982-4d51-9e5b-9d05560d30ae
c7ebe85e-6b9e-483c-bbd8-02ee74b2c982
825811d3-fa95-4a89-ab43-45893987804d
42f4fc6c-66ef-434b-884a-f3264a9f675f
6dce8d11-ccad-44ea-83b9-8a4957e4a6c5
b42c03ec-43f8-46d7-a8ba-5ad9b3bc5c5a
190e617a-e223-481f-bcf1-47f5919bd92e
46d390ab-be88-4be4-a650-afe35d2c8aea
84a36931-fafa-45bc-9ce7-a936c9ec703f
f2201994-d59c-4c6e-a83f-e0bd783825e7
789d3cdf-baa1-45f2-84f2-33b476f40bd7

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)

9a92e910-fbcc-11f0-86dd-4cf95d479851
9a92e97e-fbcc-11f0-86dd-4cf95d479851
9a92e9e2-fbcc-11f0-86dd-4cf95d479851
9a92ea46-fbcc-11f0-86dd-4cf95d479851
9a92eaa0-fbcc-11f0-86dd-4cf95d479851
9a92eb0e-fbcc-11f0-86dd-4cf95d479851
9a92eb68-fbcc-11f0-86dd-4cf95d479851
9a92ebcc-fbcc-11f0-86dd-4cf95d479851
9a92ec26-fbcc-11f0-86dd-4cf95d479851
9a92ec8a-fbcc-11f0-86dd-4cf95d479851
9a92ece4-fbcc-11f0-86dd-4cf95d479851
9a92ed3e-fbcc-11f0-86dd-4cf95d479851
9a92eda2-fbcc-11f0-86dd-4cf95d479851
9a92edfc-fbcc-11f0-86dd-4cf95d479851
9a92ee56-fbcc-11f0-86dd-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)

115f5e2b-3005-8b01-87ea-5ce32bd83b97
324e5f2b-3005-8b01-87ea-5ce32bd83b97
b167602b-3005-8b01-87ea-5ce32bd83b97
9006622b-3005-8b01-87ea-5ce32bd83b97
6c28632b-3005-8b01-87ea-5ce32bd83b97
ba81642b-3005-8b01-87ea-5ce32bd83b97
ee43652b-3005-8b01-87ea-5ce32bd83b97
dae3662b-3005-8b01-87ea-5ce32bd83b97
f4a8672b-3005-8b01-87ea-5ce32bd83b97
bb73682b-3005-8b01-87ea-5ce32bd83b97
0c26692b-3005-8b01-87ea-5ce32bd83b97
43db6a2b-3005-8b01-87ea-5ce32bd83b97
dd636b2b-3005-8b01-87ea-5ce32bd83b97
39b86c2b-3005-8b01-87ea-5ce32bd83b97
ee5d6d2b-3005-8b01-87ea-5ce32bd83b97

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: