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)

019b3072-88c5-72fe-aaea-131b617d8f1b
019b3072-88c5-74d1-86fa-e1fc4c6cee17
019b3072-88c5-7611-b24e-0fc40007313d
019b3072-88c5-7730-93f4-458df723fb86
019b3072-88c5-784a-bcc5-569a2a52912c
019b3072-88c5-7965-8a29-f11fc37af751
019b3072-88c5-7a7b-8c5d-0538dea07db5
019b3072-88c5-7b96-a32a-91b94248ab58
019b3072-88c5-7cad-a752-bbb6b7716e02
019b3072-88c5-7dc7-8c59-0619974e76d4
019b3072-88c5-7ee2-9510-858b5244d5c7
019b3072-88c5-7ffc-affc-736743d5e723
019b3072-88c6-7117-8bb0-93ebba08dd7d
019b3072-88c6-726f-9cc5-b53c5500cf25
019b3072-88c6-7392-96cc-cc19b59e0903

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)

1f0dbe68-d800-6358-9fd8-4cf95d479851
1f0dbe68-d800-64fc-9fd8-4cf95d479851
1f0dbe68-d800-65ec-9fd8-4cf95d479851
1f0dbe68-d800-66b4-9fd8-4cf95d479851
1f0dbe68-d800-6786-9fd8-4cf95d479851
1f0dbe68-d800-6844-9fd8-4cf95d479851
1f0dbe68-d800-6902-9fd8-4cf95d479851
1f0dbe68-d800-69ca-9fd8-4cf95d479851
1f0dbe68-d800-6a92-9fd8-4cf95d479851
1f0dbe68-d800-6b50-9fd8-4cf95d479851
1f0dbe68-d800-6cae-9fd8-4cf95d479851
1f0dbe68-d800-6d8a-9fd8-4cf95d479851
1f0dbe68-d800-6e52-9fd8-4cf95d479851
1f0dbe68-d800-6f10-9fd8-4cf95d479851
1f0dbe68-d800-6fce-9fd8-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)

88423ad7-78c1-444a-9c20-8bac987bf010
ac79ecf4-af4c-45ed-a482-84cd5fd6b108
dcea982b-b178-49cb-9cc5-38ce5eab47c4
6de4e694-7394-4dcb-9b1a-2f6ada738b19
0cff8185-a477-4902-8229-a0997b6a39c1
1cda5d65-46d2-400f-b644-4c529b5397d6
b97c89ad-d388-4955-825c-f11288edd9a8
61dfebfc-61f2-4146-b11f-aa1b1a03e6ae
91b9466e-a002-435c-a73c-8abe232dc0c5
32c61e6b-d58c-44e5-a6b5-4d4909e7e721
6be4888b-3743-442c-9e2a-51e6e302657a
50c42b33-af96-4253-ab4a-3bc1ccbbd497
b0addace-4da5-4f4d-992a-2fd16aa831fb
05726e72-c8eb-4b16-bebe-13d649ddcabb
36969bb1-482b-434a-8d66-c27da63e54cc

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)

8d8014f6-dbe6-11f0-9fd8-4cf95d479851
8d80155a-dbe6-11f0-9fd8-4cf95d479851
8d8015be-dbe6-11f0-9fd8-4cf95d479851
8d801618-dbe6-11f0-9fd8-4cf95d479851
8d80167c-dbe6-11f0-9fd8-4cf95d479851
8d8016ea-dbe6-11f0-9fd8-4cf95d479851
8d80174e-dbe6-11f0-9fd8-4cf95d479851
8d8017b2-dbe6-11f0-9fd8-4cf95d479851
8d80180c-dbe6-11f0-9fd8-4cf95d479851
8d80187a-dbe6-11f0-9fd8-4cf95d479851
8d8018e8-dbe6-11f0-9fd8-4cf95d479851
8d80194c-dbe6-11f0-9fd8-4cf95d479851
8d8019b0-dbe6-11f0-9fd8-4cf95d479851
8d801a0a-dbe6-11f0-9fd8-4cf95d479851
8d801a6e-dbe6-11f0-9fd8-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)

55bc2433-d901-8016-87e9-5ce32bd83b97
0c612633-d901-8016-87e9-5ce32bd83b97
97eb2733-d901-8016-87e9-5ce32bd83b97
47d82833-d901-8016-87e9-5ce32bd83b97
29402933-d901-8016-87e9-5ce32bd83b97
73f42a33-d901-8016-87e9-5ce32bd83b97
a3f12b33-d901-8016-87e9-5ce32bd83b97
2e4c2c33-d901-8016-87e9-5ce32bd83b97
04782d33-d901-8016-87e9-5ce32bd83b97
f8322e33-d901-8016-87e9-5ce32bd83b97
71bb2f33-d901-8016-87e9-5ce32bd83b97
b40d3033-d901-8016-87e9-5ce32bd83b97
bf623133-d901-8016-87e9-5ce32bd83b97
ad123233-d901-8016-87e9-5ce32bd83b97
af9d3333-d901-8016-87e9-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

An 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

An UUIDv3 is made out of a MD5 hash and an 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: