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)

019cb343-b93a-73b7-96ec-0c73a8beef13
019cb343-b93a-758e-a506-e9c157feba68
019cb343-b93a-76d1-85af-fe6060413522
019cb343-b93a-77f4-9a55-c288c35a19bc
019cb343-b93a-790b-b4c4-471707ddbae3
019cb343-b93a-7a25-8339-b189166650a3
019cb343-b93a-7b40-9b1c-4fee22ec886d
019cb343-b93a-7c57-b509-fdf7033b037c
019cb343-b93a-7d71-82f6-4ea0b2cbefd4
019cb343-b93a-7e8c-b7f0-0e7e3a623f1a
019cb343-b93a-7fc3-a082-09b125cbf888
019cb343-b93b-70e2-a7c2-8bb342d1ab52
019cb343-b93b-71fc-9eed-10c0f6cf4102
019cb343-b93b-7317-81bc-4335f9200c77
019cb343-b93b-742e-8342-f4323be9369e

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)

1f116ec9-8f4d-6f06-b40d-4cf95d479851
1f116ec9-8f4e-60f0-b40d-4cf95d479851
1f116ec9-8f4e-6258-b40d-4cf95d479851
1f116ec9-8f4e-6348-b40d-4cf95d479851
1f116ec9-8f4e-6410-b40d-4cf95d479851
1f116ec9-8f4e-64d8-b40d-4cf95d479851
1f116ec9-8f4e-65a0-b40d-4cf95d479851
1f116ec9-8f4e-665e-b40d-4cf95d479851
1f116ec9-8f4e-6726-b40d-4cf95d479851
1f116ec9-8f4e-67e4-b40d-4cf95d479851
1f116ec9-8f4e-691a-b40d-4cf95d479851
1f116ec9-8f4e-69ec-b40d-4cf95d479851
1f116ec9-8f4e-6aaa-b40d-4cf95d479851
1f116ec9-8f4e-6b68-b40d-4cf95d479851
1f116ec9-8f4e-6c26-b40d-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)

3a76a92d-7438-4728-839a-42df0ddb3494
36f70faf-c6d7-49ff-8b55-aa1dea0e958a
326a3599-12fa-4343-9a01-843ada7bbef4
7bc7e24e-e441-4a80-9876-5096fa8378bf
5a082b26-621f-4174-a0e7-56efc8850b11
007effd3-9915-45cb-974e-46fdfa864e59
4a258c2c-ba95-433d-bdfa-a2998c532130
6580230b-d54d-4d14-a2d5-82a86ebf2535
7c48b46e-511a-4e67-b121-88533a148024
e3d59dff-73df-45d6-9d49-5eb793375a28
0f7af9ec-9078-4f02-84de-8eb9a0033aa3
4bf44a66-dbd1-4465-9d16-18f4aca15477
aab74ff4-e77b-48cd-ad92-c2528226081b
0466ead9-545f-4154-9f66-e265897dd72d
fca77c21-ab27-42f2-9c61-cec6505e56e2

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)

98f4f14e-16ec-11f1-b40d-4cf95d479851
98f4f1b2-16ec-11f1-b40d-4cf95d479851
98f4f216-16ec-11f1-b40d-4cf95d479851
98f4f27a-16ec-11f1-b40d-4cf95d479851
98f4f2d4-16ec-11f1-b40d-4cf95d479851
98f4f338-16ec-11f1-b40d-4cf95d479851
98f4f392-16ec-11f1-b40d-4cf95d479851
98f4f40a-16ec-11f1-b40d-4cf95d479851
98f4f4b4-16ec-11f1-b40d-4cf95d479851
98f4f54a-16ec-11f1-b40d-4cf95d479851
98f4f5ea-16ec-11f1-b40d-4cf95d479851
98f4f68a-16ec-11f1-b40d-4cf95d479851
98f4f72a-16ec-11f1-b40d-4cf95d479851
98f4f78e-16ec-11f1-b40d-4cf95d479851
98f4f7f2-16ec-11f1-b40d-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)

f54ef22d-7b02-8e03-87ea-5ce32bd83b97
e1a5f32d-7b02-8e03-87ea-5ce32bd83b97
924cf42d-7b02-8e03-87ea-5ce32bd83b97
9839f52d-7b02-8e03-87ea-5ce32bd83b97
5776f62d-7b02-8e03-87ea-5ce32bd83b97
2c4df72d-7b02-8e03-87ea-5ce32bd83b97
936ff82d-7b02-8e03-87ea-5ce32bd83b97
9e15f92d-7b02-8e03-87ea-5ce32bd83b97
37e5fa2d-7b02-8e03-87ea-5ce32bd83b97
c97efb2d-7b02-8e03-87ea-5ce32bd83b97
53b2fc2d-7b02-8e03-87ea-5ce32bd83b97
e44dfd2d-7b02-8e03-87ea-5ce32bd83b97
f870fe2d-7b02-8e03-87ea-5ce32bd83b97
4794002e-7b02-8e03-87ea-5ce32bd83b97
891c012e-7b02-8e03-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: