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)

019f6679-ea3e-779a-b8fc-ac4520677e73
019f6679-ea3e-79cb-9b35-4a5bb4b73aa5
019f6679-ea3e-7b0f-8027-3d3740134528
019f6679-ea3e-7c2e-80e6-9f79420828f2
019f6679-ea3e-7d48-b1da-637130af0be3
019f6679-ea3e-7e5f-b200-057c8e41fa33
019f6679-ea3e-7f79-990b-5b03566e47d9
019f6679-ea3f-7094-95ec-e222e3537408
019f6679-ea3f-71aa-84cc-2199072329d4
019f6679-ea3f-72c1-ad0d-7304fb9a039a
019f6679-ea3f-73d8-9ee6-3ba0c6a895ba
019f6679-ea3f-74fa-9ef2-982e65d37c49
019f6679-ea3f-7611-a721-17251a98a4cd
019f6679-ea3f-772c-a1ae-6c12c20760c9
019f6679-ea3f-7842-bc1a-6a6b593e0a37

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)

1f180650-dcf9-66cc-8097-4cf95d479851
1f180650-dcf9-687a-8097-4cf95d479851
1f180650-dcf9-6974-8097-4cf95d479851
1f180650-dcf9-6a46-8097-4cf95d479851
1f180650-dcf9-6b18-8097-4cf95d479851
1f180650-dcf9-6be0-8097-4cf95d479851
1f180650-dcf9-6cb2-8097-4cf95d479851
1f180650-dcf9-6d7a-8097-4cf95d479851
1f180650-dcf9-6e42-8097-4cf95d479851
1f180650-dcf9-6f0a-8097-4cf95d479851
1f180650-dcfa-6072-8097-4cf95d479851
1f180650-dcfa-614e-8097-4cf95d479851
1f180650-dcfa-6216-8097-4cf95d479851
1f180650-dcfa-62e8-8097-4cf95d479851
1f180650-dcfa-63ba-8097-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)

0dcfa496-8065-11f1-8097-4cf95d479851
0dcfa4fa-8065-11f1-8097-4cf95d479851
0dcfa568-8065-11f1-8097-4cf95d479851
0dcfa5cc-8065-11f1-8097-4cf95d479851
0dcfa63a-8065-11f1-8097-4cf95d479851
0dcfa69e-8065-11f1-8097-4cf95d479851
0dcfa702-8065-11f1-8097-4cf95d479851
0dcfa75c-8065-11f1-8097-4cf95d479851
0dcfa7c0-8065-11f1-8097-4cf95d479851
0dcfa824-8065-11f1-8097-4cf95d479851
0dcfa888-8065-11f1-8097-4cf95d479851
0dcfa8e2-8065-11f1-8097-4cf95d479851
0dcfa946-8065-11f1-8097-4cf95d479851
0dcfa9aa-8065-11f1-8097-4cf95d479851
0dcfaa04-8065-11f1-8097-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)

b82eb221-b803-840c-87ea-5ce32bd83b97
f15bb321-b803-840c-87ea-5ce32bd83b97
dd8ab421-b803-840c-87ea-5ce32bd83b97
66a8b521-b803-840c-87ea-5ce32bd83b97
fa1eb621-b803-840c-87ea-5ce32bd83b97
d41cb721-b803-840c-87ea-5ce32bd83b97
289bb821-b803-840c-87ea-5ce32bd83b97
b8f2b921-b803-840c-87ea-5ce32bd83b97
ec54ba21-b803-840c-87ea-5ce32bd83b97
0604bb21-b803-840c-87ea-5ce32bd83b97
187abc21-b803-840c-87ea-5ce32bd83b97
38b8bd21-b803-840c-87ea-5ce32bd83b97
615abe21-b803-840c-87ea-5ce32bd83b97
afdcbf21-b803-840c-87ea-5ce32bd83b97
e9e1c021-b803-840c-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)

834df4d2-3099-4622-81bb-90c9dcebf497
921fe9a8-d97b-4df2-beb7-d07166ba8152
6a717f2e-1998-4232-b3e9-67b7af7b455e
a9e78e61-e58e-43c5-9515-4c805092cc0e
521eb2fb-afa7-4bfb-8790-f85122efd6f8
17e8d4ac-114f-4112-ae0b-34ac381f5094
f71836fa-86e7-453b-a942-494fc46ad2fd
20954559-233d-475d-87c2-f6e09860e4aa
7b0eafe0-21f8-4a05-8a52-838a7894ce15
8480d1b9-fd87-4a0d-936f-160d1969c277
168904a2-941e-4546-b531-7ed07aa64fe2
85cdffce-342b-4753-8b02-32ac63753ec9
6e6e09ab-0da7-4c50-b270-5a99bca7130d
efc75ae8-870b-4bcd-a49d-7548100d2e2c
3fb2da79-d690-4610-9aaa-2b5d16f22c48

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: