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)

019f6bd6-cb74-7b1f-aff3-6d2c42917e2b
019f6bd6-cb74-7ccd-b841-9e6cbce4bf8f
019f6bd6-cb74-7e09-8b05-9c125297c80c
019f6bd6-cb74-7f1f-8c9d-ada11db79350
019f6bd6-cb75-7032-92c4-11b7cf2b080b
019f6bd6-cb75-7144-807d-1e2ef4c2cde1
019f6bd6-cb75-7257-9323-c5ba6fc93576
019f6bd6-cb75-7369-9607-9bf336b2ce1d
019f6bd6-cb75-7488-87cd-b6b9564464a9
019f6bd6-cb75-759a-a38e-6d6cf4b50c9a
019f6bd6-cb75-76b1-9b98-0650736b3825
019f6bd6-cb75-77bf-ace9-82c04a411341
019f6bd6-cb75-78d1-b572-77a63d7e69a2
019f6bd6-cb75-79e0-9cce-530f6924663d
019f6bd6-cb75-7af2-a0d9-efe649d0912f

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)

1f181368-9ece-6b02-b564-4cf95d479851
1f181368-9ece-6cba-b564-4cf95d479851
1f181368-9ece-6da0-b564-4cf95d479851
1f181368-9ece-6e72-b564-4cf95d479851
1f181368-9ece-6f3a-b564-4cf95d479851
1f181368-9ece-6ff8-b564-4cf95d479851
1f181368-9ecf-60c0-b564-4cf95d479851
1f181368-9ecf-617e-b564-4cf95d479851
1f181368-9ecf-623c-b564-4cf95d479851
1f181368-9ecf-62fa-b564-4cf95d479851
1f181368-9ecf-643a-b564-4cf95d479851
1f181368-9ecf-6502-b564-4cf95d479851
1f181368-9ecf-65c0-b564-4cf95d479851
1f181368-9ecf-6688-b564-4cf95d479851
1f181368-9ecf-6746-b564-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)

89ecf818-8136-11f1-b564-4cf95d479851
89ecf87c-8136-11f1-b564-4cf95d479851
89ecf8d6-8136-11f1-b564-4cf95d479851
89ecf93a-8136-11f1-b564-4cf95d479851
89ecf9a8-8136-11f1-b564-4cf95d479851
89ecfa02-8136-11f1-b564-4cf95d479851
89ecfa66-8136-11f1-b564-4cf95d479851
89ecfaca-8136-11f1-b564-4cf95d479851
89ecfb24-8136-11f1-b564-4cf95d479851
89ecfb88-8136-11f1-b564-4cf95d479851
89ecfbe2-8136-11f1-b564-4cf95d479851
89ecfc3c-8136-11f1-b564-4cf95d479851
89ecfca0-8136-11f1-b564-4cf95d479851
89ecfcfa-8136-11f1-b564-4cf95d479851
89ecfd54-8136-11f1-b564-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)

1405bd06-f403-850c-87ea-5ce32bd83b97
92c7be06-f403-850c-87ea-5ce32bd83b97
f61cbf06-f403-850c-87ea-5ce32bd83b97
6348c006-f403-850c-87ea-5ce32bd83b97
fbf1c106-f403-850c-87ea-5ce32bd83b97
cf9fc306-f403-850c-87ea-5ce32bd83b97
4fd5c406-f403-850c-87ea-5ce32bd83b97
70eac506-f403-850c-87ea-5ce32bd83b97
3697c606-f403-850c-87ea-5ce32bd83b97
7d27c706-f403-850c-87ea-5ce32bd83b97
d375c806-f403-850c-87ea-5ce32bd83b97
3eddc906-f403-850c-87ea-5ce32bd83b97
a7bcca06-f403-850c-87ea-5ce32bd83b97
e819cb06-f403-850c-87ea-5ce32bd83b97
3566cc06-f403-850c-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)

cba3d262-786a-437e-8a69-72571e4fc79e
4298c880-7e85-47c5-9f36-568b007728c2
1695e379-ea85-487b-9eeb-a2c54266880e
e226bdb3-4d17-4caf-8e7c-885a4b1e0fee
b7372d85-f978-4fcb-ac2b-4a7bdae15306
550a58c6-aa0b-41d7-a9ec-6f8770859833
f253dba2-a916-467b-93b3-558f52c1200a
b24e2918-8b55-4562-aecc-913d6810d260
9cd68ad5-4a3c-4fef-b708-e8e52ec6cb91
8cb33c7f-4822-40c2-92ed-fca8218bebc9
1ee10c41-45ad-41c0-a6e5-3e3fc7047741
3a1092b8-a0c5-47cb-b637-712424d69635
b3d62370-cce5-47cc-8796-53b08798e888
ff41f9f4-a64f-4877-aeb3-07347fdb7b72
12cc4f75-2b76-4c6f-b7e8-65aa8cbcd96b

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: