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)

019f25c3-f114-7ca8-b78d-ffdfc82ab5b9
019f25c3-f114-7e73-861a-0fdd26291ea6
019f25c3-f114-7fbb-ba13-c5331ee8b9dc
019f25c3-f115-70da-8629-8742bc4eeca5
019f25c3-f115-71f0-b8d7-5998637b1e36
019f25c3-f115-7303-8c58-20324c5b1ab7
019f25c3-f115-7415-9e66-e81d85edc059
019f25c3-f115-7527-8664-c481a4a89d1c
019f25c3-f115-763e-aa0f-a903ee50167f
019f25c3-f115-7754-88e1-caf828d25a16
019f25c3-f115-786b-92db-c7eeef06f249
019f25c3-f115-7982-a4b9-f4f17a790c65
019f25c3-f115-7a94-9f1b-09f2aa95b74e
019f25c3-f115-7ba6-a5af-da635c88ba5a
019f25c3-f115-7cb9-a0aa-79ef7295875e

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)

1f176854-97aa-6a66-9551-4cf95d479851
1f176854-97aa-6c46-9551-4cf95d479851
1f176854-97aa-6d36-9551-4cf95d479851
1f176854-97aa-6e08-9551-4cf95d479851
1f176854-97aa-6ec6-9551-4cf95d479851
1f176854-97aa-6f98-9551-4cf95d479851
1f176854-97ab-6056-9551-4cf95d479851
1f176854-97ab-611e-9551-4cf95d479851
1f176854-97ab-61e6-9551-4cf95d479851
1f176854-97ab-62a4-9551-4cf95d479851
1f176854-97ab-6448-9551-4cf95d479851
1f176854-97ab-651a-9551-4cf95d479851
1f176854-97ab-65e2-9551-4cf95d479851
1f176854-97ab-66aa-9551-4cf95d479851
1f176854-97ab-6772-9551-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)

497ab84e-7685-11f1-9551-4cf95d479851
497ab8bc-7685-11f1-9551-4cf95d479851
497ab920-7685-11f1-9551-4cf95d479851
497ab98e-7685-11f1-9551-4cf95d479851
497ab9f2-7685-11f1-9551-4cf95d479851
497aba56-7685-11f1-9551-4cf95d479851
497abab0-7685-11f1-9551-4cf95d479851
497abb14-7685-11f1-9551-4cf95d479851
497abb78-7685-11f1-9551-4cf95d479851
497abbdc-7685-11f1-9551-4cf95d479851
497abc40-7685-11f1-9551-4cf95d479851
497abc9a-7685-11f1-9551-4cf95d479851
497abcfe-7685-11f1-9551-4cf95d479851
497abd62-7685-11f1-9551-4cf95d479851
497abdc6-7685-11f1-9551-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)

15241206-8a00-880b-87ea-5ce32bd83b97
205a1306-8a00-880b-87ea-5ce32bd83b97
bb751406-8a00-880b-87ea-5ce32bd83b97
60ce1506-8a00-880b-87ea-5ce32bd83b97
1afd1606-8a00-880b-87ea-5ce32bd83b97
56961706-8a00-880b-87ea-5ce32bd83b97
35221806-8a00-880b-87ea-5ce32bd83b97
77051906-8a00-880b-87ea-5ce32bd83b97
adef1a06-8a00-880b-87ea-5ce32bd83b97
e5661b06-8a00-880b-87ea-5ce32bd83b97
6f671c06-8a00-880b-87ea-5ce32bd83b97
79831d06-8a00-880b-87ea-5ce32bd83b97
8d771e06-8a00-880b-87ea-5ce32bd83b97
51241f06-8a00-880b-87ea-5ce32bd83b97
1da12006-8a00-880b-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)

54bec813-4af5-4a20-a545-a990bb6b5b16
847dbe33-ee57-42bf-be3e-4af17d1ce375
a1f9391c-3dbe-4d1f-a997-e6c3c539b2b6
7f7d93b5-b230-4ddb-91f0-6dee74de0df3
64831469-ef54-47a4-914b-329e6eda96f3
9b79fd53-2d12-46d2-b4af-974f38dadb7e
feef2df7-b9be-40e8-9440-3f66b181e9e1
eee61391-1967-4d7b-baa8-422bb08618b6
b9cee164-0196-48cc-862c-9e1f7120c438
6ba159a2-4f26-43e0-8bc5-a0ee8defec8e
8913e0c8-ef13-40ed-9774-35f4838251a1
93aeff28-a694-4074-8c52-d55a579727bd
71589d54-024a-4d0a-86f6-3145c5be5857
18cf7107-d9c8-4d09-a7fc-54a0952e8486
32102d30-c2dc-42be-a0d6-19fd9aee1c78

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: