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)

019c23a4-44d6-763e-9e55-4a628999b654
019c23a4-44d6-77e8-8ac0-68cd53f240a2
019c23a4-44d6-7923-8f3d-253954e2eec4
019c23a4-44d6-7a46-954b-d5d883ab5b86
019c23a4-44d6-7b61-931f-3d16ef44add3
019c23a4-44d6-7c7b-99a3-8e101778d301
019c23a4-44d6-7d96-9fc1-ad975579e47a
019c23a4-44d6-7eb1-b4d1-83b0f1e274db
019c23a4-44d6-7fcb-99f2-a9bee982e30d
019c23a4-44d7-70ea-bf62-f18547502ccc
019c23a4-44d7-7205-9886-de3332585262
019c23a4-44d7-731b-b840-127a912d0cac
019c23a4-44d7-7436-9f6c-eaae7caafdac
019c23a4-44d7-7550-9913-49bffa876d1b
019c23a4-44d7-7667-ae55-969fcf157d0a

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)

1f101025-4426-6374-b210-4cf95d479851
1f101025-4426-650e-b210-4cf95d479851
1f101025-4426-65fe-b210-4cf95d479851
1f101025-4426-66d0-b210-4cf95d479851
1f101025-4426-6798-b210-4cf95d479851
1f101025-4426-6856-b210-4cf95d479851
1f101025-4426-691e-b210-4cf95d479851
1f101025-4426-69dc-b210-4cf95d479851
1f101025-4426-6acc-b210-4cf95d479851
1f101025-4426-6ba8-b210-4cf95d479851
1f101025-4426-6cfc-b210-4cf95d479851
1f101025-4426-6dce-b210-4cf95d479851
1f101025-4426-6e96-b210-4cf95d479851
1f101025-4426-6f5e-b210-4cf95d479851
1f101025-4427-601c-b210-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)

5820b68c-1e00-489d-bd43-e242db067521
c17f920e-bd18-47da-bbf2-fb028000bc81
3fb2d7ad-cade-4d67-b470-30af8fcf741f
268dc8ae-44c6-4a13-a3d3-1650a51a4ea3
759bd5a4-52f5-4dcf-943a-37abf7faa1bd
79e54d3c-627a-4537-92f6-8c9950059810
386c6d1d-458b-45c4-8c42-aa3eb7cc2803
9340b814-d664-4d5d-91ee-fa164c9abed0
bb3d3951-c48f-4eff-b53d-1a852f2bab64
7dbdb0bf-3af9-494e-a354-5e0f7c179f8a
a075f0fe-993b-47ed-a52f-7e7555bb43de
ac1f3a62-554c-4dc2-a774-91be52c91d4c
e212eb42-2393-43e1-b047-6ad227fddac1
2452a695-b1d3-4de6-9120-b4fd04a0600a
6dbc3d20-8258-4b95-8553-1b225e3fc8b2

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)

54427544-0102-11f1-b210-4cf95d479851
544275a8-0102-11f1-b210-4cf95d479851
5442760c-0102-11f1-b210-4cf95d479851
54427670-0102-11f1-b210-4cf95d479851
544276ca-0102-11f1-b210-4cf95d479851
5442772e-0102-11f1-b210-4cf95d479851
54427792-0102-11f1-b210-4cf95d479851
544277f6-0102-11f1-b210-4cf95d479851
5442785a-0102-11f1-b210-4cf95d479851
544278be-0102-11f1-b210-4cf95d479851
54427918-0102-11f1-b210-4cf95d479851
54427972-0102-11f1-b210-4cf95d479851
544279d6-0102-11f1-b210-4cf95d479851
54427a30-0102-11f1-b210-4cf95d479851
54427a94-0102-11f1-b210-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)

eae50a36-1b03-8202-87ea-5ce32bd83b97
3e370b36-1b03-8202-87ea-5ce32bd83b97
2fd80c36-1b03-8202-87ea-5ce32bd83b97
d4970d36-1b03-8202-87ea-5ce32bd83b97
72a30e36-1b03-8202-87ea-5ce32bd83b97
66de0f36-1b03-8202-87ea-5ce32bd83b97
90061036-1b03-8202-87ea-5ce32bd83b97
b0001136-1b03-8202-87ea-5ce32bd83b97
2bce1236-1b03-8202-87ea-5ce32bd83b97
653f1336-1b03-8202-87ea-5ce32bd83b97
0e141436-1b03-8202-87ea-5ce32bd83b97
78811636-1b03-8202-87ea-5ce32bd83b97
05cc1736-1b03-8202-87ea-5ce32bd83b97
902b1836-1b03-8202-87ea-5ce32bd83b97
03211936-1b03-8202-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: