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)

01a19ef9-a785-7f8e-8814-4f2b83ca36f5
01a19ef9-a786-7134-a546-c7688be0d670
01a19ef9-a786-726f-a0f7-2ec556fba4d1
01a19ef9-a786-738a-8cfe-d27678e83650
01a19ef9-a786-74a0-9ac1-e6d30eb449fd
01a19ef9-a786-75b7-830a-31a624cd0166
01a19ef9-a786-76c9-b593-83e824398077
01a19ef9-a786-77e0-85cd-bfe17fa9e665
01a19ef9-a786-78f2-9b9e-105f5fe1b88d
01a19ef9-a786-7a05-831c-80b2a8320409
01a19ef9-a786-7b17-9393-ddc6a16ae3d4
01a19ef9-a786-7c29-9237-33e0f9c98b8e
01a19ef9-a786-7d3c-bb0b-0c48f3c51bef
01a19ef9-a786-7e52-8016-c16848dba899
01a19ef9-a786-7f69-848d-6faa99b62343

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)

1f1d7240-ba14-6bf0-8e55-4cf95d479851
1f1d7240-ba14-6dc6-8e55-4cf95d479851
1f1d7240-ba14-6eac-8e55-4cf95d479851
1f1d7240-ba14-6f7e-8e55-4cf95d479851
1f1d7240-ba15-6046-8e55-4cf95d479851
1f1d7240-ba15-610e-8e55-4cf95d479851
1f1d7240-ba15-61d6-8e55-4cf95d479851
1f1d7240-ba15-629e-8e55-4cf95d479851
1f1d7240-ba15-6366-8e55-4cf95d479851
1f1d7240-ba15-6424-8e55-4cf95d479851
1f1d7240-ba15-6578-8e55-4cf95d479851
1f1d7240-ba15-664a-8e55-4cf95d479851
1f1d7240-ba15-6708-8e55-4cf95d479851
1f1d7240-ba15-67c6-8e55-4cf95d479851
1f1d7240-ba15-688e-8e55-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)

0ba15974-d724-11f1-8e55-4cf95d479851
0ba159ce-d724-11f1-8e55-4cf95d479851
0ba15a32-d724-11f1-8e55-4cf95d479851
0ba15a96-d724-11f1-8e55-4cf95d479851
0ba15af0-d724-11f1-8e55-4cf95d479851
0ba15b54-d724-11f1-8e55-4cf95d479851
0ba15bb8-d724-11f1-8e55-4cf95d479851
0ba15c12-d724-11f1-8e55-4cf95d479851
0ba15c76-d724-11f1-8e55-4cf95d479851
0ba15cda-d724-11f1-8e55-4cf95d479851
0ba15d34-d724-11f1-8e55-4cf95d479851
0ba15d8e-d724-11f1-8e55-4cf95d479851
0ba15e10-d724-11f1-8e55-4cf95d479851
0ba15e7e-d724-11f1-8e55-4cf95d479851
0ba15eec-d724-11f1-8e55-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)

9740e917-4c00-8313-87ea-5ce32bd83b97
d0b4ea17-4c00-8313-87ea-5ce32bd83b97
3a20eb17-4c00-8313-87ea-5ce32bd83b97
e48cec17-4c00-8313-87ea-5ce32bd83b97
031ced17-4c00-8313-87ea-5ce32bd83b97
1830ee17-4c00-8313-87ea-5ce32bd83b97
4df2ef17-4c00-8313-87ea-5ce32bd83b97
2134f017-4c00-8313-87ea-5ce32bd83b97
cba5f117-4c00-8313-87ea-5ce32bd83b97
de29f217-4c00-8313-87ea-5ce32bd83b97
ba5bf317-4c00-8313-87ea-5ce32bd83b97
e8aff417-4c00-8313-87ea-5ce32bd83b97
c3c0f517-4c00-8313-87ea-5ce32bd83b97
8ac9f617-4c00-8313-87ea-5ce32bd83b97
ffd6f717-4c00-8313-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)

2523a1a9-5c42-4219-a272-33b8def4f630
79a1df40-bf57-4fec-87e8-12f22383a552
104bb85a-205a-45a6-9ba9-bd21da87ec0f
206ad9d6-8bdf-4abc-ade9-1c99bdca90c7
8d5178d4-8a69-45f7-8d7e-c08fe12cf2f3
6b677c22-89e0-4010-8aac-60d959a97a0d
d4bcf81b-d64e-440e-93cd-7b0523ec948c
3b5451e2-b66f-40dc-90c8-b3a051e42ee2
239bfb8e-b987-4fa5-88e3-dbf5817f3a12
e2a207ad-627d-4126-99ef-901ae66a6523
6f07c7b9-ac97-4639-b1e3-cd22ed2a5c87
c701ad3b-61c5-4c93-919f-2d28229af97a
160526bc-1c4b-4f50-85b9-1fb12abd16a2
4b61e3ad-be47-4317-bc61-6898cb0ca473
9aa812f2-48bd-46aa-8701-2ac82d1e9864

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: