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)

019ba455-d19d-7a6b-9503-4292bab9be21
019ba455-d19d-7bf4-be6a-e66262d99eb2
019ba455-d19d-7d30-a08e-6522e273566a
019ba455-d19d-7e4a-9729-d1b83c179bd5
019ba455-d19d-7f65-89a2-17eb64b8179c
019ba455-d19e-707f-b008-47470da052bf
019ba455-d19e-7196-8cbf-e7df830aff7a
019ba455-d19e-72b1-ab90-2a413c6758fe
019ba455-d19e-73c7-8d96-962dd2a4d7c4
019ba455-d19e-74de-a515-a206f96fc3d8
019ba455-d19e-75f4-b42b-c933974bc662
019ba455-d19e-770b-8a83-197aaba0170f
019ba455-d19e-7821-bcdc-409249367c28
019ba455-d19e-7938-8e75-8ac537ec0c9c
019ba455-d19e-7a4e-838e-1c302ba60077

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)

1f0ed956-bcd8-68be-a65c-4cf95d479851
1f0ed956-bcd8-6a44-a65c-4cf95d479851
1f0ed956-bcd8-6b20-a65c-4cf95d479851
1f0ed956-bcd8-6be8-a65c-4cf95d479851
1f0ed956-bcd8-6cb0-a65c-4cf95d479851
1f0ed956-bcd8-6d6e-a65c-4cf95d479851
1f0ed956-bcd8-6e2c-a65c-4cf95d479851
1f0ed956-bcd8-6eea-a65c-4cf95d479851
1f0ed956-bcd8-6fa8-a65c-4cf95d479851
1f0ed956-bcd9-605c-a65c-4cf95d479851
1f0ed956-bcd9-619c-a65c-4cf95d479851
1f0ed956-bcd9-6264-a65c-4cf95d479851
1f0ed956-bcd9-6322-a65c-4cf95d479851
1f0ed956-bcd9-63d6-a65c-4cf95d479851
1f0ed956-bcd9-6494-a65c-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)

acf68f7a-cf75-420f-925f-94c390cfdf7f
d25290ed-5ee7-4acd-b81f-196c7be57a64
0d83cb4c-8d73-46de-9952-7d5489d95431
cb0709f4-a170-4f93-a81b-a6987135627b
9fa13d53-4e09-4f03-8cac-7445eafa7162
4a7770e0-9fbe-4974-8e31-c5f218bf97a5
f7aeeaa5-0241-45cd-b711-5b835b81e304
1544b951-8bd7-4515-9a26-d67251dfb854
036e721b-6313-4c6b-9aca-a246f905cdc3
1b60e7ac-5ed6-4f1a-bab1-e5349eee0b84
3541de15-574e-4c0e-a3bc-7864252b8d8e
ff09fd71-41aa-4135-82f1-b2a8b10a4144
72c42552-7753-4ea8-b115-cc64b871c018
d2a0b982-04a0-4323-888c-2603b076a17d
b73f6596-5b2c-4950-a79e-fa7184f8da30

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)

6bcd9a2a-ed95-11f0-a65c-4cf95d479851
6bcd9a8e-ed95-11f0-a65c-4cf95d479851
6bcd9af2-ed95-11f0-a65c-4cf95d479851
6bcd9b56-ed95-11f0-a65c-4cf95d479851
6bcd9bba-ed95-11f0-a65c-4cf95d479851
6bcd9c1e-ed95-11f0-a65c-4cf95d479851
6bcd9c82-ed95-11f0-a65c-4cf95d479851
6bcd9cdc-ed95-11f0-a65c-4cf95d479851
6bcd9d36-ed95-11f0-a65c-4cf95d479851
6bcd9d90-ed95-11f0-a65c-4cf95d479851
6bcd9df4-ed95-11f0-a65c-4cf95d479851
6bcd9e4e-ed95-11f0-a65c-4cf95d479851
6bcd9ea8-ed95-11f0-a65c-4cf95d479851
6bcd9f02-ed95-11f0-a65c-4cf95d479851
6bcd9f66-ed95-11f0-a65c-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)

33664d1a-ae04-8900-87ea-5ce32bd83b97
e9c34e1a-ae04-8900-87ea-5ce32bd83b97
07fa4f1a-ae04-8900-87ea-5ce32bd83b97
086b501a-ae04-8900-87ea-5ce32bd83b97
6ad2511a-ae04-8900-87ea-5ce32bd83b97
4897521a-ae04-8900-87ea-5ce32bd83b97
21c2531a-ae04-8900-87ea-5ce32bd83b97
4b69541a-ae04-8900-87ea-5ce32bd83b97
cc65561a-ae04-8900-87ea-5ce32bd83b97
0ef3571a-ae04-8900-87ea-5ce32bd83b97
155c581a-ae04-8900-87ea-5ce32bd83b97
03a8591a-ae04-8900-87ea-5ce32bd83b97
26c95a1a-ae04-8900-87ea-5ce32bd83b97
b00a5b1a-ae04-8900-87ea-5ce32bd83b97
56c25c1a-ae04-8900-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: