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)

019d74a6-7a13-76e2-9e84-7e3c555c04a6
019d74a6-7a13-78b5-a7df-9346742521ee
019d74a6-7a13-79f8-82d3-f849940bf67d
019d74a6-7a13-7b17-937d-0408f15432bc
019d74a6-7a13-7c32-b54b-86f63d9e0084
019d74a6-7a13-7d4c-bc26-0366bdfb857f
019d74a6-7a13-7e67-b3dc-4ae859fee672
019d74a6-7a13-7f7d-909b-a28bbeff7f8b
019d74a6-7a14-7098-89b5-990963689313
019d74a6-7a14-71b3-a2b5-42ef249c4e87
019d74a6-7a14-726f-998c-1c25e3f2e582
019d74a6-7a14-738e-bf20-c05be3599f5f
019d74a6-7a14-74a8-a8ea-7aff5c451ff3
019d74a6-7a14-75bf-927c-45c14f2bd8c7
019d74a6-7a14-76d5-bb79-64460d5d4efd

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)

1f1346eb-a820-621c-9d18-4cf95d479851
1f1346eb-a820-63b6-9d18-4cf95d479851
1f1346eb-a820-649c-9d18-4cf95d479851
1f1346eb-a820-6578-9d18-4cf95d479851
1f1346eb-a820-6640-9d18-4cf95d479851
1f1346eb-a820-6708-9d18-4cf95d479851
1f1346eb-a820-67c6-9d18-4cf95d479851
1f1346eb-a820-688e-9d18-4cf95d479851
1f1346eb-a820-69b0-9d18-4cf95d479851
1f1346eb-a820-6a82-9d18-4cf95d479851
1f1346eb-a820-6bc2-9d18-4cf95d479851
1f1346eb-a820-6c80-9d18-4cf95d479851
1f1346eb-a820-6d48-9d18-4cf95d479851
1f1346eb-a820-6dfc-9d18-4cf95d479851
1f1346eb-a820-6eba-9d18-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)

cc7b2d24-482b-4c2c-a0cf-ab3eafb6b44b
2d4be657-f9fe-4d53-9ff1-999fc6c656c4
1519ec01-5cb1-4329-b380-31f85589b429
4a24a977-27e9-4330-bf7a-a47cf9b73255
727fbb42-7057-48c0-b0d5-dd93d347c039
644cdf5b-e4f4-4e8d-80c9-155fb8144109
42a90840-df54-4ce8-91ca-ed0fefb38405
c6618840-88f5-4e5b-9301-da6d1518aba0
527663ab-70ff-4818-9758-d169ae474a5a
f64e055e-3305-4c74-89d2-b7b5edcab39e
50f89fbf-3bf6-47d4-8234-7824302f2dc1
a3ae6653-f199-4dbf-9fc1-299ce146b29a
87e1ab31-5633-4918-b428-b116f9d525b0
4d7c3605-d242-475f-9acb-2218f7c9c7db
8934d1a0-c23b-4402-a74a-7f0190426404

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)

ba8213e2-346e-11f1-9d18-4cf95d479851
ba821446-346e-11f1-9d18-4cf95d479851
ba8214aa-346e-11f1-9d18-4cf95d479851
ba821504-346e-11f1-9d18-4cf95d479851
ba821568-346e-11f1-9d18-4cf95d479851
ba8215c2-346e-11f1-9d18-4cf95d479851
ba821626-346e-11f1-9d18-4cf95d479851
ba821680-346e-11f1-9d18-4cf95d479851
ba8216da-346e-11f1-9d18-4cf95d479851
ba821734-346e-11f1-9d18-4cf95d479851
ba82178e-346e-11f1-9d18-4cf95d479851
ba8217f2-346e-11f1-9d18-4cf95d479851
ba82184c-346e-11f1-9d18-4cf95d479851
ba8218b0-346e-11f1-9d18-4cf95d479851
ba821928-346e-11f1-9d18-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)

c4128814-9605-8306-87ea-5ce32bd83b97
dac88914-9605-8306-87ea-5ce32bd83b97
22b78a14-9605-8306-87ea-5ce32bd83b97
0b6b8b14-9605-8306-87ea-5ce32bd83b97
80a08c14-9605-8306-87ea-5ce32bd83b97
b0aa8d14-9605-8306-87ea-5ce32bd83b97
6e858e14-9605-8306-87ea-5ce32bd83b97
365a8f14-9605-8306-87ea-5ce32bd83b97
22539014-9605-8306-87ea-5ce32bd83b97
abc59114-9605-8306-87ea-5ce32bd83b97
cca89214-9605-8306-87ea-5ce32bd83b97
cf739414-9605-8306-87ea-5ce32bd83b97
dc999514-9605-8306-87ea-5ce32bd83b97
ff9b9614-9605-8306-87ea-5ce32bd83b97
82e39714-9605-8306-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: