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)

019df0e9-c043-70f2-8acb-67dba6159b11
019df0e9-c043-72a0-b02a-6cf33b213146
019df0e9-c043-73e8-8334-19d5be8cbbd8
019df0e9-c043-750b-abdc-ea92dc130d11
019df0e9-c043-7625-9ddf-651e905dfdd9
019df0e9-c043-7740-ad15-7102145f8ddd
019df0e9-c043-785b-8ff3-b66234306414
019df0e9-c043-799e-95a7-208cbde68d4b
019df0e9-c043-7aea-b06a-be3b89d7b796
019df0e9-c043-7c36-986a-dd6c9aa1cd42
019df0e9-c043-7db3-aa0c-fcf6ff43b451
019df0e9-c043-7f82-97f7-cddf1084c008
019df0e9-c044-7117-969e-f9b99ad89885
019df0e9-c044-7288-9e69-a773d13ebe6f
019df0e9-c044-73ec-94dc-7de53171f067

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)

1f14764b-e67b-6242-a551-4cf95d479851
1f14764b-e67b-64e0-a551-4cf95d479851
1f14764b-e67b-65f8-a551-4cf95d479851
1f14764b-e67b-66e8-a551-4cf95d479851
1f14764b-e67b-681e-a551-4cf95d479851
1f14764b-e67b-68fa-a551-4cf95d479851
1f14764b-e67b-69c2-a551-4cf95d479851
1f14764b-e67b-6a8a-a551-4cf95d479851
1f14764b-e67b-6b52-a551-4cf95d479851
1f14764b-e67b-6c10-a551-4cf95d479851
1f14764b-e67b-6daa-a551-4cf95d479851
1f14764b-e67b-6f12-a551-4cf95d479851
1f14764b-e67c-6070-a551-4cf95d479851
1f14764b-e67c-61c4-a551-4cf95d479851
1f14764b-e67c-6322-a551-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)

9798c85d-7291-4947-9873-9ac7cdc83f42
2402459f-08de-435e-a206-c1792ea2af08
50e14f74-408e-403f-84e8-e62e5df1fd5e
9c091eac-a747-404b-b700-ce0d15d64987
aefb3786-ed8a-40cb-af9a-4c7b53eebefb
50c2a010-9877-4599-96e1-c9311ace256b
46bc7c58-06ec-48bf-ac5c-10f755ff22e6
9800cac8-c143-47ba-8d12-70d0db59559d
9ed031af-feff-4f8b-a291-2d3b10b1b58d
db6b50b3-164d-4718-aba7-697c795199fc
c67c9009-df4e-46fd-bcda-f553f420fcee
34c2c4a5-fd56-415e-a4ef-b47ea68f80bb
34126b1a-7327-4531-a7c8-7440e4656499
91679aa6-df9e-4794-bed7-3f85ae0f1f43
7c069dc8-fdbf-4dfe-91da-45cef49540fc

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)

be67c9e4-4764-11f1-a551-4cf95d479851
be67ca70-4764-11f1-a551-4cf95d479851
be67cafc-4764-11f1-a551-4cf95d479851
be67cb7e-4764-11f1-a551-4cf95d479851
be67cc00-4764-11f1-a551-4cf95d479851
be67cc8c-4764-11f1-a551-4cf95d479851
be67cd18-4764-11f1-a551-4cf95d479851
be67cda4-4764-11f1-a551-4cf95d479851
be67ce26-4764-11f1-a551-4cf95d479851
be67cea8-4764-11f1-a551-4cf95d479851
be67cf34-4764-11f1-a551-4cf95d479851
be67cfac-4764-11f1-a551-4cf95d479851
be67d02e-4764-11f1-a551-4cf95d479851
be67d0ce-4764-11f1-a551-4cf95d479851
be67d150-4764-11f1-a551-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)

dfa2322c-b000-8c07-87ea-5ce32bd83b97
aae4332c-b000-8c07-87ea-5ce32bd83b97
5341342c-b000-8c07-87ea-5ce32bd83b97
d6fb352c-b000-8c07-87ea-5ce32bd83b97
2469362c-b000-8c07-87ea-5ce32bd83b97
277f372c-b000-8c07-87ea-5ce32bd83b97
6ad1392c-b000-8c07-87ea-5ce32bd83b97
08c33a2c-b000-8c07-87ea-5ce32bd83b97
9af83b2c-b000-8c07-87ea-5ce32bd83b97
991b3c2c-b000-8c07-87ea-5ce32bd83b97
38923d2c-b000-8c07-87ea-5ce32bd83b97
3e713e2c-b000-8c07-87ea-5ce32bd83b97
a8f83f2c-b000-8c07-87ea-5ce32bd83b97
10d3402c-b000-8c07-87ea-5ce32bd83b97
9864412c-b000-8c07-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: