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)

01a0d5b4-4188-77cb-8bc7-76ad8d8f714c
01a0d5b4-4188-7969-b7b3-f2f38b4ec6ee
01a0d5b4-4188-7aa8-a7ba-33d2b490f5ac
01a0d5b4-4188-7bcb-a711-6d3ea56b991e
01a0d5b4-4188-7ce2-8a2d-d7e5ca908c07
01a0d5b4-4188-7df8-b161-dc5ea62321dc
01a0d5b4-4188-7f0b-90b5-115998c20a4f
01a0d5b4-4189-7021-9152-2392d0b0ce68
01a0d5b4-4189-7138-a2af-26ce5d5dbb9b
01a0d5b4-4189-724a-8f5a-6c8184c627a7
01a0d5b4-4189-7361-9a93-06b17a7cf945
01a0d5b4-4189-73e0-ba44-5b7398592e44
01a0d5b4-4189-74f6-a4a2-9134bf2314b7
01a0d5b4-4189-7609-b156-7ed401e15901
01a0d5b4-4189-771f-b977-62dcb4f7fd62

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)

1f1b86de-4c14-6ea6-9024-4cf95d479851
1f1b86de-4c15-607c-9024-4cf95d479851
1f1b86de-4c15-6162-9024-4cf95d479851
1f1b86de-4c15-6234-9024-4cf95d479851
1f1b86de-4c15-62f2-9024-4cf95d479851
1f1b86de-4c15-63ba-9024-4cf95d479851
1f1b86de-4c15-6478-9024-4cf95d479851
1f1b86de-4c15-6540-9024-4cf95d479851
1f1b86de-4c15-65fe-9024-4cf95d479851
1f1b86de-4c15-66b2-9024-4cf95d479851
1f1b86de-4c15-6806-9024-4cf95d479851
1f1b86de-4c15-68d8-9024-4cf95d479851
1f1b86de-4c15-6996-9024-4cf95d479851
1f1b86de-4c15-6a54-9024-4cf95d479851
1f1b86de-4c15-6b12-9024-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)

e4c15bee-b86d-11f1-9024-4cf95d479851
e4c15c52-b86d-11f1-9024-4cf95d479851
e4c15cc0-b86d-11f1-9024-4cf95d479851
e4c15d24-b86d-11f1-9024-4cf95d479851
e4c15d7e-b86d-11f1-9024-4cf95d479851
e4c15de2-b86d-11f1-9024-4cf95d479851
e4c15e46-b86d-11f1-9024-4cf95d479851
e4c15ea0-b86d-11f1-9024-4cf95d479851
e4c15f04-b86d-11f1-9024-4cf95d479851
e4c15f5e-b86d-11f1-9024-4cf95d479851
e4c15fc2-b86d-11f1-9024-4cf95d479851
e4c1601c-b86d-11f1-9024-4cf95d479851
e4c16094-b86d-11f1-9024-4cf95d479851
e4c16102-b86d-11f1-9024-4cf95d479851
e4c16166-b86d-11f1-9024-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)

b4546737-7405-8b10-87ea-5ce32bd83b97
da586837-7405-8b10-87ea-5ce32bd83b97
27626937-7405-8b10-87ea-5ce32bd83b97
ab166a37-7405-8b10-87ea-5ce32bd83b97
93826b37-7405-8b10-87ea-5ce32bd83b97
d4906c37-7405-8b10-87ea-5ce32bd83b97
a2d16d37-7405-8b10-87ea-5ce32bd83b97
a28b6e37-7405-8b10-87ea-5ce32bd83b97
a2f56f37-7405-8b10-87ea-5ce32bd83b97
e4727037-7405-8b10-87ea-5ce32bd83b97
d9a37137-7405-8b10-87ea-5ce32bd83b97
dce47237-7405-8b10-87ea-5ce32bd83b97
7c4e7337-7405-8b10-87ea-5ce32bd83b97
7b007437-7405-8b10-87ea-5ce32bd83b97
437f7537-7405-8b10-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)

fe2428c2-88aa-45ab-91a3-9501c44ba1ec
9f2528f2-3f77-4251-85d4-c68cc79c92ae
1f93f1cd-7356-4d4c-9393-c4bdc0e89ccc
df4e4706-e718-44f5-8112-01b68774a856
367bbeaf-d8d4-4331-8d36-c6b67227432b
ed843647-249a-4bf3-af60-eaf81361e3b3
e5db8cd6-e9e5-457b-b8f7-1841a31c7dc7
3067f61e-c575-4dbe-b4de-b857b7d55632
6df34502-9cfb-44ea-b1f5-1a2ebfffb5dc
190fdd1a-3e0e-4c3b-9c05-97d35bd9a78c
38d28e1f-2371-4bc5-bb33-7757eccb86ea
3d268b38-6da5-438a-8bc1-7d57bbd25b6f
14f00ab3-2b7a-44bb-aac3-e4308ba9e44e
4f21d448-d2a1-47fa-a612-ba3fc8285f2f
e2a3bede-511e-4272-81e7-b3973eda79c8

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: