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)

01a0aad7-6598-705b-a2e7-9068184c07d3
01a0aad7-6599-71f4-b15e-11259636707e
01a0aad7-6599-7330-85cf-9f2557713efe
01a0aad7-6599-73d8-b7fa-33d1b91520c4
01a0aad7-6599-74fa-8313-d67d84332d71
01a0aad7-6599-7611-9514-a6e2140bff05
01a0aad7-6599-7727-9b2f-bef8a1c0a7fa
01a0aad7-6599-7846-9c46-d4e7296b9a7f
01a0aad7-6599-795d-aeca-762cbb8b3c95
01a0aad7-6599-7a73-a8e3-06962c0ec180
01a0aad7-6599-7b86-b1f8-12af2d3b7c26
01a0aad7-6599-7c98-8d83-126cb56efa20
01a0aad7-6599-7db3-b483-6fd57e74187a
01a0aad7-6599-7ec9-aa00-f5ae59cba0fa
01a0aad7-6599-7fe4-b2cb-058980639562

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)

1f1b1e39-1721-632e-821e-4cf95d479851
1f1b1e39-1721-64be-821e-4cf95d479851
1f1b1e39-1721-65a4-821e-4cf95d479851
1f1b1e39-1721-6676-821e-4cf95d479851
1f1b1e39-1721-6734-821e-4cf95d479851
1f1b1e39-1721-67fc-821e-4cf95d479851
1f1b1e39-1721-68ba-821e-4cf95d479851
1f1b1e39-1721-696e-821e-4cf95d479851
1f1b1e39-1721-6a2c-821e-4cf95d479851
1f1b1e39-1721-6aea-821e-4cf95d479851
1f1b1e39-1721-6c2a-821e-4cf95d479851
1f1b1e39-1721-6cf2-821e-4cf95d479851
1f1b1e39-1721-6db0-821e-4cf95d479851
1f1b1e39-1721-6e78-821e-4cf95d479851
1f1b1e39-1721-6f2c-821e-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)

91721ff4-b1e3-11f1-821e-4cf95d479851
91722062-b1e3-11f1-821e-4cf95d479851
917220c6-b1e3-11f1-821e-4cf95d479851
91722120-b1e3-11f1-821e-4cf95d479851
91722184-b1e3-11f1-821e-4cf95d479851
917221de-b1e3-11f1-821e-4cf95d479851
91722242-b1e3-11f1-821e-4cf95d479851
917222a6-b1e3-11f1-821e-4cf95d479851
91722300-b1e3-11f1-821e-4cf95d479851
9172236e-b1e3-11f1-821e-4cf95d479851
917223c8-b1e3-11f1-821e-4cf95d479851
9172242c-b1e3-11f1-821e-4cf95d479851
91722486-b1e3-11f1-821e-4cf95d479851
917224ea-b1e3-11f1-821e-4cf95d479851
9172254e-b1e3-11f1-821e-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)

6c741b26-a303-8310-87ea-5ce32bd83b97
c8bf1c26-a303-8310-87ea-5ce32bd83b97
ce361d26-a303-8310-87ea-5ce32bd83b97
c1a71e26-a303-8310-87ea-5ce32bd83b97
6bfd1f26-a303-8310-87ea-5ce32bd83b97
f5812026-a303-8310-87ea-5ce32bd83b97
056a2126-a303-8310-87ea-5ce32bd83b97
9ef52226-a303-8310-87ea-5ce32bd83b97
4a282326-a303-8310-87ea-5ce32bd83b97
569a2526-a303-8310-87ea-5ce32bd83b97
24982626-a303-8310-87ea-5ce32bd83b97
68182726-a303-8310-87ea-5ce32bd83b97
90132826-a303-8310-87ea-5ce32bd83b97
18142926-a303-8310-87ea-5ce32bd83b97
2f892a26-a303-8310-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)

06c8eb77-6e00-454f-99c3-5ddef6b94e0f
ea02d30a-7bf0-40ae-babd-2cfb44270b02
03ff13a3-14ef-4b10-9611-b6a948cdb08a
50cad711-72af-46b7-8380-68b73e783348
f5029961-ffa1-4377-923a-a7fb84547d01
0d86acc0-8162-4106-b8bc-79e2bd3cc1cc
87e3d231-1f42-4662-acab-b363c58ee4f8
59d0555c-3e31-4a81-a67c-f3cb44f651e5
ec2308a0-5287-42b5-a3e0-bcf43bfdbb4d
b0ab5538-5a42-47a4-ae55-d2f1e743885e
2cc87feb-5bd2-4e03-9aa7-6dcc4cc76a15
7d92636c-8acf-4e97-88ae-88ef8a2938d0
5a6b0382-1eaf-4d66-9734-268437c192b6
e3e92cec-01ee-48d6-bfb1-0800ad6c2d1f
53be275e-f484-41be-838f-4199a087daab

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: