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)

019e5169-f7a1-7d4c-8621-1564e6eab2b2
019e5169-f7a1-7f1b-9f60-a08e6f8df5bb
019e5169-f7a2-705b-bc34-e85312fdfb2e
019e5169-f7a2-7175-8bf9-90fd2ae6230e
019e5169-f7a2-728c-b65b-eb9cefbf0c93
019e5169-f7a2-739e-bb82-bbe423ae4a14
019e5169-f7a2-74b1-b9d7-92fd88e652a8
019e5169-f7a2-75c3-a031-64a4b6ee230c
019e5169-f7a2-76d5-b1f5-4f03f52f63bb
019e5169-f7a2-77f0-aa4d-f5acfdc8a568
019e5169-f7a2-7907-8720-b3574827e754
019e5169-f7a2-7a19-b976-9d4dd712936b
019e5169-f7a2-7b2c-84a9-97d5713c5704
019e5169-f7a2-7c46-af91-432995a2888a
019e5169-f7a2-7d59-b917-2d5cc54407b4

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)

1f1561e4-eda8-6d8c-805d-4cf95d479851
1f1561e4-eda8-6f76-805d-4cf95d479851
1f1561e4-eda9-6070-805d-4cf95d479851
1f1561e4-eda9-6138-805d-4cf95d479851
1f1561e4-eda9-6200-805d-4cf95d479851
1f1561e4-eda9-62c8-805d-4cf95d479851
1f1561e4-eda9-6390-805d-4cf95d479851
1f1561e4-eda9-6458-805d-4cf95d479851
1f1561e4-eda9-6516-805d-4cf95d479851
1f1561e4-eda9-65de-805d-4cf95d479851
1f1561e4-eda9-6714-805d-4cf95d479851
1f1561e4-eda9-67e6-805d-4cf95d479851
1f1561e4-eda9-68a4-805d-4cf95d479851
1f1561e4-eda9-6962-805d-4cf95d479851
1f1561e4-eda9-6a2a-805d-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)

4eda9b06-561e-11f1-805d-4cf95d479851
4eda9b74-561e-11f1-805d-4cf95d479851
4eda9bd8-561e-11f1-805d-4cf95d479851
4eda9c3c-561e-11f1-805d-4cf95d479851
4eda9c96-561e-11f1-805d-4cf95d479851
4eda9cfa-561e-11f1-805d-4cf95d479851
4eda9d54-561e-11f1-805d-4cf95d479851
4eda9ef8-561e-11f1-805d-4cf95d479851
4eda9f70-561e-11f1-805d-4cf95d479851
4eda9fd4-561e-11f1-805d-4cf95d479851
4edaa038-561e-11f1-805d-4cf95d479851
4edaa09c-561e-11f1-805d-4cf95d479851
4edaa100-561e-11f1-805d-4cf95d479851
4edaa164-561e-11f1-805d-4cf95d479851
4edaa1c8-561e-11f1-805d-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)

6992b713-d804-8e08-87ea-5ce32bd83b97
74aeb813-d804-8e08-87ea-5ce32bd83b97
d766b913-d804-8e08-87ea-5ce32bd83b97
d253ba13-d804-8e08-87ea-5ce32bd83b97
453abb13-d804-8e08-87ea-5ce32bd83b97
f1a0bc13-d804-8e08-87ea-5ce32bd83b97
426dbd13-d804-8e08-87ea-5ce32bd83b97
3f8cbe13-d804-8e08-87ea-5ce32bd83b97
60babf13-d804-8e08-87ea-5ce32bd83b97
c9b2c013-d804-8e08-87ea-5ce32bd83b97
94ecc113-d804-8e08-87ea-5ce32bd83b97
7774c213-d804-8e08-87ea-5ce32bd83b97
7fd8c313-d804-8e08-87ea-5ce32bd83b97
6337c413-d804-8e08-87ea-5ce32bd83b97
0b34c513-d804-8e08-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)

7ab5cd8e-f55b-4445-b396-9be748b58722
ae52d62b-7e14-40b1-8555-9a51bcd46009
c21fbfc3-26d6-4aaa-8435-ade5a2b50b76
2f6d6f50-af10-49d4-9215-2ec4bf468e81
c4df4f79-1bd3-4354-83eb-70304e8c5f36
34e10350-6981-4bb5-8203-abe206a2cf20
b8366ecd-3460-4054-90aa-8c27f4cd1071
5e09b47c-b165-42f7-a03b-373a46a1c20e
9e20da3c-28e9-4233-b203-14e79f814c0c
1009538f-4680-40db-adc9-7714d1303c93
298b7709-10c4-4431-a49d-b9cfca6cb759
2b404cfa-ee37-4bb2-8982-fd820aedb222
9f5ddad3-7337-47af-b2c5-5a9bf00d450a
0afde18a-9e08-4ecb-9549-3e68e1009c30
f05bcb17-8c07-4b51-a58c-236b3df40eeb

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: