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)

019ccc55-ae0d-7ff4-b06c-14fe4f4828d4
019ccc55-ae0e-718a-9503-d0e4c89e6b26
019ccc55-ae0e-72c9-80ab-0fa7bad2497f
019ccc55-ae0e-73e8-a83d-9873496020b8
019ccc55-ae0e-7503-a8e2-02d2e5722798
019ccc55-ae0e-7621-89ac-cc195bdb98f0
019ccc55-ae0e-7738-a4c9-0c26978baabb
019ccc55-ae0e-7852-b307-4a8ed12c2442
019ccc55-ae0e-796d-aac8-4f382397411e
019ccc55-ae0e-7a84-b75d-9da9cc8c0d1b
019ccc55-ae0e-7b9a-8fa8-a814b6a6c665
019ccc55-ae0e-7cb1-9060-0fbf5f398b11
019ccc55-ae0e-7dcb-aa04-d2b3a2397374
019ccc55-ae0e-7f1b-bb7a-e4fbe1380e73
019ccc55-ae0f-7032-b96c-f0a4681d7d7b

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)

1f11abfe-6606-6e8c-8294-4cf95d479851
1f11abfe-6607-6012-8294-4cf95d479851
1f11abfe-6607-60f8-8294-4cf95d479851
1f11abfe-6607-61ca-8294-4cf95d479851
1f11abfe-6607-6288-8294-4cf95d479851
1f11abfe-6607-6350-8294-4cf95d479851
1f11abfe-6607-640e-8294-4cf95d479851
1f11abfe-6607-64cc-8294-4cf95d479851
1f11abfe-6607-658a-8294-4cf95d479851
1f11abfe-6607-663e-8294-4cf95d479851
1f11abfe-6607-677e-8294-4cf95d479851
1f11abfe-6607-6850-8294-4cf95d479851
1f11abfe-6607-690e-8294-4cf95d479851
1f11abfe-6607-69cc-8294-4cf95d479851
1f11abfe-6607-6a8a-8294-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)

b7f23860-31ba-4268-833f-dc332475018c
4ab452ae-6785-47f3-aa76-6e1d8c16e8cf
cfceafe6-d4e0-4f53-ae30-de6c0ca25135
d8722c0b-bc6e-4754-8780-9e8743b17ddc
e127d72c-5742-4aad-96a6-900be1c444a1
a11217b6-cd34-4464-9fb1-cf69eb77e613
e8312fa5-0ef6-4e7c-9d8d-f436ba4faa5c
ad890b84-bec8-4a5a-bded-69884b9cd647
f325a9d7-4c72-4440-9d11-36e02623ee4e
30081404-4005-4459-b8cb-5e77d706b6ab
278e40e1-5374-4fd9-b8df-03c533128789
e6ebdecf-f147-4a2d-a0a5-0f183e5d084b
2662d072-58bb-4a38-b658-14a1c0b9c274
0ee8208f-c0a1-4cd0-b806-14d68cdb1d1b
ccb68e60-86a9-4b2f-88ec-3c5815853b38

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)

e6607fb2-1abf-11f1-8294-4cf95d479851
e6608020-1abf-11f1-8294-4cf95d479851
e6608084-1abf-11f1-8294-4cf95d479851
e66080e8-1abf-11f1-8294-4cf95d479851
e660814c-1abf-11f1-8294-4cf95d479851
e66081b0-1abf-11f1-8294-4cf95d479851
e6608228-1abf-11f1-8294-4cf95d479851
e6608296-1abf-11f1-8294-4cf95d479851
e6608304-1abf-11f1-8294-4cf95d479851
e6608368-1abf-11f1-8294-4cf95d479851
e66083cc-1abf-11f1-8294-4cf95d479851
e6608426-1abf-11f1-8294-4cf95d479851
e660848a-1abf-11f1-8294-4cf95d479851
e66084ee-1abf-11f1-8294-4cf95d479851
e6608552-1abf-11f1-8294-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)

341e2235-bd01-8304-87ea-5ce32bd83b97
0d712335-bd01-8304-87ea-5ce32bd83b97
b45a2535-bd01-8304-87ea-5ce32bd83b97
5f0f2635-bd01-8304-87ea-5ce32bd83b97
f3292735-bd01-8304-87ea-5ce32bd83b97
d4e42835-bd01-8304-87ea-5ce32bd83b97
b6232935-bd01-8304-87ea-5ce32bd83b97
b40d2a35-bd01-8304-87ea-5ce32bd83b97
b7cc2b35-bd01-8304-87ea-5ce32bd83b97
75812c35-bd01-8304-87ea-5ce32bd83b97
18b82d35-bd01-8304-87ea-5ce32bd83b97
fc6d2e35-bd01-8304-87ea-5ce32bd83b97
a1b52f35-bd01-8304-87ea-5ce32bd83b97
ed893035-bd01-8304-87ea-5ce32bd83b97
683e3135-bd01-8304-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: