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)

01a00a60-1517-737d-8ebe-74fe7f37437d
01a00a60-1517-7548-a70f-083bdffc1ab1
01a00a60-1517-7688-9dc8-2f28ae7cd932
01a00a60-1517-77a6-9f8f-27026ee0ff2c
01a00a60-1517-78bd-928d-fa441b2a0872
01a00a60-1517-79d8-a043-5ae58aef8496
01a00a60-1517-7aee-9d3e-96ffd2f12885
01a00a60-1517-7c09-b5c4-eab1e0fd439a
01a00a60-1517-7d1f-ab2f-92d149f14b37
01a00a60-1517-7e36-ac31-dfb25f228994
01a00a60-1517-7f48-a537-b6850479d0a5
01a00a60-1518-705f-b8e0-a2e1db99e4bb
01a00a60-1518-7179-a611-ee6dd2b4a6ff
01a00a60-1518-7290-aa0f-9121841c77d4
01a00a60-1518-73a6-8a85-49cabace09f4

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)

1f199675-cb94-68bc-848e-4cf95d479851
1f199675-cb94-6a9c-848e-4cf95d479851
1f199675-cb94-6b96-848e-4cf95d479851
1f199675-cb94-6c72-848e-4cf95d479851
1f199675-cb94-6d3a-848e-4cf95d479851
1f199675-cb94-6e0c-848e-4cf95d479851
1f199675-cb94-6ede-848e-4cf95d479851
1f199675-cb94-6fb0-848e-4cf95d479851
1f199675-cb95-6082-848e-4cf95d479851
1f199675-cb95-6154-848e-4cf95d479851
1f199675-cb95-62e4-848e-4cf95d479851
1f199675-cb95-6456-848e-4cf95d479851
1f199675-cb95-6550-848e-4cf95d479851
1f199675-cb95-662c-848e-4cf95d479851
1f199675-cb95-6708-848e-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)

5cb957f8-9967-11f1-848e-4cf95d479851
5cb95866-9967-11f1-848e-4cf95d479851
5cb958ca-9967-11f1-848e-4cf95d479851
5cb9592e-9967-11f1-848e-4cf95d479851
5cb9599c-9967-11f1-848e-4cf95d479851
5cb95a00-9967-11f1-848e-4cf95d479851
5cb95a64-9967-11f1-848e-4cf95d479851
5cb95ac8-9967-11f1-848e-4cf95d479851
5cb95b22-9967-11f1-848e-4cf95d479851
5cb95b86-9967-11f1-848e-4cf95d479851
5cb95bea-9967-11f1-848e-4cf95d479851
5cb95c4e-9967-11f1-848e-4cf95d479851
5cb95cb2-9967-11f1-848e-4cf95d479851
5cb95d20-9967-11f1-848e-4cf95d479851
5cb95d7a-9967-11f1-848e-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)

ab0a2704-be02-840e-87ea-5ce32bd83b97
37302804-be02-840e-87ea-5ce32bd83b97
2df92904-be02-840e-87ea-5ce32bd83b97
40382a04-be02-840e-87ea-5ce32bd83b97
3e732b04-be02-840e-87ea-5ce32bd83b97
fa3e2c04-be02-840e-87ea-5ce32bd83b97
308e2d04-be02-840e-87ea-5ce32bd83b97
43942e04-be02-840e-87ea-5ce32bd83b97
25ca2f04-be02-840e-87ea-5ce32bd83b97
29a13004-be02-840e-87ea-5ce32bd83b97
7c533104-be02-840e-87ea-5ce32bd83b97
16023204-be02-840e-87ea-5ce32bd83b97
e91b3304-be02-840e-87ea-5ce32bd83b97
59483404-be02-840e-87ea-5ce32bd83b97
164b3604-be02-840e-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)

bdc5ff54-8e1c-44b5-83f4-c6002159710d
70f2f32c-0350-4f92-a7a7-181dd596523b
b27f499f-83e0-4270-ad48-4a78ce409584
6f8b2cde-e583-4d88-b9fd-b9e20fdb5a10
1d58ac77-3093-4dda-80c5-d96dd7276531
7e2421f5-3379-469d-a9f9-0f1c5e514701
cdfdec62-8447-4d9b-8833-35e4f9c167e9
a8ca7935-e5f0-429d-90bd-c834a4a311e4
ae184e43-5143-415f-9b80-ac7002aaa407
3702ae9a-99c6-400f-8881-3f61216c0eaf
bdc7eb94-5b24-4e8d-a2aa-5ea0f9340162
b9c2866f-4e25-45b9-be01-4871abc44ae8
f6719f9e-c4c5-436b-a8dd-d224db87d723
5db1126e-6fb0-462b-90de-f7ca180014a4
d085f70b-8668-4a57-9991-c68b0fd983b2

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: