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)

019592ff-17f9-79b3-be35-e83362a5b827
019592ff-17f9-7b5d-9208-0502cf2e16e3
019592ff-17f9-7ca8-90b8-f675aa53112d
019592ff-17f9-7dcb-9292-2553a4567955
019592ff-17f9-7eea-b695-bad2bfcded83
019592ff-17f9-7005-95de-16e966710ee8
019592ff-17fa-7123-b062-d7937dbaa9c4
019592ff-17fa-723e-a48b-a96db9b5d470
019592ff-17fa-7359-9a08-d9f033017978
019592ff-17fa-7473-8b8e-de072862c7fa
019592ff-17fa-758e-a5b7-e32b5c8e2bdf
019592ff-17fa-76a8-9063-1accc40bf296
019592ff-17fa-77c3-b9cc-227eb33c26d8
019592ff-17fa-78de-83e1-c791e2ee61bb
019592ff-17fa-79fc-9f1d-432bf8ad1c96

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)

1f000902-019f-635a-aa37-4cf95d479851
1f000902-019f-64fe-aa37-4cf95d479851
1f000902-019f-65ee-aa37-4cf95d479851
1f000902-019f-66b6-aa37-4cf95d479851
1f000902-019f-677e-aa37-4cf95d479851
1f000902-019f-6846-aa37-4cf95d479851
1f000902-019f-690e-aa37-4cf95d479851
1f000902-019f-69cc-aa37-4cf95d479851
1f000902-019f-6a94-aa37-4cf95d479851
1f000902-019f-6b52-aa37-4cf95d479851
1f000902-019f-6c9c-aa37-4cf95d479851
1f000902-019f-6d6e-aa37-4cf95d479851
1f000902-019f-6e2c-aa37-4cf95d479851
1f000902-019f-6eea-aa37-4cf95d479851
1f000902-019f-6fa8-aa37-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)

d6094517-3256-4192-b5b4-7b7afd521022
d5063140-bca2-4384-97ac-ae7e030f4e1f
df1a894f-06a9-4ddc-9bf1-593cb5d500c5
7242c94b-d34a-4e89-b2b9-d7a9b1dd76ff
e074aae6-9ca0-44e8-b350-2e5dae434da9
2395a80f-8fe2-4b8f-8ab3-8e2b7776cd1f
34da5b64-01c1-4cf9-bcaf-2739ca09099c
fd446190-bcb9-4a28-a2ce-f340252ca636
5bf87976-18bd-423a-a64e-3bde616be15d
612f539a-6552-495b-8312-9af99987a3ee
0e1f01e3-cde7-491a-9e32-c97e70a7e270
eba58f0f-e20b-45ff-8c53-63226ce02c91
4309592f-46c0-4e88-975b-1f5d9194ac3a
82714867-9604-49d0-9d77-68ecdb7dac9d
d6210428-bd30-47e7-bd01-fd1bab85863b

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)

201a04c6-0090-11f0-aa37-4cf95d479851
201a052a-0090-11f0-aa37-4cf95d479851
201a0598-0090-11f0-aa37-4cf95d479851
201a05fc-0090-11f0-aa37-4cf95d479851
201a0660-0090-11f0-aa37-4cf95d479851
201a06c4-0090-11f0-aa37-4cf95d479851
201a071e-0090-11f0-aa37-4cf95d479851
201a0782-0090-11f0-aa37-4cf95d479851
201a07e6-0090-11f0-aa37-4cf95d479851
201a084a-0090-11f0-aa37-4cf95d479851
201a08ae-0090-11f0-aa37-4cf95d479851
201a0908-0090-11f0-aa37-4cf95d479851
201a096c-0090-11f0-aa37-4cf95d479851
201a09d0-0090-11f0-aa37-4cf95d479851
201a0a34-0090-11f0-aa37-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)

16ee3c1a-0125-8049-87e9-5ce32bd83b96
753e3d1a-0125-8049-87e9-5ce32bd83b96
f6193e1a-0125-8049-87e9-5ce32bd83b96
bb563f1a-0125-8049-87e9-5ce32bd83b96
3cbb401a-0125-8049-87e9-5ce32bd83b96
0368411a-0125-8049-87e9-5ce32bd83b96
ff56421a-0125-8049-87e9-5ce32bd83b96
f41e431a-0125-8049-87e9-5ce32bd83b96
fbce441a-0125-8049-87e9-5ce32bd83b96
6053451a-0125-8049-87e9-5ce32bd83b96
6877461a-0125-8049-87e9-5ce32bd83b96
4c23471a-0125-8049-87e9-5ce32bd83b96
e722481a-0125-8049-87e9-5ce32bd83b96
26c74a1a-0125-8049-87e9-5ce32bd83b96
93cf4b1a-0125-8049-87e9-5ce32bd83b96

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

An 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

An UUIDv3 is made out of a MD5 hash and an 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: