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)

019c3c05-6dd8-776d-88f4-f03343a2ae09
019c3c05-6dd8-7913-90dc-89210912770d
019c3c05-6dd8-7a4e-ad71-7a9326159319
019c3c05-6dd8-7b71-9038-1afaeae6c0ec
019c3c05-6dd8-7c90-8300-312aa686d9fa
019c3c05-6dd8-7daa-ae6b-9318fcd4f0ba
019c3c05-6dd8-7efe-a3ff-c8dc8d17aaac
019c3c05-6dd9-701d-b952-6a4b20371649
019c3c05-6dd9-713c-ae36-e9e99efa9d47
019c3c05-6dd9-7257-9e5e-3d9ea395c4ed
019c3c05-6dd9-736d-a140-59dca50f4447
019c3c05-6dd9-748c-936b-b8951b2fd030
019c3c05-6dd9-75a6-a5cc-a49b2e724e31
019c3c05-6dd9-76c1-a90b-0a08cca0efe1
019c3c05-6dd9-77dc-8478-b9ad46bd2763

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)

1f104baa-7944-6388-972c-4cf95d479851
1f104baa-7944-6504-972c-4cf95d479851
1f104baa-7944-65ea-972c-4cf95d479851
1f104baa-7944-66bc-972c-4cf95d479851
1f104baa-7944-6784-972c-4cf95d479851
1f104baa-7944-684c-972c-4cf95d479851
1f104baa-7944-690a-972c-4cf95d479851
1f104baa-7944-69c8-972c-4cf95d479851
1f104baa-7944-6a86-972c-4cf95d479851
1f104baa-7944-6b44-972c-4cf95d479851
1f104baa-7944-6c84-972c-4cf95d479851
1f104baa-7944-6d56-972c-4cf95d479851
1f104baa-7944-6e14-972c-4cf95d479851
1f104baa-7944-6ec8-972c-4cf95d479851
1f104baa-7944-6f86-972c-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)

34c7728d-693c-4cbf-adea-af4666073f57
cd2ab798-fffd-4255-b2ec-e290daa2ec5b
8ba6cf63-218f-4fb4-90a4-c95031b49a01
ef1e6b11-8ac0-42f9-8e5e-ce12deb78092
1bdcb90c-4198-4303-b3b1-474b813ee42e
154bf5f3-93e6-4466-ad51-cea5dd07d207
40c706ae-7787-464e-abc9-a9f34400a6c6
b147850c-dce6-401f-971b-1780b6c818e6
c88b38e5-21de-4032-aeb9-82d21544e3e1
f15a9f46-8e8b-4569-8a2a-5c60b12f930c
e2522267-66af-4859-900a-53f499fc83bf
f6992baa-c0b0-4467-84c7-ef663aeff68e
629a8f5e-b614-4f3d-9ecf-ca8e9b62934b
98c7e244-1472-43f3-b810-0b99efa1c50b
67d6e230-ab87-4ee6-a31a-d619e472f2c1

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)

a79454a4-04ba-11f1-972c-4cf95d479851
a7945508-04ba-11f1-972c-4cf95d479851
a7945562-04ba-11f1-972c-4cf95d479851
a79455bc-04ba-11f1-972c-4cf95d479851
a7945616-04ba-11f1-972c-4cf95d479851
a794567a-04ba-11f1-972c-4cf95d479851
a79456d4-04ba-11f1-972c-4cf95d479851
a794572e-04ba-11f1-972c-4cf95d479851
a7945792-04ba-11f1-972c-4cf95d479851
a79457ec-04ba-11f1-972c-4cf95d479851
a7945846-04ba-11f1-972c-4cf95d479851
a79458b4-04ba-11f1-972c-4cf95d479851
a7945918-04ba-11f1-972c-4cf95d479851
a794597c-04ba-11f1-972c-4cf95d479851
a79459e0-04ba-11f1-972c-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)

7a5db636-9c01-8702-87ea-5ce32bd83b97
587db736-9c01-8702-87ea-5ce32bd83b97
d7ebb836-9c01-8702-87ea-5ce32bd83b97
8e39b936-9c01-8702-87ea-5ce32bd83b97
a46dba36-9c01-8702-87ea-5ce32bd83b97
29dcbb36-9c01-8702-87ea-5ce32bd83b97
b0a9bc36-9c01-8702-87ea-5ce32bd83b97
accfbd36-9c01-8702-87ea-5ce32bd83b97
3a6abe36-9c01-8702-87ea-5ce32bd83b97
bd64bf36-9c01-8702-87ea-5ce32bd83b97
1a8fc136-9c01-8702-87ea-5ce32bd83b97
350ac236-9c01-8702-87ea-5ce32bd83b97
d798c336-9c01-8702-87ea-5ce32bd83b97
5195c436-9c01-8702-87ea-5ce32bd83b97
2581c536-9c01-8702-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: