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)

019c4b01-a425-7d50-acaa-82eb28d99214
019c4b01-a425-7f07-988a-bc16f2d7250a
019c4b01-a426-704a-b83f-49e989871b0a
019c4b01-a426-716d-bc27-05cefd30c392
019c4b01-a426-7290-9493-1dbdf7113899
019c4b01-a426-73aa-ad08-6dca6172fc62
019c4b01-a426-74c5-9bce-2b66e9dd3923
019c4b01-a426-75e4-b4f3-fd77b92b2151
019c4b01-a426-76fe-aa9d-b5ffa5b023c9
019c4b01-a426-781d-ac7c-3cb40387cad6
019c4b01-a426-7938-9f16-49debaa04b5d
019c4b01-a426-7a52-9600-80bc13eee49b
019c4b01-a426-7b6d-b6f8-21a9ba09c938
019c4b01-a426-7c88-92d0-9ad6cbaead0b
019c4b01-a426-7da2-9d09-ea1d6a7d4d88

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)

1f107040-39d7-61a4-a8dc-4cf95d479851
1f107040-39d7-6348-a8dc-4cf95d479851
1f107040-39d7-6438-a8dc-4cf95d479851
1f107040-39d7-650a-a8dc-4cf95d479851
1f107040-39d7-65dc-a8dc-4cf95d479851
1f107040-39d7-66a4-a8dc-4cf95d479851
1f107040-39d7-6776-a8dc-4cf95d479851
1f107040-39d7-68b6-a8dc-4cf95d479851
1f107040-39d7-6988-a8dc-4cf95d479851
1f107040-39d7-6a5a-a8dc-4cf95d479851
1f107040-39d7-6bc2-a8dc-4cf95d479851
1f107040-39d7-6c94-a8dc-4cf95d479851
1f107040-39d7-6d5c-a8dc-4cf95d479851
1f107040-39d7-6e24-a8dc-4cf95d479851
1f107040-39d7-6eec-a8dc-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)

ace0a9ff-f3db-4b69-ad99-43a1daf2492f
8c73993e-359a-46d4-b719-49f08043ebe7
38eafd33-f4f8-4e54-8646-c5fbe7df8562
715e3d0e-a49b-4bfd-a0fc-58ef49a238ef
2fed3b90-f8b6-44b0-93ed-aa30874eea37
be1e5b02-6aa0-488a-9e84-c262b005306e
c2b8065c-d1d5-49c1-930a-bafbe551fcbe
97a4d0ef-d017-4698-ac01-302ce32d386f
75686e1a-9df4-44cd-9fdb-95354374080f
26201f46-7065-4a60-be63-e5d070c11efd
832563d3-b0c9-4502-8572-0b6a86600005
5598b781-6020-42d3-bcab-69441a7af383
999f4a4b-7365-43c2-8a6c-805adbafc799
680af5f7-08c8-4fbd-9829-c73ad5efcb5e
cae07e56-9230-429d-a1ae-4e521501dc84

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)

039d8414-0704-11f1-a8dc-4cf95d479851
039d8478-0704-11f1-a8dc-4cf95d479851
039d84dc-0704-11f1-a8dc-4cf95d479851
039d8540-0704-11f1-a8dc-4cf95d479851
039d859a-0704-11f1-a8dc-4cf95d479851
039d85fe-0704-11f1-a8dc-4cf95d479851
039d8662-0704-11f1-a8dc-4cf95d479851
039d86bc-0704-11f1-a8dc-4cf95d479851
039d8720-0704-11f1-a8dc-4cf95d479851
039d8784-0704-11f1-a8dc-4cf95d479851
039d87d4-0704-11f1-a8dc-4cf95d479851
039d8838-0704-11f1-a8dc-4cf95d479851
039d8892-0704-11f1-a8dc-4cf95d479851
039d88f6-0704-11f1-a8dc-4cf95d479851
039d895a-0704-11f1-a8dc-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)

3ba7b504-1b01-8a02-87ea-5ce32bd83b97
5645b704-1b01-8a02-87ea-5ce32bd83b97
fa96b804-1b01-8a02-87ea-5ce32bd83b97
1c2bb904-1b01-8a02-87ea-5ce32bd83b97
05e2ba04-1b01-8a02-87ea-5ce32bd83b97
7957bb04-1b01-8a02-87ea-5ce32bd83b97
941abc04-1b01-8a02-87ea-5ce32bd83b97
3fafbd04-1b01-8a02-87ea-5ce32bd83b97
3b10be04-1b01-8a02-87ea-5ce32bd83b97
6ee4bf04-1b01-8a02-87ea-5ce32bd83b97
c61bc004-1b01-8a02-87ea-5ce32bd83b97
9302c104-1b01-8a02-87ea-5ce32bd83b97
ea0dc204-1b01-8a02-87ea-5ce32bd83b97
30c0c304-1b01-8a02-87ea-5ce32bd83b97
2479c404-1b01-8a02-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: