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)

019f851f-48b0-7382-a2e7-48ae646491a3
019f851f-48b0-7544-9235-d940e7a26234
019f851f-48b0-7688-bca3-862962ff6d49
019f851f-48b0-77a6-bdef-a836f6ec1afa
019f851f-48b0-78bd-aced-287a1f0257d5
019f851f-48b0-79d3-b4b2-fc97b1c2ae39
019f851f-48b0-7aea-8726-1fd6f887ca4e
019f851f-48b0-7c00-abe6-dacd5c731189
019f851f-48b0-7d1b-879c-13cafefe4d3b
019f851f-48b0-7e32-9115-3f6a84774c8b
019f851f-48b0-7f48-83ea-f4ea58ccba3d
019f851f-48b1-705f-8022-f19fae5c8103
019f851f-48b1-7175-a909-c47f9edc62bb
019f851f-48b1-728c-b264-5538832e7189
019f851f-48b1-739e-ad7b-8d89d232ef91

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)

1f185122-988d-6048-8c56-4cf95d479851
1f185122-988d-61e2-8c56-4cf95d479851
1f185122-988d-62dc-8c56-4cf95d479851
1f185122-988d-63a4-8c56-4cf95d479851
1f185122-988d-646c-8c56-4cf95d479851
1f185122-988d-6534-8c56-4cf95d479851
1f185122-988d-65f2-8c56-4cf95d479851
1f185122-988d-66ba-8c56-4cf95d479851
1f185122-988d-6778-8c56-4cf95d479851
1f185122-988d-6836-8c56-4cf95d479851
1f185122-988d-6976-8c56-4cf95d479851
1f185122-988d-6a3e-8c56-4cf95d479851
1f185122-988d-6afc-8c56-4cf95d479851
1f185122-988d-6bba-8c56-4cf95d479851
1f185122-988d-6c82-8c56-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)

2988dd4a-8512-11f1-8c56-4cf95d479851
2988ddae-8512-11f1-8c56-4cf95d479851
2988de12-8512-11f1-8c56-4cf95d479851
2988de6c-8512-11f1-8c56-4cf95d479851
2988ded0-8512-11f1-8c56-4cf95d479851
2988df34-8512-11f1-8c56-4cf95d479851
2988df8e-8512-11f1-8c56-4cf95d479851
2988dfe8-8512-11f1-8c56-4cf95d479851
2988e04c-8512-11f1-8c56-4cf95d479851
2988e0a6-8512-11f1-8c56-4cf95d479851
2988e100-8512-11f1-8c56-4cf95d479851
2988e164-8512-11f1-8c56-4cf95d479851
2988e1c8-8512-11f1-8c56-4cf95d479851
2988e222-8512-11f1-8c56-4cf95d479851
2988e27c-8512-11f1-8c56-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)

0ec8ca2f-7103-8a0c-87ea-5ce32bd83b97
9181cc2f-7103-8a0c-87ea-5ce32bd83b97
f4d1cd2f-7103-8a0c-87ea-5ce32bd83b97
f947ce2f-7103-8a0c-87ea-5ce32bd83b97
d712cf2f-7103-8a0c-87ea-5ce32bd83b97
d8b7d02f-7103-8a0c-87ea-5ce32bd83b97
7a16d12f-7103-8a0c-87ea-5ce32bd83b97
ef31d22f-7103-8a0c-87ea-5ce32bd83b97
c1bdd32f-7103-8a0c-87ea-5ce32bd83b97
fd15d42f-7103-8a0c-87ea-5ce32bd83b97
a132d52f-7103-8a0c-87ea-5ce32bd83b97
db21d62f-7103-8a0c-87ea-5ce32bd83b97
e768d72f-7103-8a0c-87ea-5ce32bd83b97
9f45d82f-7103-8a0c-87ea-5ce32bd83b97
fed9d92f-7103-8a0c-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)

26242231-39ee-47f2-be57-8b9a63cae070
381eb00b-83fa-4f94-ad0c-fc1a6d7dec66
e3168154-bc8c-43c0-adce-f0dc54a65005
e623e676-c530-4db8-9acc-2998b931d68f
872beb2d-58a7-4e62-a8a0-0541d4f8ebc7
529fa81e-2cfa-4743-8377-ca934f47bc18
543de665-e47e-4346-84d6-2fba73b9f41d
0a42b37e-87ab-4956-9210-833fd65d6035
47c7bb54-45af-4163-91bc-5bbd6f08aca2
781a3e2a-8d4f-4602-85fa-68ec87cd1ac0
fba6b697-6883-47e4-a402-c859dd1a3531
1d43443a-bc30-4fca-8b17-01bfb94db820
637a9a90-aabd-43c3-a3da-f342b68f4804
eaed5bdf-8ab6-4b5d-93b5-f41cacc32f33
731fdfdc-a988-4b46-bd29-12878d9ae5c1

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: