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)

019fd80e-6aaf-70c1-b485-bd752e3404e2
019fd80e-6ab0-72c1-830d-b63c04b04bb9
019fd80e-6ab0-740d-a183-5b23795ce519
019fd80e-6ab0-7538-82b6-5f58fb633f08
019fd80e-6ab0-7657-9435-237eab517783
019fd80e-6ab0-7775-98d6-c6b8d57c378b
019fd80e-6ab0-7890-8959-46eb5c688909
019fd80e-6ab0-79af-84ee-0beadda61ef1
019fd80e-6ab0-7acd-aa6c-693f618f3527
019fd80e-6ab0-7bec-88e8-2cbc286538b3
019fd80e-6ab0-7d0b-9dd6-cb6ece7b8f99
019fd80e-6ab0-7e29-8f49-a86502470d95
019fd80e-6ab0-7f48-92f3-998ecc757188
019fd80e-6ab1-7067-a2ee-99c6658fe2e2
019fd80e-6ab1-7186-8fd0-3ff6df9748b4

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)

1f191b9c-6a8e-6b7a-bef3-4cf95d479851
1f191b9c-6a8e-6d5a-bef3-4cf95d479851
1f191b9c-6a8e-6e40-bef3-4cf95d479851
1f191b9c-6a8e-6f12-bef3-4cf95d479851
1f191b9c-6a8e-6fe4-bef3-4cf95d479851
1f191b9c-6a8f-60b6-bef3-4cf95d479851
1f191b9c-6a8f-617e-bef3-4cf95d479851
1f191b9c-6a8f-6246-bef3-4cf95d479851
1f191b9c-6a8f-630e-bef3-4cf95d479851
1f191b9c-6a8f-63e0-bef3-4cf95d479851
1f191b9c-6a8f-6548-bef3-4cf95d479851
1f191b9c-6a8f-662e-bef3-4cf95d479851
1f191b9c-6a8f-66ec-bef3-4cf95d479851
1f191b9c-6a8f-67b4-bef3-4cf95d479851
1f191b9c-6a8f-6872-bef3-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)

c6a8f94e-91b9-11f1-bef3-4cf95d479851
c6a8f9b2-91b9-11f1-bef3-4cf95d479851
c6a8fa20-91b9-11f1-bef3-4cf95d479851
c6a8fa8e-91b9-11f1-bef3-4cf95d479851
c6a8faf2-91b9-11f1-bef3-4cf95d479851
c6a8fb56-91b9-11f1-bef3-4cf95d479851
c6a8fbba-91b9-11f1-bef3-4cf95d479851
c6a8fc28-91b9-11f1-bef3-4cf95d479851
c6a8fc8c-91b9-11f1-bef3-4cf95d479851
c6a8fcfa-91b9-11f1-bef3-4cf95d479851
c6a8fd5e-91b9-11f1-bef3-4cf95d479851
c6a8fdc2-91b9-11f1-bef3-4cf95d479851
c6a8fe26-91b9-11f1-bef3-4cf95d479851
c6a8fe8a-91b9-11f1-bef3-4cf95d479851
c6a8fef8-91b9-11f1-bef3-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)

62b55033-0704-8a0d-87ea-5ce32bd83b97
8bb45133-0704-8a0d-87ea-5ce32bd83b97
9b2e5233-0704-8a0d-87ea-5ce32bd83b97
bc365333-0704-8a0d-87ea-5ce32bd83b97
33e95433-0704-8a0d-87ea-5ce32bd83b97
bd335533-0704-8a0d-87ea-5ce32bd83b97
c9255633-0704-8a0d-87ea-5ce32bd83b97
42e45733-0704-8a0d-87ea-5ce32bd83b97
c0c85833-0704-8a0d-87ea-5ce32bd83b97
67b85933-0704-8a0d-87ea-5ce32bd83b97
a0f35a33-0704-8a0d-87ea-5ce32bd83b97
261d5b33-0704-8a0d-87ea-5ce32bd83b97
37935c33-0704-8a0d-87ea-5ce32bd83b97
794c5d33-0704-8a0d-87ea-5ce32bd83b97
1c7f5e33-0704-8a0d-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)

721eec46-7b35-40c9-8bb5-b08f8d289ce6
76f5a1e5-5cd7-4a96-95fe-c594e35a5653
6a7b15f3-f32e-467b-8493-edbb22bcda17
f003ecbd-a444-4a4d-963c-12ac4eb1f522
aeda48fd-550f-4207-992d-601521790e97
12fe7f7c-21ea-4bd2-8d86-90b35f370dc1
dc8b3514-86cb-4f09-9242-c1bcda439bda
e3d6467b-b0f2-459b-915b-4d5177fb3f5c
f295c689-52db-4063-8c10-5f4161e0f259
047e6f8f-ce07-4276-9721-247451dd2a45
3ba5e3d3-d4fd-446b-8330-dff6f515ad2e
e4f33a54-aae5-4fb9-90c4-998404559bfb
8e1ee770-450d-41de-b9ca-4a6022e9ca1c
86f5d63d-94d7-492b-8523-c1688a9243d0
ccf8d860-9f8e-49e1-9a73-77c6f945ac30

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: