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)

01a243fd-ae58-7afa-8b8a-53b7b5d84935
01a243fd-ae58-7cd1-a769-7c1998ee814e
01a243fd-ae58-7e4a-80d6-a96e74b90447
01a243fd-ae58-7f92-9bb7-de1e6bd0f7a3
01a243fd-ae59-70da-ba40-1217da4f9e16
01a243fd-ae59-7219-88d9-56ec1e230634
01a243fd-ae59-7359-a2bf-d10799b3a53d
01a243fd-ae59-73f0-9dbf-1c84e473ad4b
01a243fd-ae59-7530-a8a3-e2ff94737700
01a243fd-ae59-766f-84d4-488518cf0ebf
01a243fd-ae59-77aa-9015-435f28d4dfab
01a243fd-ae59-78ea-b1c6-50c989c97439
01a243fd-ae59-7a2e-a7fb-b97f10af60ef
01a243fd-ae59-7b6d-9468-4a32d51be8a5
01a243fd-ae59-7cb9-b48b-446bfaeff9b2

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)

1f1f051f-8ebd-686c-9dc0-4cf95d479851
1f1f051f-8ebd-6b28-9dc0-4cf95d479851
1f1f051f-8ebd-6cae-9dc0-4cf95d479851
1f1f051f-8ebd-6e16-9dc0-4cf95d479851
1f1f051f-8ebd-6f7e-9dc0-4cf95d479851
1f1f051f-8ebe-60d2-9dc0-4cf95d479851
1f1f051f-8ebe-6230-9dc0-4cf95d479851
1f1f051f-8ebe-6384-9dc0-4cf95d479851
1f1f051f-8ebe-64ec-9dc0-4cf95d479851
1f1f051f-8ebe-6640-9dc0-4cf95d479851
1f1f051f-8ebe-6852-9dc0-4cf95d479851
1f1f051f-8ebe-69b0-9dc0-4cf95d479851
1f1f051f-8ebe-6b18-9dc0-4cf95d479851
1f1f051f-8ebe-6c6c-9dc0-4cf95d479851
1f1f051f-8ebe-6dca-9dc0-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)

f8ebef3c-f051-11f1-9dc0-4cf95d479851
f8ebefd2-f051-11f1-9dc0-4cf95d479851
f8ebf072-f051-11f1-9dc0-4cf95d479851
f8ebf0fe-f051-11f1-9dc0-4cf95d479851
f8ebf19e-f051-11f1-9dc0-4cf95d479851
f8ebf234-f051-11f1-9dc0-4cf95d479851
f8ebf2ca-f051-11f1-9dc0-4cf95d479851
f8ebf356-f051-11f1-9dc0-4cf95d479851
f8ebf3ec-f051-11f1-9dc0-4cf95d479851
f8ebf478-f051-11f1-9dc0-4cf95d479851
f8ebf50e-f051-11f1-9dc0-4cf95d479851
f8ebf59a-f051-11f1-9dc0-4cf95d479851
f8ebf626-f051-11f1-9dc0-4cf95d479851
f8ebf6bc-f051-11f1-9dc0-4cf95d479851
f8ebf752-f051-11f1-9dc0-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)

23907108-8a00-8315-87ea-5ce32bd83b97
80b57208-8a00-8315-87ea-5ce32bd83b97
8f357308-8a00-8315-87ea-5ce32bd83b97
bdde7408-8a00-8315-87ea-5ce32bd83b97
05a57508-8a00-8315-87ea-5ce32bd83b97
4b2e7608-8a00-8315-87ea-5ce32bd83b97
e9c57708-8a00-8315-87ea-5ce32bd83b97
a1d07808-8a00-8315-87ea-5ce32bd83b97
9da57908-8a00-8315-87ea-5ce32bd83b97
44e67a08-8a00-8315-87ea-5ce32bd83b97
99757b08-8a00-8315-87ea-5ce32bd83b97
738c7c08-8a00-8315-87ea-5ce32bd83b97
5b757e08-8a00-8315-87ea-5ce32bd83b97
a7b17f08-8a00-8315-87ea-5ce32bd83b97
7a1c8008-8a00-8315-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)

38256d67-a375-42f5-b715-3277d6afbc4e
07db9021-320e-4fa6-9c52-829fbbfd1556
67206829-f489-4d51-a1e2-3dfd0c0b7871
d125088e-51fc-46aa-9efa-7ce046f76498
bf1eb05a-e629-4252-9221-66d14d9bab8d
45c7bd90-96a1-4c32-bf9f-2d79fc1a8d9a
b416b711-819a-4f99-8eaf-9c93459b7fd4
2909aea5-b2a2-42fe-967e-9e78ca0f5b81
25c26b32-ed2b-4e11-8e71-ded63b153af0
999ffc3a-3f2a-45d6-8f08-e700443e1f71
8675b01e-9269-46f8-a739-b3764a2135ca
dcb1369a-1dc2-4e99-864d-9ddf389aaabb
cf4a42fb-7602-4483-92ac-b42ec8684e22
1f141dd5-b251-40fc-a804-6a19165c7606
c7dd2147-46c1-4cdc-8a21-7401974d8138

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: