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)

019dfde5-4bbb-7c2e-a6d4-03b511e9b96a
019dfde5-4bbb-7df8-8ec4-55c24d35a61a
019dfde5-4bbb-7f69-b9e2-46a363a37690
019dfde5-4bbc-70a4-af2e-697de17efac4
019dfde5-4bbc-71e0-8f8c-06408e6b5b5c
019dfde5-4bbc-731b-980f-f5cdaa67ef01
019dfde5-4bbc-7457-b87d-aec7bff34cba
019dfde5-4bbc-7592-aa29-83216ee0e996
019dfde5-4bbc-76c5-b9d4-2fec5aec5e1d
019dfde5-4bbc-77fc-a34d-76562dedb24d
019dfde5-4bbc-7938-975a-433f35491618
019dfde5-4bbc-7a6f-b044-144d562fd718
019dfde5-4bbc-7ba2-aeaf-bbfa668cd65d
019dfde5-4bbc-7cda-aadd-7146d09b358e
019dfde5-4bbc-7e57-8acc-2cc2d304f54a

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)

1f1495fe-05fc-672a-999c-4cf95d479851
1f1495fe-05fc-69b4-999c-4cf95d479851
1f1495fe-05fc-6b4e-999c-4cf95d479851
1f1495fe-05fc-6cac-999c-4cf95d479851
1f1495fe-05fc-6df6-999c-4cf95d479851
1f1495fe-05fc-6f36-999c-4cf95d479851
1f1495fe-05fd-6012-999c-4cf95d479851
1f1495fe-05fd-60d0-999c-4cf95d479851
1f1495fe-05fd-6198-999c-4cf95d479851
1f1495fe-05fd-6256-999c-4cf95d479851
1f1495fe-05fd-638c-999c-4cf95d479851
1f1495fe-05fd-645e-999c-4cf95d479851
1f1495fe-05fd-651c-999c-4cf95d479851
1f1495fe-05fd-65da-999c-4cf95d479851
1f1495fe-05fd-6698-999c-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)

65b1b7be-781a-4788-b4fc-9af6bbf2ab45
d384e069-7251-4526-b9ae-6f28af1ea9ef
eac5c5d2-f1af-4bb4-acf3-c04a0cbe2eea
de3eda76-2024-4191-ae2e-1ff77520322c
c929404f-6617-46a6-ad2d-2a3afa3341c5
ccb5b0c6-d36b-4089-a726-7579478c1d24
111165ee-700c-41f6-a752-a32090a6650a
8c3fac52-732d-4e1c-80fe-45869680b40e
092d4d85-06a9-48e9-826a-f845c067f3c8
3aaf5c83-0ba4-441a-bf82-174900d14688
9562c0db-b34c-420f-91aa-d3da0ed3105b
55e24739-05e4-4c3f-9284-cca888f053d7
eb72ad96-8fc1-4baa-961a-967bf70a144e
4673700e-4e5c-47b0-bdd6-ab871c51a260
6ce33e6b-e966-4f99-90e9-3da00cdcf9b8

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)

e05fdc74-495f-11f1-999c-4cf95d479851
e05fdce2-495f-11f1-999c-4cf95d479851
e05fdd46-495f-11f1-999c-4cf95d479851
e05fddaa-495f-11f1-999c-4cf95d479851
e05fde0e-495f-11f1-999c-4cf95d479851
e05fde7c-495f-11f1-999c-4cf95d479851
e05fdeea-495f-11f1-999c-4cf95d479851
e05fdf4e-495f-11f1-999c-4cf95d479851
e05fdfb2-495f-11f1-999c-4cf95d479851
e05fe02a-495f-11f1-999c-4cf95d479851
e05fe0a2-495f-11f1-999c-4cf95d479851
e05fe0fc-495f-11f1-999c-4cf95d479851
e05fe16a-495f-11f1-999c-4cf95d479851
e05fe1ce-495f-11f1-999c-4cf95d479851
e05fe232-495f-11f1-999c-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)

aebc0738-9e03-8e07-87ea-5ce32bd83b97
467f0838-9e03-8e07-87ea-5ce32bd83b97
3edd0938-9e03-8e07-87ea-5ce32bd83b97
0e490b38-9e03-8e07-87ea-5ce32bd83b97
667b0c38-9e03-8e07-87ea-5ce32bd83b97
11ab0d38-9e03-8e07-87ea-5ce32bd83b97
f22b0e38-9e03-8e07-87ea-5ce32bd83b97
d4960f38-9e03-8e07-87ea-5ce32bd83b97
69eb1038-9e03-8e07-87ea-5ce32bd83b97
aedb1138-9e03-8e07-87ea-5ce32bd83b97
fd501238-9e03-8e07-87ea-5ce32bd83b97
e1781338-9e03-8e07-87ea-5ce32bd83b97
65a11438-9e03-8e07-87ea-5ce32bd83b97
72e01538-9e03-8e07-87ea-5ce32bd83b97
969b1638-9e03-8e07-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: