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)

019f9a3a-d17d-713c-8937-85af06d6b542
019f9a3a-d17e-7330-8629-058c758e3099
019f9a3a-d17e-7467-b466-2e2217125fd3
019f9a3a-d17e-7582-be7f-91b123096ed8
019f9a3a-d17e-7698-bc2c-0ba0f457f38a
019f9a3a-d17e-77aa-9291-97f8d43414e1
019f9a3a-d17e-79c3-9060-803769c60b1a
019f9a3a-d17e-7b38-8307-fe38830057b0
019f9a3a-d17e-7cde-9f67-ac9ece03e1cb
019f9a3a-d17e-7e63-a8ec-c0e0b852b1f0
019f9a3a-d17e-7fb3-9b22-938aff5d6429
019f9a3a-d17f-7134-8920-bf41e6e41441
019f9a3a-d17f-728c-a60d-ffe07ea30a66
019f9a3a-d17f-73cb-8953-54ea94147f86
019f9a3a-d17f-7507-88fa-c404c66ca49d

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)

1f1884aa-d18c-6392-909d-4cf95d479851
1f1884aa-d18c-65fe-909d-4cf95d479851
1f1884aa-d18c-6766-909d-4cf95d479851
1f1884aa-d18c-68ba-909d-4cf95d479851
1f1884aa-d18c-6a04-909d-4cf95d479851
1f1884aa-d18c-6b44-909d-4cf95d479851
1f1884aa-d18c-6c7a-909d-4cf95d479851
1f1884aa-d18c-6dba-909d-4cf95d479851
1f1884aa-d18c-6efa-909d-4cf95d479851
1f1884aa-d18d-6030-909d-4cf95d479851
1f1884aa-d18d-61fc-909d-4cf95d479851
1f1884aa-d18d-6346-909d-4cf95d479851
1f1884aa-d18d-6486-909d-4cf95d479851
1f1884aa-d18d-65c6-909d-4cf95d479851
1f1884aa-d18d-6706-909d-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)

ad18d846-884a-11f1-909d-4cf95d479851
ad18d8dc-884a-11f1-909d-4cf95d479851
ad18d968-884a-11f1-909d-4cf95d479851
ad18d9f4-884a-11f1-909d-4cf95d479851
ad18da80-884a-11f1-909d-4cf95d479851
ad18db02-884a-11f1-909d-4cf95d479851
ad18db8e-884a-11f1-909d-4cf95d479851
ad18dc1a-884a-11f1-909d-4cf95d479851
ad18dc9c-884a-11f1-909d-4cf95d479851
ad18dd00-884a-11f1-909d-4cf95d479851
ad18dd64-884a-11f1-909d-4cf95d479851
ad18ddc8-884a-11f1-909d-4cf95d479851
ad18de22-884a-11f1-909d-4cf95d479851
ad18de86-884a-11f1-909d-4cf95d479851
ad18deea-884a-11f1-909d-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)

814ad235-ff03-8e0c-87ea-5ce32bd83b97
7fbed335-ff03-8e0c-87ea-5ce32bd83b97
a0a4d435-ff03-8e0c-87ea-5ce32bd83b97
9c5ad535-ff03-8e0c-87ea-5ce32bd83b97
6a75d635-ff03-8e0c-87ea-5ce32bd83b97
bf14d735-ff03-8e0c-87ea-5ce32bd83b97
2ce8d835-ff03-8e0c-87ea-5ce32bd83b97
5299d935-ff03-8e0c-87ea-5ce32bd83b97
d3d5da35-ff03-8e0c-87ea-5ce32bd83b97
7729dc35-ff03-8e0c-87ea-5ce32bd83b97
7d9bdd35-ff03-8e0c-87ea-5ce32bd83b97
6f09de35-ff03-8e0c-87ea-5ce32bd83b97
e6d1df35-ff03-8e0c-87ea-5ce32bd83b97
889de035-ff03-8e0c-87ea-5ce32bd83b97
1859e135-ff03-8e0c-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)

fa67961a-184e-4905-abec-244aa156d05d
db195728-b042-4222-a01d-67f331e596ec
283a1985-10c8-422f-871d-8121c1866f0d
776326b6-2d07-4033-8e62-4f9f7b03cbc5
7237ab02-e785-4bc1-8aba-43f517e7de76
e707a300-ad5f-4b41-a60e-91efb7eea09b
029c96cb-a80a-4c47-b6ed-ff58f32fd0e0
fbe3e988-b722-4474-8260-d8f48fe45483
966ff4e7-1162-44e6-adc9-6e001abf0d6d
31107fa4-067e-4df0-9ec4-0548fcbeb141
b6dcdc31-aefb-42b1-8af0-ced7b0f534b7
85b62d38-49ae-4fc4-8c0b-521dda48393c
885bd698-85d4-4eab-a037-d078ee791556
2d6915fa-b025-49ac-a2c0-0878e1832ba2
633ee853-829d-4b65-a4ee-ce7ed17c7995

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: