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)

01a1c5b8-e453-7400-a9e7-f435a57e8869
01a1c5b8-e453-7605-88a3-97b577aa51be
01a1c5b8-e453-7748-9c9a-f0daede5fe55
01a1c5b8-e453-7867-b93d-dca5a8d9925b
01a1c5b8-e453-797d-9a60-3b813230f15f
01a1c5b8-e453-7a94-b5fe-1776e9c64b1e
01a1c5b8-e453-7baa-af7d-9c471434da48
01a1c5b8-e453-7cbd-8a7d-285e839bdc0f
01a1c5b8-e453-7dd3-877b-1736d89d708c
01a1c5b8-e453-7ee6-936d-918bbfd28599
01a1c5b8-e453-7ffc-a88d-9767d5fa18dc
01a1c5b8-e454-7113-9e0f-44d55fbacb7a
01a1c5b8-e454-7232-b3fb-feec91d5e218
01a1c5b8-e454-7348-91ba-ca971e9228b6
01a1c5b8-e454-745f-9dd2-528a7635a954

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)

1f1dd0d9-9d86-6202-aa32-4cf95d479851
1f1dd0d9-9d86-6400-aa32-4cf95d479851
1f1dd0d9-9d86-64fa-aa32-4cf95d479851
1f1dd0d9-9d86-65cc-aa32-4cf95d479851
1f1dd0d9-9d86-669e-aa32-4cf95d479851
1f1dd0d9-9d86-6770-aa32-4cf95d479851
1f1dd0d9-9d86-6838-aa32-4cf95d479851
1f1dd0d9-9d86-68f6-aa32-4cf95d479851
1f1dd0d9-9d86-69b4-aa32-4cf95d479851
1f1dd0d9-9d86-6a7c-aa32-4cf95d479851
1f1dd0d9-9d86-6bd0-aa32-4cf95d479851
1f1dd0d9-9d86-6c98-aa32-4cf95d479851
1f1dd0d9-9d86-6d60-aa32-4cf95d479851
1f1dd0d9-9d86-6e28-aa32-4cf95d479851
1f1dd0d9-9d86-6ee6-aa32-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)

99d86fcc-dd0d-11f1-aa32-4cf95d479851
99d87030-dd0d-11f1-aa32-4cf95d479851
99d8709e-dd0d-11f1-aa32-4cf95d479851
99d8710c-dd0d-11f1-aa32-4cf95d479851
99d8717a-dd0d-11f1-aa32-4cf95d479851
99d871de-dd0d-11f1-aa32-4cf95d479851
99d87242-dd0d-11f1-aa32-4cf95d479851
99d872b0-dd0d-11f1-aa32-4cf95d479851
99d87314-dd0d-11f1-aa32-4cf95d479851
99d87382-dd0d-11f1-aa32-4cf95d479851
99d873f0-dd0d-11f1-aa32-4cf95d479851
99d87454-dd0d-11f1-aa32-4cf95d479851
99d874b8-dd0d-11f1-aa32-4cf95d479851
99d87526-dd0d-11f1-aa32-4cf95d479851
99d8758a-dd0d-11f1-aa32-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)

57cf0f33-3e03-8a13-87ea-5ce32bd83b97
4cf81133-3e03-8a13-87ea-5ce32bd83b97
7ce51233-3e03-8a13-87ea-5ce32bd83b97
78631333-3e03-8a13-87ea-5ce32bd83b97
24ce1433-3e03-8a13-87ea-5ce32bd83b97
d1111533-3e03-8a13-87ea-5ce32bd83b97
4e941633-3e03-8a13-87ea-5ce32bd83b97
282f1733-3e03-8a13-87ea-5ce32bd83b97
5db01833-3e03-8a13-87ea-5ce32bd83b97
32a51933-3e03-8a13-87ea-5ce32bd83b97
5f161a33-3e03-8a13-87ea-5ce32bd83b97
03391b33-3e03-8a13-87ea-5ce32bd83b97
c3e01c33-3e03-8a13-87ea-5ce32bd83b97
844d1d33-3e03-8a13-87ea-5ce32bd83b97
b3b91e33-3e03-8a13-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)

e892ec6d-290e-4ecd-832b-0eab6b077bb5
a218372f-c44d-4b45-94cc-422dd0903b18
66c58b07-a184-4e93-8883-f8a43bf5da62
d5ab63d3-db3f-46ea-9abd-596cce8e745b
3e3a550f-b205-47aa-b3b0-e291fd1a672b
215e37bf-e6f4-4394-a031-89dfdb66fb35
5edea6d6-36e4-44dc-a814-d18e35ad3893
edb63a33-15a3-4ae8-829f-4b8bbd46306c
2d09f2aa-3415-4db4-bf73-96591497f7a7
e0a12a21-0fe5-4123-9e19-cfb8e92c9acb
4636c968-e77e-477e-8826-96cff9e95d50
d7db3418-a9c7-48d9-ba37-4bf6afdc9c3d
b8d6a632-91c7-464c-a364-501ea9b800f8
d1d5644d-7d76-4bda-af41-4b31e3adf88b
297eebe1-66ea-41dd-915f-4a6e07a17350

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: