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)

019bbbfb-0229-7f69-99cf-0611812da53d
019bbbfb-022a-7103-a079-fa55f5ba5f85
019bbbfb-022a-723e-a715-48f274ca66d3
019bbbfb-022a-7361-8faf-1610516bafd1
019bbbfb-022a-747f-b38b-1fe94addab05
019bbbfb-022a-759a-9770-d69d57fde65a
019bbbfb-022a-76b5-be02-48864e73209e
019bbbfb-022a-77d3-a899-51824b95ca64
019bbbfb-022a-78f6-84ba-50437c8fb79f
019bbbfb-022a-7a11-9a43-995368572f8f
019bbbfb-022a-7b2c-b575-92ddb11d57ed
019bbbfb-022a-7c46-8457-52934940b061
019bbbfb-022a-7d61-a424-a7ce41ab9265
019bbbfb-022a-7e7f-9f38-029edeeb8a5f
019bbbfb-022a-7f96-ad3c-1d73a74a6b6f

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)

1f0f1311-085f-626c-be2a-4cf95d479851
1f0f1311-085f-63f2-be2a-4cf95d479851
1f0f1311-085f-64d8-be2a-4cf95d479851
1f0f1311-085f-65aa-be2a-4cf95d479851
1f0f1311-085f-6672-be2a-4cf95d479851
1f0f1311-085f-6730-be2a-4cf95d479851
1f0f1311-085f-67f8-be2a-4cf95d479851
1f0f1311-085f-68c0-be2a-4cf95d479851
1f0f1311-085f-697e-be2a-4cf95d479851
1f0f1311-085f-6a46-be2a-4cf95d479851
1f0f1311-085f-6b86-be2a-4cf95d479851
1f0f1311-085f-6c4e-be2a-4cf95d479851
1f0f1311-085f-6d02-be2a-4cf95d479851
1f0f1311-085f-6dca-be2a-4cf95d479851
1f0f1311-085f-6e88-be2a-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)

714d09f3-db6d-4622-94d8-728957030c53
2d96c9fe-a8a0-4acc-baaf-b39313982760
796abda5-b6af-44c4-993c-bcf27ca56c0a
51e660fa-aa72-44f0-a68d-18f3c7f1ca58
90c66135-e55d-433b-873a-f272fc6bc562
15abe3ec-a54e-48fe-9437-366a1358fb4c
e854724b-5507-46e8-b2de-ff123646da70
c90ed9d4-67ff-4833-a909-914f847517fa
a74901e4-fb68-4cc4-b7c6-599e9b18ea25
70f8b354-d6c5-451e-bf7c-d63e4d55a908
5d66cedd-b8c7-4ef5-8419-77d98429c537
d2dc9e25-4e32-4bf1-b523-f78db0493d6f
a8bd6552-3572-4c0a-9b9c-8b440649036d
d87a792a-02b2-4ee8-8c99-55ba96bffa84
6f7899f7-6276-48e1-947d-2520df78fe93

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)

108603b0-f131-11f0-be2a-4cf95d479851
10860414-f131-11f0-be2a-4cf95d479851
10860478-f131-11f0-be2a-4cf95d479851
108604d2-f131-11f0-be2a-4cf95d479851
10860536-f131-11f0-be2a-4cf95d479851
1086059a-f131-11f0-be2a-4cf95d479851
10860608-f131-11f0-be2a-4cf95d479851
10860676-f131-11f0-be2a-4cf95d479851
108606da-f131-11f0-be2a-4cf95d479851
10860748-f131-11f0-be2a-4cf95d479851
108607ac-f131-11f0-be2a-4cf95d479851
1086081a-f131-11f0-be2a-4cf95d479851
1086087e-f131-11f0-be2a-4cf95d479851
108608e2-f131-11f0-be2a-4cf95d479851
1086093c-f131-11f0-be2a-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)

3aad2308-6202-8e00-87ea-5ce32bd83b97
1daa2508-6202-8e00-87ea-5ce32bd83b97
7c222608-6202-8e00-87ea-5ce32bd83b97
04342708-6202-8e00-87ea-5ce32bd83b97
9ee72808-6202-8e00-87ea-5ce32bd83b97
f2872908-6202-8e00-87ea-5ce32bd83b97
2bca2a08-6202-8e00-87ea-5ce32bd83b97
fd422b08-6202-8e00-87ea-5ce32bd83b97
ea422c08-6202-8e00-87ea-5ce32bd83b97
a8fc2d08-6202-8e00-87ea-5ce32bd83b97
32d02e08-6202-8e00-87ea-5ce32bd83b97
0d9a2f08-6202-8e00-87ea-5ce32bd83b97
f34c3008-6202-8e00-87ea-5ce32bd83b97
ffc03108-6202-8e00-87ea-5ce32bd83b97
dbfd3208-6202-8e00-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: