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)

019cc262-66d5-7f40-b770-aef4ff031e28
019cc262-66d6-70c9-b2fe-0339a59cfc94
019cc262-66d6-7205-9798-7a129e77e678
019cc262-66d6-7327-b434-afe02a31d694
019cc262-66d6-7446-8f6b-e98291f27ea5
019cc262-66d6-755d-8f67-4441c2a89983
019cc262-66d6-7677-98bf-a3df4d25414d
019cc262-66d6-778e-b344-ef36f5bdb7b6
019cc262-66d6-78a4-9da4-87ca56f1cf41
019cc262-66d6-79bf-be65-3bbb956b4bfb
019cc262-66d6-7ada-8363-d7b903417ae0
019cc262-66d6-7bf4-b12a-281a2547773f
019cc262-66d6-7d0b-b6a1-6f29e19117b7
019cc262-66d6-7e25-9802-4b19dcf2c199
019cc262-66d6-7f40-8ede-3d63a4ba1e8f

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)

1f1193b3-7527-6064-8672-4cf95d479851
1f1193b3-7527-61ea-8672-4cf95d479851
1f1193b3-7527-62d0-8672-4cf95d479851
1f1193b3-7527-63a2-8672-4cf95d479851
1f1193b3-7527-646a-8672-4cf95d479851
1f1193b3-7527-6528-8672-4cf95d479851
1f1193b3-7527-65f0-8672-4cf95d479851
1f1193b3-7527-66b8-8672-4cf95d479851
1f1193b3-7527-6776-8672-4cf95d479851
1f1193b3-7527-683e-8672-4cf95d479851
1f1193b3-7527-697e-8672-4cf95d479851
1f1193b3-7527-6a46-8672-4cf95d479851
1f1193b3-7527-6b0e-8672-4cf95d479851
1f1193b3-7527-6bcc-8672-4cf95d479851
1f1193b3-7527-6c94-8672-4cf95d479851

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)

75b60299-325d-497b-bcc7-87377cbcf8d2
2b2ecc6d-f317-46fb-939d-5fec5ca1d1f8
2f34c62f-9ee5-44ca-b34a-241011e53d51
ed390aa5-2345-46ad-98cc-f9b6f33cfa47
2b235701-51a9-418a-8d93-143c9f51dd40
82a6d1ed-5fcf-4e2a-b111-75c2ed750cda
64fba4f9-1a6c-4861-897c-c87169dea2fd
d4a4ee55-d6aa-411b-bf92-9400b631e045
13754d2d-813a-425c-8f91-18ce7dba627f
b443a953-7da4-4f59-b736-f1621fffa0cb
29a80134-6884-4c74-a833-247a7a4fc952
c08d866a-dfc9-4d00-87a5-4b331ee5e0b0
60829cff-9f86-42b1-b901-5b59874f4b9b
ce1f7d8a-27aa-4d31-94fa-56e3770e11e6
0e67be93-ba59-4159-ae9a-32a5ec9afcec

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)

375281a8-193b-11f1-8672-4cf95d479851
37528216-193b-11f1-8672-4cf95d479851
37528284-193b-11f1-8672-4cf95d479851
375282e8-193b-11f1-8672-4cf95d479851
3752834c-193b-11f1-8672-4cf95d479851
375283a6-193b-11f1-8672-4cf95d479851
3752840a-193b-11f1-8672-4cf95d479851
3752846e-193b-11f1-8672-4cf95d479851
375284c8-193b-11f1-8672-4cf95d479851
3752852c-193b-11f1-8672-4cf95d479851
37528590-193b-11f1-8672-4cf95d479851
375285ea-193b-11f1-8672-4cf95d479851
3752864e-193b-11f1-8672-4cf95d479851
375286a8-193b-11f1-8672-4cf95d479851
3752870c-193b-11f1-8672-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)

9985b522-1f02-8104-87ea-5ce32bd83b97
9dffb722-1f02-8104-87ea-5ce32bd83b97
85b0b822-1f02-8104-87ea-5ce32bd83b97
d23bb922-1f02-8104-87ea-5ce32bd83b97
7f09ba22-1f02-8104-87ea-5ce32bd83b97
55f0bb22-1f02-8104-87ea-5ce32bd83b97
15a7bc22-1f02-8104-87ea-5ce32bd83b97
efa4bd22-1f02-8104-87ea-5ce32bd83b97
b781be22-1f02-8104-87ea-5ce32bd83b97
807bbf22-1f02-8104-87ea-5ce32bd83b97
8334c022-1f02-8104-87ea-5ce32bd83b97
b782c122-1f02-8104-87ea-5ce32bd83b97
ebf7c222-1f02-8104-87ea-5ce32bd83b97
fe97c322-1f02-8104-87ea-5ce32bd83b97
162ac422-1f02-8104-87ea-5ce32bd83b97

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: