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)

019fcd5f-e1d1-7e6f-88fe-333a36b99bc7
019fcd5f-e1d2-7088-a9aa-4de68fe88b7e
019fcd5f-e1d2-71c7-bb16-5f45791d0408
019fcd5f-e1d2-72e6-a254-b6adb34adea9
019fcd5f-e1d2-73fc-abf3-8452b3a91e01
019fcd5f-e1d2-750f-a248-cfe698cca2d3
019fcd5f-e1d2-7621-b5d0-cd1406ee0111
019fcd5f-e1d2-7734-b3b4-dc1f3b17b2ee
019fcd5f-e1d2-77fc-ae8a-3ab8089be246
019fcd5f-e1d2-7917-b5ae-5828136d1b38
019fcd5f-e1d2-7a2e-9d7b-4bcfc3614fd9
019fcd5f-e1d2-7b40-8095-1ac0aa612e49
019fcd5f-e1d2-7c4e-b3de-d5b359472b4a
019fcd5f-e1d2-7d61-8794-29cdc2606588
019fcd5f-e1d2-7e77-84a1-33ee0a6c9bcb

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)

1f190188-4e68-64c4-9d57-4cf95d479851
1f190188-4e68-6690-9d57-4cf95d479851
1f190188-4e68-6776-9d57-4cf95d479851
1f190188-4e68-6848-9d57-4cf95d479851
1f190188-4e68-6910-9d57-4cf95d479851
1f190188-4e68-69ce-9d57-4cf95d479851
1f190188-4e68-6a8c-9d57-4cf95d479851
1f190188-4e68-6b4a-9d57-4cf95d479851
1f190188-4e68-6c08-9d57-4cf95d479851
1f190188-4e68-6cc6-9d57-4cf95d479851
1f190188-4e68-6e06-9d57-4cf95d479851
1f190188-4e68-6ed8-9d57-4cf95d479851
1f190188-4e68-6f96-9d57-4cf95d479851
1f190188-4e69-6054-9d57-4cf95d479851
1f190188-4e69-611c-9d57-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)

84e69202-9018-11f1-9d57-4cf95d479851
84e69266-9018-11f1-9d57-4cf95d479851
84e692ca-9018-11f1-9d57-4cf95d479851
84e6932e-9018-11f1-9d57-4cf95d479851
84e69392-9018-11f1-9d57-4cf95d479851
84e693f6-9018-11f1-9d57-4cf95d479851
84e6945a-9018-11f1-9d57-4cf95d479851
84e694be-9018-11f1-9d57-4cf95d479851
84e69518-9018-11f1-9d57-4cf95d479851
84e69572-9018-11f1-9d57-4cf95d479851
84e695d6-9018-11f1-9d57-4cf95d479851
84e69630-9018-11f1-9d57-4cf95d479851
84e69694-9018-11f1-9d57-4cf95d479851
84e696ee-9018-11f1-9d57-4cf95d479851
84e69752-9018-11f1-9d57-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)

c9f2d900-9d03-880d-87ea-5ce32bd83b97
4b2fda00-9d03-880d-87ea-5ce32bd83b97
9b45db00-9d03-880d-87ea-5ce32bd83b97
8338dc00-9d03-880d-87ea-5ce32bd83b97
be83dd00-9d03-880d-87ea-5ce32bd83b97
03e2df00-9d03-880d-87ea-5ce32bd83b97
ead2e000-9d03-880d-87ea-5ce32bd83b97
9435e100-9d03-880d-87ea-5ce32bd83b97
6a77e200-9d03-880d-87ea-5ce32bd83b97
5ae7e300-9d03-880d-87ea-5ce32bd83b97
025de400-9d03-880d-87ea-5ce32bd83b97
e34de500-9d03-880d-87ea-5ce32bd83b97
1e6ce600-9d03-880d-87ea-5ce32bd83b97
1c6ae700-9d03-880d-87ea-5ce32bd83b97
24c8e800-9d03-880d-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)

911d2f19-6540-43d7-b36e-297f0afc6221
723ebff0-a9e0-44e9-9bb0-a7b95ed62457
abce10b1-f045-4b9a-a6aa-e67cd393db2c
449b85bb-883d-44d5-84d3-33e4326c7b86
ef91caa2-676f-4372-be52-aac8fbac9007
42a290ed-779e-494e-9367-dc3502a3569a
347c5440-d7b9-45bd-8d4b-1c7bab8082c3
6c90f700-a6b3-4700-95f3-4ee15fe6b1ed
9f1bd00c-8eab-4a54-90e9-3e0d8570c65f
642b863b-0ae7-4423-a3e8-f70943b69ebe
7aad3dbd-9d8b-4468-8a91-a5f7adf56922
d65c1fc6-0636-4ccc-afba-9392f3975e1a
3c7fb5a7-2e7a-4ab8-95a6-11b579437e9d
b7185ce8-7f75-44d7-812a-ce89a1497367
cf81d1fa-adb3-41f2-a69e-1bb6e3e0ae4e

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: