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)

01a0283a-2878-77e8-ba6c-b0cbf8a6bab1
01a0283a-2878-7a11-b2ed-3e51f69eee19
01a0283a-2878-7b59-b83d-ac94233e4fbc
01a0283a-2878-7c73-9ae2-f05f570cdac7
01a0283a-2878-7d92-b158-52b508d11226
01a0283a-2878-7ead-bfae-d49930fce54c
01a0283a-2878-7fc3-8a85-726c329edf03
01a0283a-2879-70de-b6ca-8a524d5990d4
01a0283a-2879-71f8-b7a4-5bf5e7fd6e9e
01a0283a-2879-731b-924f-aeaccbfaedaf
01a0283a-2879-73ec-a2e7-350a34c082f1
01a0283a-2879-750b-8f2a-25b16dee8bff
01a0283a-2879-7625-9b3e-60502fb327a9
01a0283a-2879-773c-8f02-115537a6471c
01a0283a-2879-7857-88d8-6d9da6f1b4e2

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)

1f19df57-34e4-6fb8-83eb-4cf95d479851
1f19df57-34e5-61d4-83eb-4cf95d479851
1f19df57-34e5-62c4-83eb-4cf95d479851
1f19df57-34e5-63a0-83eb-4cf95d479851
1f19df57-34e5-6472-83eb-4cf95d479851
1f19df57-34e5-653a-83eb-4cf95d479851
1f19df57-34e5-65f8-83eb-4cf95d479851
1f19df57-34e5-66c0-83eb-4cf95d479851
1f19df57-34e5-677e-83eb-4cf95d479851
1f19df57-34e5-6846-83eb-4cf95d479851
1f19df57-34e5-69fe-83eb-4cf95d479851
1f19df57-34e5-6b52-83eb-4cf95d479851
1f19df57-34e5-6c7e-83eb-4cf95d479851
1f19df57-34e5-6d5a-83eb-4cf95d479851
1f19df57-34e5-6e18-83eb-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)

734e5efe-9df5-11f1-83eb-4cf95d479851
734e5f6c-9df5-11f1-83eb-4cf95d479851
734e5fd0-9df5-11f1-83eb-4cf95d479851
734e6034-9df5-11f1-83eb-4cf95d479851
734e6098-9df5-11f1-83eb-4cf95d479851
734e60f2-9df5-11f1-83eb-4cf95d479851
734e6156-9df5-11f1-83eb-4cf95d479851
734e61ba-9df5-11f1-83eb-4cf95d479851
734e621e-9df5-11f1-83eb-4cf95d479851
734e6282-9df5-11f1-83eb-4cf95d479851
734e62dc-9df5-11f1-83eb-4cf95d479851
734e6336-9df5-11f1-83eb-4cf95d479851
734e6390-9df5-11f1-83eb-4cf95d479851
734e63f4-9df5-11f1-83eb-4cf95d479851
734e644e-9df5-11f1-83eb-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)

50853a0f-9901-8a0e-87ea-5ce32bd83b97
32863b0f-9901-8a0e-87ea-5ce32bd83b97
218c3c0f-9901-8a0e-87ea-5ce32bd83b97
4f8b3d0f-9901-8a0e-87ea-5ce32bd83b97
bd9f3e0f-9901-8a0e-87ea-5ce32bd83b97
b5923f0f-9901-8a0e-87ea-5ce32bd83b97
c8f2400f-9901-8a0e-87ea-5ce32bd83b97
7ff1410f-9901-8a0e-87ea-5ce32bd83b97
0f35420f-9901-8a0e-87ea-5ce32bd83b97
4aca430f-9901-8a0e-87ea-5ce32bd83b97
fe5c440f-9901-8a0e-87ea-5ce32bd83b97
68cc450f-9901-8a0e-87ea-5ce32bd83b97
d603460f-9901-8a0e-87ea-5ce32bd83b97
3d1f470f-9901-8a0e-87ea-5ce32bd83b97
0c45480f-9901-8a0e-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)

fe207bd7-0025-4d91-a1fd-a2f688e85058
c719a154-21dd-4daf-beca-c1d6936bd947
7342cd28-e8a7-44aa-a145-ef17d3a50d89
17979dea-55d7-4494-a688-16b166501143
55efd25d-f63d-4ac8-82eb-b1e69e455cfe
fba3457a-7ed2-4222-8b9a-f7f849707f0d
026b928e-8427-4bb9-9d1f-3dd4a843a074
d887b143-8daf-482b-b575-cfb69c85b55b
4d31f85b-49d2-450e-995e-a2f37a34b3bf
e380d4ca-641b-4567-9af7-abe5ea671d55
f7a61cb2-4a7a-4817-91b0-e8769cac0661
e52a8223-3584-49d5-adb6-151784e1e706
20a78336-21d4-4a12-abfd-ef9b446c52e1
3fca59ff-c995-40f3-afb9-83ed95918833
f1843ecb-f4cb-40fe-a453-cf156dc0521c

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: