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)

019f2ff6-e342-7b6d-a1bc-69813b243136
019f2ff6-e342-7cfe-b847-90a3bc263a87
019f2ff6-e342-7e3e-bacb-689a515fbe3e
019f2ff6-e342-7f5d-bf8d-e0a99c2ad3e8
019f2ff6-e343-7077-b79c-9312061f1c11
019f2ff6-e343-718e-b896-fb26df0f1d40
019f2ff6-e343-72a0-9e8f-7ed803549f6e
019f2ff6-e343-73b7-b110-8b327dc4a018
019f2ff6-e343-74cd-a615-789ea09464fd
019f2ff6-e343-75e0-8aab-58e935972c46
019f2ff6-e343-76f2-8877-1406deac0584
019f2ff6-e343-7809-aa22-e50bdeb398c7
019f2ff6-e343-791f-9585-abf88fd2c4cf
019f2ff6-e343-7a32-912a-462a8e772a38
019f2ff6-e343-7b48-82dd-65d9cddd58f1

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)

1f17813a-f8ec-6884-9f0f-4cf95d479851
1f17813a-f8ec-6a3c-9f0f-4cf95d479851
1f17813a-f8ec-6b22-9f0f-4cf95d479851
1f17813a-f8ec-6bf4-9f0f-4cf95d479851
1f17813a-f8ec-6cb2-9f0f-4cf95d479851
1f17813a-f8ec-6d84-9f0f-4cf95d479851
1f17813a-f8ec-6e42-9f0f-4cf95d479851
1f17813a-f8ec-6f0a-9f0f-4cf95d479851
1f17813a-f8ec-6fd2-9f0f-4cf95d479851
1f17813a-f8ed-6090-9f0f-4cf95d479851
1f17813a-f8ed-61f8-9f0f-4cf95d479851
1f17813a-f8ed-62ca-9f0f-4cf95d479851
1f17813a-f8ed-6392-9f0f-4cf95d479851
1f17813a-f8ed-645a-9f0f-4cf95d479851
1f17813a-f8ed-6518-9f0f-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)

af8ed5f4-7813-11f1-9f0f-4cf95d479851
af8ed66c-7813-11f1-9f0f-4cf95d479851
af8ed6da-7813-11f1-9f0f-4cf95d479851
af8ed73e-7813-11f1-9f0f-4cf95d479851
af8ed7ac-7813-11f1-9f0f-4cf95d479851
af8ed810-7813-11f1-9f0f-4cf95d479851
af8ed86a-7813-11f1-9f0f-4cf95d479851
af8ed8d8-7813-11f1-9f0f-4cf95d479851
af8ed932-7813-11f1-9f0f-4cf95d479851
af8ed996-7813-11f1-9f0f-4cf95d479851
af8eda0e-7813-11f1-9f0f-4cf95d479851
af8eda68-7813-11f1-9f0f-4cf95d479851
af8edad6-7813-11f1-9f0f-4cf95d479851
af8edb30-7813-11f1-9f0f-4cf95d479851
af8edb94-7813-11f1-9f0f-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)

b1ab0739-6d00-8a0b-87ea-5ce32bd83b97
f1ff0839-6d00-8a0b-87ea-5ce32bd83b97
b1330939-6d00-8a0b-87ea-5ce32bd83b97
ccc30a39-6d00-8a0b-87ea-5ce32bd83b97
0eba0b39-6d00-8a0b-87ea-5ce32bd83b97
488b0c39-6d00-8a0b-87ea-5ce32bd83b97
3dcf0d39-6d00-8a0b-87ea-5ce32bd83b97
94920e39-6d00-8a0b-87ea-5ce32bd83b97
2dcb0f39-6d00-8a0b-87ea-5ce32bd83b97
3f191139-6d00-8a0b-87ea-5ce32bd83b97
f5641239-6d00-8a0b-87ea-5ce32bd83b97
8be31339-6d00-8a0b-87ea-5ce32bd83b97
4f3b1439-6d00-8a0b-87ea-5ce32bd83b97
e7621539-6d00-8a0b-87ea-5ce32bd83b97
d24d1639-6d00-8a0b-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)

c7041482-d2a7-4fcd-9b6c-c656bc136d3c
b599d9ce-db2b-4b5a-9617-b20ccbfa1243
9f109774-990b-491c-9c7d-8a320497c7bd
1864fdc8-9963-49d1-94cc-83f212d79bad
4c568b97-349f-4eb4-9555-3396f82f5eec
f4a84408-6cbf-4505-a20c-389c64996205
0942b4a6-8b41-4a19-bda6-c81a5f5d9354
9e5f0fd5-cb1c-4eb9-b0c2-6c560ada81c8
106317ec-d208-4674-a013-d4e84726d42a
b7e19149-209f-44d9-9129-718f298595eb
6e5b5401-3c25-491b-a70a-c762004469f4
8b3a2300-39fe-4319-be3b-6b9929d4d6df
059cdf9f-4e95-4da4-8dfb-b4f5b20ada9d
9983efae-5b8e-4d3b-83da-8e7748b636e5
2a370e69-ac7d-49f6-9812-1bb7ea47a4d4

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: