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)

01a0d087-0232-7cd1-a3fb-33a34c64626c
01a0d087-0232-7eda-b046-7e00bf2fbd59
01a0d087-0233-7021-83f3-fe40bf0f098c
01a0d087-0233-713c-bc14-518977f3a43a
01a0d087-0233-7263-80c1-7ac491d17f0f
01a0d087-0233-737d-b267-b0a93b392366
01a0d087-0233-7494-805c-ee9fd95609cb
01a0d087-0233-75af-b216-eb56389dfb00
01a0d087-0233-76c5-8f3a-abf7569a2cd7
01a0d087-0233-77dc-9208-b74b23d7ad9e
01a0d087-0233-78f2-acc0-9e4c5cfa3b0e
01a0d087-0233-7a09-904c-11d99b15266b
01a0d087-0233-7b1f-b286-be06d1d07922
01a0d087-0233-7c36-ba23-8a0c78e3b179
01a0d087-0233-7d50-9bb2-8d08dd041f45

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)

1f1b7a3a-d474-6e78-9cf0-4cf95d479851
1f1b7a3a-d475-6044-9cf0-4cf95d479851
1f1b7a3a-d475-6134-9cf0-4cf95d479851
1f1b7a3a-d475-61fc-9cf0-4cf95d479851
1f1b7a3a-d475-62ce-9cf0-4cf95d479851
1f1b7a3a-d475-6396-9cf0-4cf95d479851
1f1b7a3a-d475-6454-9cf0-4cf95d479851
1f1b7a3a-d475-6512-9cf0-4cf95d479851
1f1b7a3a-d475-65da-9cf0-4cf95d479851
1f1b7a3a-d475-66a2-9cf0-4cf95d479851
1f1b7a3a-d475-6828-9cf0-4cf95d479851
1f1b7a3a-d475-6990-9cf0-4cf95d479851
1f1b7a3a-d475-6a8a-9cf0-4cf95d479851
1f1b7a3a-d475-6b52-9cf0-4cf95d479851
1f1b7a3a-d475-6c10-9cf0-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)

ad475cec-b7a3-11f1-9cf0-4cf95d479851
ad475d50-b7a3-11f1-9cf0-4cf95d479851
ad475db4-b7a3-11f1-9cf0-4cf95d479851
ad475e0e-b7a3-11f1-9cf0-4cf95d479851
ad475e72-b7a3-11f1-9cf0-4cf95d479851
ad475ed6-b7a3-11f1-9cf0-4cf95d479851
ad475f30-b7a3-11f1-9cf0-4cf95d479851
ad475f9e-b7a3-11f1-9cf0-4cf95d479851
ad475ff8-b7a3-11f1-9cf0-4cf95d479851
ad47605c-b7a3-11f1-9cf0-4cf95d479851
ad4760c0-b7a3-11f1-9cf0-4cf95d479851
ad476124-b7a3-11f1-9cf0-4cf95d479851
ad47617e-b7a3-11f1-9cf0-4cf95d479851
ad4761e2-b7a3-11f1-9cf0-4cf95d479851
ad476246-b7a3-11f1-9cf0-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)

882dfc17-6d05-8a10-87ea-5ce32bd83b97
358bfd17-6d05-8a10-87ea-5ce32bd83b97
56aafe17-6d05-8a10-87ea-5ce32bd83b97
a97e0018-6d05-8a10-87ea-5ce32bd83b97
a3750118-6d05-8a10-87ea-5ce32bd83b97
b0780218-6d05-8a10-87ea-5ce32bd83b97
c3280318-6d05-8a10-87ea-5ce32bd83b97
0f760418-6d05-8a10-87ea-5ce32bd83b97
0e990518-6d05-8a10-87ea-5ce32bd83b97
43660618-6d05-8a10-87ea-5ce32bd83b97
e3790718-6d05-8a10-87ea-5ce32bd83b97
573c0818-6d05-8a10-87ea-5ce32bd83b97
3ab30918-6d05-8a10-87ea-5ce32bd83b97
7ceb0a18-6d05-8a10-87ea-5ce32bd83b97
354a0b18-6d05-8a10-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)

7aa87b74-4ca6-4337-a4b3-1c28dd403291
fce0e518-c58b-4513-857d-6f856588b9d1
a276fc99-7453-4071-b6f5-813377a99288
b9e08c6a-25a2-485b-8281-78e7923047b5
2ccd5af2-0d4c-478d-b445-0f177190fb65
046ff013-ab18-43e8-acf4-688ad060af66
17c06911-b609-4fe2-8aab-6fe80ba50b58
2b13a229-7cd5-4a4f-a463-fb0259a98e1e
519b9bd2-bb54-46db-9e5f-2922d1bd73af
f435b92c-1e3b-48f2-9cba-0a67f0544cc9
edffac2a-fa21-4d60-b381-874092e8b46e
49a3951d-b541-4fd8-b6a3-686f586898a3
38d78f00-9a96-46e3-bf49-a28b94969a5a
54e4dee2-b84b-49bb-a7d1-e2b392d347e0
35300cd6-74a0-4d44-bc27-fa6932811e9b

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: