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)

019c46ae-0df8-7fbb-afec-d6db914756be
019c46ae-0df9-7148-a9a5-1392f414ef27
019c46ae-0df9-728c-a39b-066a3d502bdc
019c46ae-0df9-73af-8ef7-0906b249ad92
019c46ae-0df9-74e2-a0d4-5a5bc9e6520c
019c46ae-0df9-75fc-a50d-aa065a1d053f
019c46ae-0df9-7717-aceb-7b1c3c50e2b1
019c46ae-0df9-7836-ac6c-b085df36d88e
019c46ae-0df9-7950-a203-51d121332966
019c46ae-0df9-7a6b-8900-ba32abd7bd68
019c46ae-0df9-7b86-8521-fe4df568c24e
019c46ae-0df9-7c63-956b-b53961dafed7
019c46ae-0df9-7d7d-a3b2-98c28aef65cd
019c46ae-0df9-7e98-91ab-a9bc94c6c87a
019c46ae-0df9-7fb7-8d04-c85a14fe47ff

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)

1f1065b0-2833-68d4-a709-4cf95d479851
1f1065b0-2833-6a64-a709-4cf95d479851
1f1065b0-2833-6b4a-a709-4cf95d479851
1f1065b0-2833-6c12-a709-4cf95d479851
1f1065b0-2833-6cda-a709-4cf95d479851
1f1065b0-2833-6d98-a709-4cf95d479851
1f1065b0-2833-6e56-a709-4cf95d479851
1f1065b0-2833-6f14-a709-4cf95d479851
1f1065b0-2833-6fd2-a709-4cf95d479851
1f1065b0-2834-6090-a709-4cf95d479851
1f1065b0-2834-61d0-a709-4cf95d479851
1f1065b0-2834-628e-a709-4cf95d479851
1f1065b0-2834-634c-a709-4cf95d479851
1f1065b0-2834-640a-a709-4cf95d479851
1f1065b0-2834-64c8-a709-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)

62c289d0-4c77-469d-be71-fbc64912fd29
00a6be6d-714c-49d7-86e3-73c43fde08ab
eb030bd0-f7bf-4385-829e-f584ca5f09eb
52d8d8c5-c503-4b67-b19c-bfc2e2b181f1
861a35e6-6510-454c-9f69-6084d6051c08
36bd3413-a14b-4da4-acc6-b291f3b5e12f
7fa98f7f-aae6-4e85-a308-066e55e6ab56
8f4dbc87-01f5-4173-9d29-51bbfc9d4c77
b65080d8-ecad-43d2-b8d6-1ea84c2dd21a
f9361d14-dd3f-4cc5-80fb-dcbb61cc3cb5
c19ff6d7-f4ac-4596-a9db-4962a3dba71d
37c3c433-fa51-421c-a266-970acaeff8fc
308f58c9-4577-4d26-b5ec-528be90ec6ad
f739e9b6-4a92-4da8-89dc-398f9ab7eb7d
215f9b5a-95ca-4210-805b-8053bd1c7f55

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)

028349e6-065b-11f1-a709-4cf95d479851
02834a4a-065b-11f1-a709-4cf95d479851
02834aae-065b-11f1-a709-4cf95d479851
02834b12-065b-11f1-a709-4cf95d479851
02834b6c-065b-11f1-a709-4cf95d479851
02834bd0-065b-11f1-a709-4cf95d479851
02834c34-065b-11f1-a709-4cf95d479851
02834c8e-065b-11f1-a709-4cf95d479851
02834cf2-065b-11f1-a709-4cf95d479851
02834d42-065b-11f1-a709-4cf95d479851
02834da6-065b-11f1-a709-4cf95d479851
02834e00-065b-11f1-a709-4cf95d479851
02834e64-065b-11f1-a709-4cf95d479851
02834ebe-065b-11f1-a709-4cf95d479851
02834f18-065b-11f1-a709-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)

29cde911-0102-8902-87ea-5ce32bd83b97
6f07ea11-0102-8902-87ea-5ce32bd83b97
6ad1eb11-0102-8902-87ea-5ce32bd83b97
d6eeed11-0102-8902-87ea-5ce32bd83b97
407fee11-0102-8902-87ea-5ce32bd83b97
3437ef11-0102-8902-87ea-5ce32bd83b97
bebaf011-0102-8902-87ea-5ce32bd83b97
7dc0f111-0102-8902-87ea-5ce32bd83b97
973df211-0102-8902-87ea-5ce32bd83b97
7e2cf311-0102-8902-87ea-5ce32bd83b97
3502f411-0102-8902-87ea-5ce32bd83b97
9826f511-0102-8902-87ea-5ce32bd83b97
1a1df611-0102-8902-87ea-5ce32bd83b97
dc1af711-0102-8902-87ea-5ce32bd83b97
8974f811-0102-8902-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: