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)

019f6fa0-8f41-737d-8d41-67f8967fce14
019f6fa0-8f41-7517-9466-f4c78dbc936a
019f6fa0-8f41-764e-a356-8cbb984f47dc
019f6fa0-8f41-7769-880c-1f74f55fb4b8
019f6fa0-8f41-787b-9174-c88e193ccaa5
019f6fa0-8f41-7992-8f32-d00cd6a76cb7
019f6fa0-8f41-7aa8-be07-ec8da5bf48cb
019f6fa0-8f41-7bbb-80fb-af384fdc3f88
019f6fa0-8f41-7ccd-9bb2-5bd976dfddc8
019f6fa0-8f41-7de4-ad1d-8637fc0ac399
019f6fa0-8f41-7ef6-ad09-a197402ad60a
019f6fa0-8f42-7009-95d8-0fa1903bc912
019f6fa0-8f42-711f-bf27-af80c58d383b
019f6fa0-8f42-7232-a4aa-37e383919823
019f6fa0-8f42-7348-82f6-b2e3663a21bf

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)

1f181ca8-35d4-6df6-af80-4cf95d479851
1f181ca8-35d4-6f90-af80-4cf95d479851
1f181ca8-35d5-6076-af80-4cf95d479851
1f181ca8-35d5-613e-af80-4cf95d479851
1f181ca8-35d5-61fc-af80-4cf95d479851
1f181ca8-35d5-62ba-af80-4cf95d479851
1f181ca8-35d5-6378-af80-4cf95d479851
1f181ca8-35d5-6436-af80-4cf95d479851
1f181ca8-35d5-6530-af80-4cf95d479851
1f181ca8-35d5-6602-af80-4cf95d479851
1f181ca8-35d5-6742-af80-4cf95d479851
1f181ca8-35d5-6814-af80-4cf95d479851
1f181ca8-35d5-68d2-af80-4cf95d479851
1f181ca8-35d5-6990-af80-4cf95d479851
1f181ca8-35d5-6a4e-af80-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)

835d5b20-81ca-11f1-af80-4cf95d479851
835d5b84-81ca-11f1-af80-4cf95d479851
835d5bf2-81ca-11f1-af80-4cf95d479851
835d5c4c-81ca-11f1-af80-4cf95d479851
835d5cb0-81ca-11f1-af80-4cf95d479851
835d5d14-81ca-11f1-af80-4cf95d479851
835d5d78-81ca-11f1-af80-4cf95d479851
835d5ddc-81ca-11f1-af80-4cf95d479851
835d5e40-81ca-11f1-af80-4cf95d479851
835d5e9a-81ca-11f1-af80-4cf95d479851
835d5efe-81ca-11f1-af80-4cf95d479851
835d5f58-81ca-11f1-af80-4cf95d479851
835d5fbc-81ca-11f1-af80-4cf95d479851
835d6016-81ca-11f1-af80-4cf95d479851
835d6070-81ca-11f1-af80-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)

ef154015-7702-860c-87ea-5ce32bd83b97
83624115-7702-860c-87ea-5ce32bd83b97
02944215-7702-860c-87ea-5ce32bd83b97
637d4315-7702-860c-87ea-5ce32bd83b97
ea504415-7702-860c-87ea-5ce32bd83b97
1ae94515-7702-860c-87ea-5ce32bd83b97
4bfb4615-7702-860c-87ea-5ce32bd83b97
9b874715-7702-860c-87ea-5ce32bd83b97
37404815-7702-860c-87ea-5ce32bd83b97
97b94915-7702-860c-87ea-5ce32bd83b97
cf0e4a15-7702-860c-87ea-5ce32bd83b97
81404b15-7702-860c-87ea-5ce32bd83b97
071e4c15-7702-860c-87ea-5ce32bd83b97
4a794d15-7702-860c-87ea-5ce32bd83b97
a0804e15-7702-860c-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)

575d6901-1e6c-4e65-8ebc-494df75275fd
82ec4d46-3fbb-4bb3-8905-2c6e40c44a08
a7323295-66b8-423f-848c-08e4d1397ab7
cb091588-04c1-4049-9084-52b00bb95394
3ddd5093-3c70-4062-baf1-fa5fd9c7b0e3
596b5769-3c3f-4ade-9a84-895793f5e4b7
c19a2c85-c14f-413b-9aa9-baf480406456
3adfb1f5-a3a6-48fd-a9ce-c2a9340339eb
bbcea738-d1b2-4e22-a078-f04f241f501a
e47cea37-6b9e-4de9-946e-c1882ca0d4aa
8db4e445-664c-41b6-942f-1899dc3ffec7
a661b19a-0acf-467a-a6fb-7ae759e090f9
dab4409a-e691-4093-a49d-1a256e186f20
3611c519-3be1-4f1e-a119-b4db7a98e786
c18bb584-25aa-4c96-8641-544ddaaba2ce

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: