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)

019e707a-430f-7948-b5ab-8fc0306e4070
019e707a-430f-7b17-8d53-1a22c6628b85
019e707a-430f-7c7f-b02d-341b02c71678
019e707a-430f-7dcb-b06d-4a107809f989
019e707a-430f-7ef2-af30-91022f67a63d
019e707a-4310-702e-b0ba-ddba8d4b43e4
019e707a-4310-7159-bbcd-4468f92746e8
019e707a-4310-7290-839b-92ffd07b61ef
019e707a-4310-73b7-89d8-7e9fc72e9524
019e707a-4310-74fa-ba5a-d6bc4428b838
019e707a-4310-7625-a099-88f36b2129cf
019e707a-4310-7769-90ec-e4ccca54ff3a
019e707a-4310-78a4-9be0-c0b73fa1a1a5
019e707a-4310-79e0-ba14-8666a8461e12
019e707a-4310-7b1b-82bc-96f0a12217e4

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)

1f15adbb-b5d0-60e0-8aba-4cf95d479851
1f15adbb-b5d0-62e8-8aba-4cf95d479851
1f15adbb-b5d0-63d8-8aba-4cf95d479851
1f15adbb-b5d0-64aa-8aba-4cf95d479851
1f15adbb-b5d0-65ae-8aba-4cf95d479851
1f15adbb-b5d0-6734-8aba-4cf95d479851
1f15adbb-b5d0-6856-8aba-4cf95d479851
1f15adbb-b5d0-6914-8aba-4cf95d479851
1f15adbb-b5d0-69d2-8aba-4cf95d479851
1f15adbb-b5d0-6a90-8aba-4cf95d479851
1f15adbb-b5d0-6bee-8aba-4cf95d479851
1f15adbb-b5d0-6d60-8aba-4cf95d479851
1f15adbb-b5d0-6ee6-8aba-4cf95d479851
1f15adbb-b5d0-6fd6-8aba-4cf95d479851
1f15adbb-b5d1-6094-8aba-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)

bb5d1166-5adb-11f1-8aba-4cf95d479851
bb5d11d4-5adb-11f1-8aba-4cf95d479851
bb5d1242-5adb-11f1-8aba-4cf95d479851
bb5d12a6-5adb-11f1-8aba-4cf95d479851
bb5d130a-5adb-11f1-8aba-4cf95d479851
bb5d1396-5adb-11f1-8aba-4cf95d479851
bb5d142c-5adb-11f1-8aba-4cf95d479851
bb5d14cc-5adb-11f1-8aba-4cf95d479851
bb5d156c-5adb-11f1-8aba-4cf95d479851
bb5d15e4-5adb-11f1-8aba-4cf95d479851
bb5d1648-5adb-11f1-8aba-4cf95d479851
bb5d16ac-5adb-11f1-8aba-4cf95d479851
bb5d1706-5adb-11f1-8aba-4cf95d479851
bb5d1760-5adb-11f1-8aba-4cf95d479851
bb5d17c4-5adb-11f1-8aba-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)

1e454c15-0605-8409-87ea-5ce32bd83b97
b9284d15-0605-8409-87ea-5ce32bd83b97
d5ae4e15-0605-8409-87ea-5ce32bd83b97
f4504f15-0605-8409-87ea-5ce32bd83b97
30ff5015-0605-8409-87ea-5ce32bd83b97
09ed5115-0605-8409-87ea-5ce32bd83b97
a66f5215-0605-8409-87ea-5ce32bd83b97
17235315-0605-8409-87ea-5ce32bd83b97
e00b5415-0605-8409-87ea-5ce32bd83b97
93485515-0605-8409-87ea-5ce32bd83b97
bff85615-0605-8409-87ea-5ce32bd83b97
d7055815-0605-8409-87ea-5ce32bd83b97
ceb45915-0605-8409-87ea-5ce32bd83b97
9bb95a15-0605-8409-87ea-5ce32bd83b97
8c385b15-0605-8409-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)

b4ec0827-0405-486b-adf7-1420d0a6fb73
19f236af-6fcb-41b2-8192-7087cd54af0e
2d8cddf8-ef9c-4080-9f16-8edca20cfb30
fa9a1e2e-45d8-45ef-b78e-8561cac00164
21720464-9acf-4d43-9adf-030c695d06b1
ad30a34a-7e84-4756-9e35-968d1d531f69
e7b8f631-0b6a-46ea-a4da-6b12db1cd213
5964027f-9a8c-4452-b8ae-840c05d42f33
1550aa4b-1417-4ccb-ba3b-b3fdecd8d476
7c0096c3-719f-444f-80c0-55f21098693d
4c68d454-bba6-4308-a7c1-819c97c9203c
171eb7fd-4348-430d-9865-1901c45344e4
a1e7701a-78cc-419b-90df-7b012426849d
fe6ddaa3-23d2-433a-abfe-d4425c402dbb
aa787146-b724-4cf1-9293-beb7ce047f37

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: