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)

01a18988-a9e1-78e2-aab4-19eddb71e898
01a18988-a9e1-7aa4-bf4a-618154b45e40
01a18988-a9e1-7be8-87f3-465400cbd73f
01a18988-a9e1-7d07-9229-bea69ef8ba10
01a18988-a9e1-7e1d-8c9a-2bf47286f56d
01a18988-a9e1-7f38-a9d6-bd9fe2eeae94
01a18988-a9e2-704e-8e8a-23d29607a138
01a18988-a9e2-7169-a5a4-40a18d2867b1
01a18988-a9e2-727f-b1e6-befa187a123a
01a18988-a9e2-739a-8d5d-972fc979e74c
01a18988-a9e2-74b1-92f2-ae79427e56b6
01a18988-a9e2-75cb-85d6-f5a4f161ac59
01a18988-a9e2-76e2-9056-667759f670ef
01a18988-a9e2-77fc-be44-8bf5113a1787
01a18988-a9e2-7913-86d4-ad49d4d4ba43

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)

1f1d3de7-ded6-6674-89c7-4cf95d479851
1f1d3de7-ded6-6868-89c7-4cf95d479851
1f1d3de7-ded6-6958-89c7-4cf95d479851
1f1d3de7-ded6-6a2a-89c7-4cf95d479851
1f1d3de7-ded6-6afc-89c7-4cf95d479851
1f1d3de7-ded6-6bce-89c7-4cf95d479851
1f1d3de7-ded6-6cbe-89c7-4cf95d479851
1f1d3de7-ded6-6d9a-89c7-4cf95d479851
1f1d3de7-ded6-6e76-89c7-4cf95d479851
1f1d3de7-ded6-6f48-89c7-4cf95d479851
1f1d3de7-ded7-60c4-89c7-4cf95d479851
1f1d3de7-ded7-61a0-89c7-4cf95d479851
1f1d3de7-ded7-627c-89c7-4cf95d479851
1f1d3de7-ded7-634e-89c7-4cf95d479851
1f1d3de7-ded7-6416-89c7-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)

7ded74f2-d3de-11f1-89c7-4cf95d479851
7ded7560-d3de-11f1-89c7-4cf95d479851
7ded75c4-d3de-11f1-89c7-4cf95d479851
7ded7628-d3de-11f1-89c7-4cf95d479851
7ded768c-d3de-11f1-89c7-4cf95d479851
7ded76fa-d3de-11f1-89c7-4cf95d479851
7ded775e-d3de-11f1-89c7-4cf95d479851
7ded77c2-d3de-11f1-89c7-4cf95d479851
7ded7826-d3de-11f1-89c7-4cf95d479851
7ded788a-d3de-11f1-89c7-4cf95d479851
7ded78ee-d3de-11f1-89c7-4cf95d479851
7ded7952-d3de-11f1-89c7-4cf95d479851
7ded79b6-d3de-11f1-89c7-4cf95d479851
7ded7a1a-d3de-11f1-89c7-4cf95d479851
7ded7a74-d3de-11f1-89c7-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)

cb546939-0005-8e12-87ea-5ce32bd83b97
01e76a39-0005-8e12-87ea-5ce32bd83b97
449b6b39-0005-8e12-87ea-5ce32bd83b97
e1746c39-0005-8e12-87ea-5ce32bd83b97
00cb6d39-0005-8e12-87ea-5ce32bd83b97
25906e39-0005-8e12-87ea-5ce32bd83b97
2ae16f39-0005-8e12-87ea-5ce32bd83b97
e9657039-0005-8e12-87ea-5ce32bd83b97
a1937139-0005-8e12-87ea-5ce32bd83b97
80fd7239-0005-8e12-87ea-5ce32bd83b97
cdb47339-0005-8e12-87ea-5ce32bd83b97
ea9b7439-0005-8e12-87ea-5ce32bd83b97
f42f7539-0005-8e12-87ea-5ce32bd83b97
6aa47639-0005-8e12-87ea-5ce32bd83b97
7c527739-0005-8e12-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)

4ce29d66-c5e2-4489-8278-93a5d291a220
e741bf89-a768-4298-80af-b8b640f3a72d
aa62178a-4fe3-436e-917c-67faa7b3dd43
9bbcac6b-66fe-43f1-8499-7e2e971fb3b0
413c30f0-e827-4d60-8763-531e9c2a8483
733837df-d365-4fbb-a663-971f5b36c70c
fc508a24-024f-4ed9-b75a-43251ae8ef53
059f25f6-eb38-49b0-a5ec-1d8539ed8164
c18561b9-2138-4888-8e28-c7c1140a65b1
e87a6828-9f8b-4488-9e6e-d19a7c63dc55
9dedcaa6-1c1e-47cd-a4fd-7d826165690e
9a270b56-1983-4683-acf2-8aba83c317ec
4a712f7c-e951-4054-bf21-57688b9ab955
46079683-7c50-4adc-8dac-994376ea1140
f776beb9-7791-4e66-942e-e0163a4956f0

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: