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)

019c942d-b84e-7f71-b390-e5aa3ac8306b
019c942d-b84f-710f-8518-77803c26c9c9
019c942d-b84f-7252-95a5-ed6d8410ddd1
019c942d-b84f-7371-9253-d8e3e7133977
019c942d-b84f-748c-982d-950324c66979
019c942d-b84f-75a6-8f4f-6de04d1bccb6
019c942d-b84f-76bd-a95d-47b794a3cc47
019c942d-b84f-77d3-8558-68a713fbc814
019c942d-b84f-78ee-af85-24a75777bf8e
019c942d-b84f-7a05-92c9-3e559000d63e
019c942d-b84f-7b1f-9ddf-bac174f21619
019c942d-b84f-7c36-9c7a-ff804a5bc681
019c942d-b84f-7d50-9a8f-03bd913f25f4
019c942d-b84f-7e6b-9076-a9592b94872e
019c942d-b84f-7f82-85b8-188b959c5aba

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)

1f1122e4-d70f-678a-a43c-4cf95d479851
1f1122e4-d70f-6924-a43c-4cf95d479851
1f1122e4-d70f-6a0a-a43c-4cf95d479851
1f1122e4-d70f-6adc-a43c-4cf95d479851
1f1122e4-d70f-6ba4-a43c-4cf95d479851
1f1122e4-d70f-6c6c-a43c-4cf95d479851
1f1122e4-d70f-6d34-a43c-4cf95d479851
1f1122e4-d70f-6dfc-a43c-4cf95d479851
1f1122e4-d70f-6eba-a43c-4cf95d479851
1f1122e4-d70f-6f82-a43c-4cf95d479851
1f1122e4-d710-60ea-a43c-4cf95d479851
1f1122e4-d710-61bc-a43c-4cf95d479851
1f1122e4-d710-6284-a43c-4cf95d479851
1f1122e4-d710-6342-a43c-4cf95d479851
1f1122e4-d710-63f6-a43c-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)

cb9afe7e-256c-4f14-b2e2-31b1f48a7298
4be8767b-6474-40aa-b193-9c6752c09c93
07539e80-267f-4310-98c8-50424f61774a
bfeb22d1-5de7-491b-8312-341b3889be2b
23351674-cf8a-41e3-bc16-4dae304bc4a0
b390fcfc-9703-4d6e-b5ad-c2a6d2cf15d1
62e63638-001b-4b91-916a-f3a0a4463bed
82b23f11-7ea3-4047-8db2-3d95f6ab0a58
1356424d-05ac-4935-837f-151804ca8670
23a2257c-e05e-4593-8e32-ecac8c34e13a
ff1f7a29-0e80-4077-9d0c-44bdfe3169f6
102b83a3-26cb-43f0-bed3-cc7360dd82d5
79e1468b-432a-4553-80fc-8b9f0146cf1f
bc8dcb3c-7318-46f5-8240-3fbe123528db
d2e8a9f3-0ddf-41d6-9699-18d24e2ce021

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)

4d710928-122e-11f1-a43c-4cf95d479851
4d710996-122e-11f1-a43c-4cf95d479851
4d7109fa-122e-11f1-a43c-4cf95d479851
4d710a5e-122e-11f1-a43c-4cf95d479851
4d710ab8-122e-11f1-a43c-4cf95d479851
4d710b1c-122e-11f1-a43c-4cf95d479851
4d710b76-122e-11f1-a43c-4cf95d479851
4d710bda-122e-11f1-a43c-4cf95d479851
4d710c3e-122e-11f1-a43c-4cf95d479851
4d710c98-122e-11f1-a43c-4cf95d479851
4d710cfc-122e-11f1-a43c-4cf95d479851
4d710d56-122e-11f1-a43c-4cf95d479851
4d710db0-122e-11f1-a43c-4cf95d479851
4d710e14-122e-11f1-a43c-4cf95d479851
4d710e78-122e-11f1-a43c-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)

c99b391e-4702-8803-87ea-5ce32bd83b97
dc083a1e-4702-8803-87ea-5ce32bd83b97
16293b1e-4702-8803-87ea-5ce32bd83b97
bc603c1e-4702-8803-87ea-5ce32bd83b97
b1fb3e1e-4702-8803-87ea-5ce32bd83b97
171e3f1e-4702-8803-87ea-5ce32bd83b97
a928401e-4702-8803-87ea-5ce32bd83b97
d902411e-4702-8803-87ea-5ce32bd83b97
ee85421e-4702-8803-87ea-5ce32bd83b97
6de1431e-4702-8803-87ea-5ce32bd83b97
222f441e-4702-8803-87ea-5ce32bd83b97
b084451e-4702-8803-87ea-5ce32bd83b97
315f461e-4702-8803-87ea-5ce32bd83b97
6be1471e-4702-8803-87ea-5ce32bd83b97
cc8f481e-4702-8803-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: