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)

01a2494f-52e0-7b61-ac06-b2b6fec773c0
01a2494f-52e0-7d13-b612-3148630f6013
01a2494f-52e0-7e67-a288-25473a54825c
01a2494f-52e0-7f86-a0a8-6da50b69ea20
01a2494f-52e1-70a4-8bf3-72f08f51beae
01a2494f-52e1-71bf-b3bc-13891881570d
01a2494f-52e1-733c-a60a-9ca4e65afb85
01a2494f-52e1-7400-aa22-1113dda7c116
01a2494f-52e1-7544-ad66-627f3b2ab82d
01a2494f-52e1-7663-ab4c-c0c1a63ad746
01a2494f-52e1-777d-a582-c01a3b039617
01a2494f-52e1-7894-b717-364da91129b6
01a2494f-52e1-79af-9093-9ab7b9949912
01a2494f-52e1-7ac9-9765-8dcb6c5edaba
01a2494f-52e1-7be0-b3d8-64f0f347d797

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)

1f1f121b-e1da-6118-afd4-4cf95d479851
1f1f121b-e1da-65e6-afd4-4cf95d479851
1f1f121b-e1da-6794-afd4-4cf95d479851
1f1f121b-e1da-6906-afd4-4cf95d479851
1f1f121b-e1da-6a6e-afd4-4cf95d479851
1f1f121b-e1da-6bcc-afd4-4cf95d479851
1f1f121b-e1da-6d34-afd4-4cf95d479851
1f1f121b-e1da-6e9c-afd4-4cf95d479851
1f1f121b-e1db-6004-afd4-4cf95d479851
1f1f121b-e1db-6176-afd4-4cf95d479851
1f1f121b-e1db-63b0-afd4-4cf95d479851
1f1f121b-e1db-6522-afd4-4cf95d479851
1f1f121b-e1db-668a-afd4-4cf95d479851
1f1f121b-e1db-67fc-afd4-4cf95d479851
1f1f121b-e1db-695a-afd4-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)

be1dbafe-f121-11f1-afd4-4cf95d479851
be1dbba8-f121-11f1-afd4-4cf95d479851
be1dbc52-f121-11f1-afd4-4cf95d479851
be1dbcf2-f121-11f1-afd4-4cf95d479851
be1dbd92-f121-11f1-afd4-4cf95d479851
be1dbe28-f121-11f1-afd4-4cf95d479851
be1dbec8-f121-11f1-afd4-4cf95d479851
be1dbf68-f121-11f1-afd4-4cf95d479851
be1dbffe-f121-11f1-afd4-4cf95d479851
be1dc0a8-f121-11f1-afd4-4cf95d479851
be1dc148-f121-11f1-afd4-4cf95d479851
be1dc1e8-f121-11f1-afd4-4cf95d479851
be1dc27e-f121-11f1-afd4-4cf95d479851
be1dc332-f121-11f1-afd4-4cf95d479851
be1dc3e6-f121-11f1-afd4-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)

5de81a19-b900-8415-87ea-5ce32bd83b97
17571b19-b900-8415-87ea-5ce32bd83b97
5e071c19-b900-8415-87ea-5ce32bd83b97
156c1d19-b900-8415-87ea-5ce32bd83b97
d0bd1e19-b900-8415-87ea-5ce32bd83b97
17d11f19-b900-8415-87ea-5ce32bd83b97
ee412119-b900-8415-87ea-5ce32bd83b97
01472219-b900-8415-87ea-5ce32bd83b97
9b152319-b900-8415-87ea-5ce32bd83b97
38ec2419-b900-8415-87ea-5ce32bd83b97
d5de2519-b900-8415-87ea-5ce32bd83b97
ad2d2619-b900-8415-87ea-5ce32bd83b97
99672719-b900-8415-87ea-5ce32bd83b97
badc2819-b900-8415-87ea-5ce32bd83b97
24112919-b900-8415-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)

7b75f674-0687-4d13-8266-e41d114c7561
1ea2326e-fc81-4f73-9aa3-51c316dfea28
61027865-e140-45a7-ac25-5987182fe93b
6f5f716c-0c75-4d21-a65d-c26c6b6dcb23
4829ff20-148a-48ea-a2c5-6c0a908b7b83
5e68ecda-b61b-460d-b14e-1ca563385885
c7b40021-2c9d-4645-b96c-ff7a95ec4549
a664688d-65d9-4bdc-a453-6ae3880d87a1
d64302d8-4f6d-45fb-9be9-c33c3c9c95b7
b822eaac-44b2-44f3-ad17-12a853e4f1d1
9ce2ca02-40e3-48cd-8ccd-2c72746915cf
f301ef8d-5c41-4607-8afa-30eba650970b
d38612b6-9041-4b39-b25d-e443ac41ca0b
53487e0c-cac4-4d8a-a7ab-c7f21254b0a0
07deb46a-da55-43ac-a279-ea5dcd74951a

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: