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)

019c43ea-3b0a-74b9-bf13-316968c126f6
019c43ea-3b0a-769c-a3f9-aa8d0319c1c9
019c43ea-3b0a-7811-9b1a-ae571bc6e587
019c43ea-3b0a-7986-9b65-00adcc1ba170
019c43ea-3b0a-7aee-8833-87b031c09e5b
019c43ea-3b0a-7c2e-8b30-96847a93f9bc
019c43ea-3b0a-7d8e-b16e-daf215c4d887
019c43ea-3b0a-7ef6-9f4b-977b0cbca0fd
019c43ea-3b0b-705b-a6d8-1cdeccbea5cc
019c43ea-3b0b-7211-b7af-cf0c5e5c9855
019c43ea-3b0b-73a6-9e4b-2ab16fed551e
019c43ea-3b0b-7548-b946-7d275e43660c
019c43ea-3b0b-76a8-880b-848616637203
019c43ea-3b0b-77fc-8fe9-182714785355
019c43ea-3b0b-7959-aa8b-d6bb155d8449

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)

1f105ef0-123b-6ae8-bd91-4cf95d479851
1f105ef0-123b-6d36-bd91-4cf95d479851
1f105ef0-123b-6e9e-bd91-4cf95d479851
1f105ef0-123c-601a-bd91-4cf95d479851
1f105ef0-123c-618c-bd91-4cf95d479851
1f105ef0-123c-62fe-bd91-4cf95d479851
1f105ef0-123c-6470-bd91-4cf95d479851
1f105ef0-123c-65e2-bd91-4cf95d479851
1f105ef0-123c-675e-bd91-4cf95d479851
1f105ef0-123c-68c6-bd91-4cf95d479851
1f105ef0-123c-6b00-bd91-4cf95d479851
1f105ef0-123c-6c7c-bd91-4cf95d479851
1f105ef0-123c-6dd0-bd91-4cf95d479851
1f105ef0-123c-6f1a-bd91-4cf95d479851
1f105ef0-123d-6064-bd91-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)

8e15860b-6ac0-4e0f-93b8-9894a36654b8
170f7dfb-dee6-4008-93a3-0ab10687f392
40ed748b-951e-46d7-b283-a4c326d7df37
b72b23c0-7752-4f52-957b-c7d400b0fbde
b3827362-39e4-4d64-96d4-1fc83185d6cd
f199ca42-2181-409b-9abd-69468056b9cd
7aa81b94-50ce-4383-87c8-d065f03b003c
0ae4f77f-d68d-4520-a9b1-99fbfa46d06d
e25558a1-103e-4c87-8f73-b38bf658b483
2a749cd9-b88c-4818-84c2-5e8648bbffa9
21160bac-e475-4f5d-90c4-2e871bfec811
c8de1943-573a-401c-b96d-34633dfb32c9
1e8534a7-839e-4fe3-a9c5-6872ac456be9
2ad7f65b-d051-4783-b2bc-f61cb44a3ff5
e5cbe52b-9510-4956-85fb-f4abd9852471

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)

0123d780-05ef-11f1-bd91-4cf95d479851
0123d816-05ef-11f1-bd91-4cf95d479851
0123d898-05ef-11f1-bd91-4cf95d479851
0123d938-05ef-11f1-bd91-4cf95d479851
0123d9ce-05ef-11f1-bd91-4cf95d479851
0123da64-05ef-11f1-bd91-4cf95d479851
0123dafa-05ef-11f1-bd91-4cf95d479851
0123db90-05ef-11f1-bd91-4cf95d479851
0123dc26-05ef-11f1-bd91-4cf95d479851
0123dcb2-05ef-11f1-bd91-4cf95d479851
0123dd48-05ef-11f1-bd91-4cf95d479851
0123ddd4-05ef-11f1-bd91-4cf95d479851
0123de6a-05ef-11f1-bd91-4cf95d479851
0123df00-05ef-11f1-bd91-4cf95d479851
0123df96-05ef-11f1-bd91-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)

9e3ff609-9c04-8802-87ea-5ce32bd83b97
c0aff709-9c04-8802-87ea-5ce32bd83b97
70d4f809-9c04-8802-87ea-5ce32bd83b97
0bfbf909-9c04-8802-87ea-5ce32bd83b97
a97afa09-9c04-8802-87ea-5ce32bd83b97
1c3ffb09-9c04-8802-87ea-5ce32bd83b97
7db9fc09-9c04-8802-87ea-5ce32bd83b97
a110fd09-9c04-8802-87ea-5ce32bd83b97
f014fe09-9c04-8802-87ea-5ce32bd83b97
3683000a-9c04-8802-87ea-5ce32bd83b97
a92e010a-9c04-8802-87ea-5ce32bd83b97
8b37020a-9c04-8802-87ea-5ce32bd83b97
8584030a-9c04-8802-87ea-5ce32bd83b97
e9b3040a-9c04-8802-87ea-5ce32bd83b97
f2a2060a-9c04-8802-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: