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)

019bb112-39f9-716d-9f94-0bfb94a8d4d2
019bb112-39f9-72fa-9724-007d7e5a01c7
019bb112-39f9-743a-81f2-8d5e31c1b02a
019bb112-39f9-7554-b0e7-bdfbd90b6e04
019bb112-39f9-7673-a099-3bc24c2b2199
019bb112-39f9-778e-9a3c-873ed1d0a85b
019bb112-39f9-78a4-a142-396a5f9668ff
019bb112-39f9-79bf-bc46-7d8d24e7dcd7
019bb112-39f9-7ad5-9431-ec3ef2ff516b
019bb112-39f9-7bec-a32a-7c123e01c576
019bb112-39f9-7d03-8d50-c4beca4cb3fd
019bb112-39f9-7e19-93c7-d41893e31b70
019bb112-39f9-7f34-ae49-be2e70035c0a
019bb112-39fa-704a-9610-40b0473ef888
019bb112-39fa-7165-8ac5-e840b308cf55

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)

1f0ef86e-b79f-6cc6-8fbe-4cf95d479851
1f0ef86e-b79f-6e38-8fbe-4cf95d479851
1f0ef86e-b79f-6f1e-8fbe-4cf95d479851
1f0ef86e-b79f-6ff0-8fbe-4cf95d479851
1f0ef86e-b7a0-60b8-8fbe-4cf95d479851
1f0ef86e-b7a0-6180-8fbe-4cf95d479851
1f0ef86e-b7a0-6248-8fbe-4cf95d479851
1f0ef86e-b7a0-6306-8fbe-4cf95d479851
1f0ef86e-b7a0-63c4-8fbe-4cf95d479851
1f0ef86e-b7a0-6482-8fbe-4cf95d479851
1f0ef86e-b7a0-65cc-8fbe-4cf95d479851
1f0ef86e-b7a0-669e-8fbe-4cf95d479851
1f0ef86e-b7a0-6752-8fbe-4cf95d479851
1f0ef86e-b7a0-6810-8fbe-4cf95d479851
1f0ef86e-b7a0-68d8-8fbe-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)

d579817d-f781-4628-b4d0-85e7c0cd450e
ddb2b8a8-a48d-49ae-93e1-ce9b1616433d
0b906f5f-4249-4003-9ca9-5192d14ee453
3b71dfdf-eb5b-4cfc-8f86-e263f5d1e432
518e2b67-dab9-4d74-9823-7a50b17b0dd9
0c204c20-c0fa-493a-8bc2-7d94d93b1342
ca66dff3-c596-4603-86c0-a8720a9a7062
6948c24d-9319-44f2-becf-8da1d7199124
edc1393f-669a-4217-bcf7-bb3d59faa893
fc20993b-811a-42c6-ac92-859ddbd83a26
e9f2dcfa-b5f0-4648-9a93-caa181d9a070
246b0dbb-9f79-491d-acba-d419ae4b886d
32610188-1b64-4847-867f-e8731a17cd8d
46c10284-70e8-4cd3-825c-31e4e228feeb
f33052a3-9bee-483e-ad37-96d33f14fd22

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)

eb7a0de2-ef86-11f0-8fbe-4cf95d479851
eb7a0e46-ef86-11f0-8fbe-4cf95d479851
eb7a0eaa-ef86-11f0-8fbe-4cf95d479851
eb7a0f04-ef86-11f0-8fbe-4cf95d479851
eb7a0f68-ef86-11f0-8fbe-4cf95d479851
eb7a0fcc-ef86-11f0-8fbe-4cf95d479851
eb7a1026-ef86-11f0-8fbe-4cf95d479851
eb7a1080-ef86-11f0-8fbe-4cf95d479851
eb7a10e4-ef86-11f0-8fbe-4cf95d479851
eb7a113e-ef86-11f0-8fbe-4cf95d479851
eb7a1198-ef86-11f0-8fbe-4cf95d479851
eb7a1206-ef86-11f0-8fbe-4cf95d479851
eb7a1274-ef86-11f0-8fbe-4cf95d479851
eb7a12e2-ef86-11f0-8fbe-4cf95d479851
eb7a1346-ef86-11f0-8fbe-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)

82496028-b701-8c00-87ea-5ce32bd83b97
e2a76228-b701-8c00-87ea-5ce32bd83b97
8bd26328-b701-8c00-87ea-5ce32bd83b97
1c926428-b701-8c00-87ea-5ce32bd83b97
a76d6528-b701-8c00-87ea-5ce32bd83b97
d97e6628-b701-8c00-87ea-5ce32bd83b97
4cbd6728-b701-8c00-87ea-5ce32bd83b97
231b6828-b701-8c00-87ea-5ce32bd83b97
41a96928-b701-8c00-87ea-5ce32bd83b97
efd46a28-b701-8c00-87ea-5ce32bd83b97
83c66b28-b701-8c00-87ea-5ce32bd83b97
7d306c28-b701-8c00-87ea-5ce32bd83b97
5e976d28-b701-8c00-87ea-5ce32bd83b97
ecb36e28-b701-8c00-87ea-5ce32bd83b97
71a86f28-b701-8c00-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: