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)

019c968d-36c3-7fe8-8774-e54299515e21
019c968d-36c4-71d3-94d8-f1fdafd56575
019c968d-36c4-7317-933a-b1f08a552776
019c968d-36c4-743a-bd46-64a42d500ad4
019c968d-36c4-7559-98a0-d6794a902f2e
019c968d-36c4-7677-996d-a66db6a5fa16
019c968d-36c4-7796-8d85-e9b52d2c18aa
019c968d-36c4-78b1-9ab8-94479525a80b
019c968d-36c4-79cf-8416-4194f2b00598
019c968d-36c4-7aee-8e2f-e2fb605e38a2
019c968d-36c4-7c09-a00d-a6ddc357bd08
019c968d-36c4-7d27-8b03-0f5d7ff95063
019c968d-36c4-7e42-adcd-624d7c8021fc
019c968d-36c4-7f5d-a26e-60cc1918ad00
019c968d-36c5-707b-9be6-e92dc23b7ee0

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)

1f1128af-facb-64aa-9e46-4cf95d479851
1f1128af-facb-664e-9e46-4cf95d479851
1f1128af-facb-672a-9e46-4cf95d479851
1f1128af-facb-6806-9e46-4cf95d479851
1f1128af-facb-68ce-9e46-4cf95d479851
1f1128af-facb-6996-9e46-4cf95d479851
1f1128af-facb-6a5e-9e46-4cf95d479851
1f1128af-facb-6b26-9e46-4cf95d479851
1f1128af-facb-6bee-9e46-4cf95d479851
1f1128af-facb-6cac-9e46-4cf95d479851
1f1128af-facb-6de2-9e46-4cf95d479851
1f1128af-facb-6eb4-9e46-4cf95d479851
1f1128af-facb-6f7c-9e46-4cf95d479851
1f1128af-facc-603a-9e46-4cf95d479851
1f1128af-facc-6102-9e46-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)

ec7fd3fc-4af4-412e-a737-f22a1ae578a3
a06e6ddb-548f-4df2-9e94-bfc564dcbdd7
0bfc3368-713a-43ae-a1ec-86fb898c706f
645e37e3-4a7d-4022-b0d0-2e5c55ea4990
005f038d-dd00-4a21-a1d0-c049606313cb
fc6fc689-946c-46c4-b447-b23ab89c28ae
21d32933-a6cf-4ba2-ad3a-551dc1ee29f5
5049f603-af48-4780-b184-8e2e3eb17cbe
a685b1ac-614c-45d5-b5c5-9b8e40015670
5ce8b1ee-8373-45b0-9527-0a55b7b6d35d
56cddb33-ec2a-46f9-953b-7d1285c5f7d5
05fae068-bb79-4eb3-aceb-5aa209acd5be
e758b8c6-ad29-41ef-a0d8-6e1527c9b9d6
15fca0b7-5e83-4373-a232-e80814b0a087
8892e485-ceb8-4f27-bb58-064f10ab0c56

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)

ffacc62a-128a-11f1-9e46-4cf95d479851
ffacc68e-128a-11f1-9e46-4cf95d479851
ffacc6f2-128a-11f1-9e46-4cf95d479851
ffacc756-128a-11f1-9e46-4cf95d479851
ffacc7b0-128a-11f1-9e46-4cf95d479851
ffacc814-128a-11f1-9e46-4cf95d479851
ffacc878-128a-11f1-9e46-4cf95d479851
ffacc8f0-128a-11f1-9e46-4cf95d479851
ffacc954-128a-11f1-9e46-4cf95d479851
ffacc9b8-128a-11f1-9e46-4cf95d479851
ffacca26-128a-11f1-9e46-4cf95d479851
ffacca80-128a-11f1-9e46-4cf95d479851
ffaccada-128a-11f1-9e46-4cf95d479851
ffaccb3e-128a-11f1-9e46-4cf95d479851
ffaccc10-128a-11f1-9e46-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)

2723f202-df04-8803-87ea-5ce32bd83b97
f963f302-df04-8803-87ea-5ce32bd83b97
19ebf502-df04-8803-87ea-5ce32bd83b97
3fa2f602-df04-8803-87ea-5ce32bd83b97
476bf702-df04-8803-87ea-5ce32bd83b97
147ff802-df04-8803-87ea-5ce32bd83b97
ab29f902-df04-8803-87ea-5ce32bd83b97
c071fa02-df04-8803-87ea-5ce32bd83b97
0d78fb02-df04-8803-87ea-5ce32bd83b97
6529fc02-df04-8803-87ea-5ce32bd83b97
cf2bfd02-df04-8803-87ea-5ce32bd83b97
0ae4fe02-df04-8803-87ea-5ce32bd83b97
f7f5ff02-df04-8803-87ea-5ce32bd83b97
f5800103-df04-8803-87ea-5ce32bd83b97
164c0203-df04-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: