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)

019f0b5e-de58-71e4-910c-0d31e13fb456
019f0b5e-de58-73bf-81fb-2e877cdb4d21
019f0b5e-de58-7548-b883-ae23e91bda6d
019f0b5e-de58-76b9-a1f3-5623074c145b
019f0b5e-de58-781d-b3d8-f009a193122e
019f0b5e-de58-798a-a20f-b18787d33b24
019f0b5e-de58-7b03-a0bc-15213ee3bdb8
019f0b5e-de58-7c6b-a22e-5f273de17eab
019f0b5e-de58-7dc3-9456-daa310f601c6
019f0b5e-de58-7f30-abfe-34fdb30974ba
019f0b5e-de59-7088-8ee9-4d57f05f922d
019f0b5e-de59-71e0-a505-67094a7fe42d
019f0b5e-de59-7330-a85d-92a6bea35836
019f0b5e-de59-7488-a114-d7504b285d4c
019f0b5e-de59-75e8-b2e0-aed95edb39b9

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)

1f1727e3-d4ec-67d2-8cd7-4cf95d479851
1f1727e3-d4ec-6a70-8cd7-4cf95d479851
1f1727e3-d4ec-6bec-8cd7-4cf95d479851
1f1727e3-d4ec-6d72-8cd7-4cf95d479851
1f1727e3-d4ec-6f16-8cd7-4cf95d479851
1f1727e3-d4ed-609c-8cd7-4cf95d479851
1f1727e3-d4ed-6222-8cd7-4cf95d479851
1f1727e3-d4ed-63a8-8cd7-4cf95d479851
1f1727e3-d4ed-64d4-8cd7-4cf95d479851
1f1727e3-d4ed-6646-8cd7-4cf95d479851
1f1727e3-d4ed-6880-8cd7-4cf95d479851
1f1727e3-d4ed-6a06-8cd7-4cf95d479851
1f1727e3-d4ed-6b82-8cd7-4cf95d479851
1f1727e3-d4ed-6cd6-8cd7-4cf95d479851
1f1727e3-d4ed-6e20-8cd7-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)

3d4edfba-727e-11f1-8cd7-4cf95d479851
3d4ee06e-727e-11f1-8cd7-4cf95d479851
3d4ee104-727e-11f1-8cd7-4cf95d479851
3d4ee19a-727e-11f1-8cd7-4cf95d479851
3d4ee23a-727e-11f1-8cd7-4cf95d479851
3d4ee2d0-727e-11f1-8cd7-4cf95d479851
3d4ee366-727e-11f1-8cd7-4cf95d479851
3d4ee3fc-727e-11f1-8cd7-4cf95d479851
3d4ee4b0-727e-11f1-8cd7-4cf95d479851
3d4ee55a-727e-11f1-8cd7-4cf95d479851
3d4ee5d2-727e-11f1-8cd7-4cf95d479851
3d4ee636-727e-11f1-8cd7-4cf95d479851
3d4ee6a4-727e-11f1-8cd7-4cf95d479851
3d4ee708-727e-11f1-8cd7-4cf95d479851
3d4ee776-727e-11f1-8cd7-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)

a3db8522-7505-820b-87ea-5ce32bd83b97
6cb38622-7505-820b-87ea-5ce32bd83b97
49ac8722-7505-820b-87ea-5ce32bd83b97
6deb8822-7505-820b-87ea-5ce32bd83b97
ca6c8922-7505-820b-87ea-5ce32bd83b97
9c878a22-7505-820b-87ea-5ce32bd83b97
7ec08b22-7505-820b-87ea-5ce32bd83b97
25558d22-7505-820b-87ea-5ce32bd83b97
3c398e22-7505-820b-87ea-5ce32bd83b97
64af8f22-7505-820b-87ea-5ce32bd83b97
44329022-7505-820b-87ea-5ce32bd83b97
746e9122-7505-820b-87ea-5ce32bd83b97
49929222-7505-820b-87ea-5ce32bd83b97
cded9322-7505-820b-87ea-5ce32bd83b97
77819422-7505-820b-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)

db497459-9f9b-4013-b56a-debe2b46fe92
4c6cebf0-8f23-4669-99c5-d92d8500c2c4
d5594e52-0996-4686-bc8b-e9280b63b4a0
d0b8f6e0-7457-47b8-8bca-5c31e29564c7
b989b32f-193c-44a1-af89-f65e8ad63b4f
55adbc62-988d-4527-ba66-80525aa69e86
2c7bd59d-967d-43c1-aea4-669891b33e76
6026db2a-6e03-4cca-875c-9915598e488e
37bd0ec9-2338-4a75-a0fc-2afb1ae911a6
450e186e-a3fc-488c-8b03-5dfaa2fa62e6
f402469b-0898-491e-81f3-05b902adb94e
6e9c00b9-32ce-4b37-acc8-9a7960ae6ad3
9591d919-f738-4c06-8b59-f908deb46d3d
0eb7d0ed-2c55-4a6e-8484-4f21616f9b3e
3db35c42-2d23-4bb7-871a-29bd026cec28

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: