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)

019d00dc-52d7-727b-88f9-4a8ac606f241
019d00dc-52d7-7411-aa54-3fd5d0ef7e0e
019d00dc-52d7-7550-8257-b223badb939b
019d00dc-52d7-7677-a43c-d402709c0f9c
019d00dc-52d7-7796-a92e-85112560d47d
019d00dc-52d7-78b1-89dd-d0c5faa61313
019d00dc-52d7-79e0-baf3-9bd087056ea0
019d00dc-52d7-7b07-bc30-cc5c3664cdb8
019d00dc-52d7-7c21-84cc-4fb8c6775876
019d00dc-52d7-7d38-8284-545157e26fad
019d00dc-52d7-7e52-a5f8-25c8f85139b8
019d00dc-52d7-7f69-a6dc-007a8b0304aa
019d00dc-52d8-7084-aade-6e821f36cab2
019d00dc-52d8-719e-be13-da57f38b9f99
019d00dc-52d8-72b9-a1ec-62b36698bfbe

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)

1f122c3b-1e56-6002-82fb-4cf95d479851
1f122c3b-1e56-6188-82fb-4cf95d479851
1f122c3b-1e56-6278-82fb-4cf95d479851
1f122c3b-1e56-6340-82fb-4cf95d479851
1f122c3b-1e56-6412-82fb-4cf95d479851
1f122c3b-1e56-64e4-82fb-4cf95d479851
1f122c3b-1e56-65a2-82fb-4cf95d479851
1f122c3b-1e56-666a-82fb-4cf95d479851
1f122c3b-1e56-6732-82fb-4cf95d479851
1f122c3b-1e56-67fa-82fb-4cf95d479851
1f122c3b-1e56-693a-82fb-4cf95d479851
1f122c3b-1e56-6a0c-82fb-4cf95d479851
1f122c3b-1e56-6ad4-82fb-4cf95d479851
1f122c3b-1e56-6b92-82fb-4cf95d479851
1f122c3b-1e56-6c5a-82fb-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)

bd9ff88f-8c3c-4007-a4c2-974aae030a58
a38722f2-9284-4df2-ae52-8e257ca7665d
1f172249-a255-4a35-8d70-49a853890f90
d4d2e663-2b60-4244-aaba-d4a9e0fe2abf
fab25c1c-fd09-45d6-984d-c22cd0ceefc2
bff201eb-9117-4184-8335-36f00be4817f
4b970356-dd5c-4816-9c45-3f880d233ca2
545467f2-b4d6-44fc-b63b-df0864cac298
4437eb35-dbfe-4ce1-8d89-855090502617
d63040ee-550b-46bf-99f5-fd491aa98fba
5d0b7274-4b82-446c-b994-e1b7ee600d9f
9b79ff6e-fa15-46a2-9481-623eddac7549
d4081b20-9a73-4c28-9707-32aee5e76fe6
c2d9d829-fb8f-4782-8e68-7cc4e75f3f87
76227060-fe78-4a4d-8d50-af8784ce2035

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)

b1e57182-22c3-11f1-82fb-4cf95d479851
b1e571f0-22c3-11f1-82fb-4cf95d479851
b1e57254-22c3-11f1-82fb-4cf95d479851
b1e572c2-22c3-11f1-82fb-4cf95d479851
b1e57330-22c3-11f1-82fb-4cf95d479851
b1e57394-22c3-11f1-82fb-4cf95d479851
b1e5740c-22c3-11f1-82fb-4cf95d479851
b1e57470-22c3-11f1-82fb-4cf95d479851
b1e574de-22c3-11f1-82fb-4cf95d479851
b1e57542-22c3-11f1-82fb-4cf95d479851
b1e575a6-22c3-11f1-82fb-4cf95d479851
b1e57614-22c3-11f1-82fb-4cf95d479851
b1e57678-22c3-11f1-82fb-4cf95d479851
b1e576d2-22c3-11f1-82fb-4cf95d479851
b1e57736-22c3-11f1-82fb-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)

e6ce600c-dd02-8d04-87ea-5ce32bd83b97
3fea610c-dd02-8d04-87ea-5ce32bd83b97
49b1620c-dd02-8d04-87ea-5ce32bd83b97
7f05630c-dd02-8d04-87ea-5ce32bd83b97
5024640c-dd02-8d04-87ea-5ce32bd83b97
79c5650c-dd02-8d04-87ea-5ce32bd83b97
bfe7660c-dd02-8d04-87ea-5ce32bd83b97
733a670c-dd02-8d04-87ea-5ce32bd83b97
9d88680c-dd02-8d04-87ea-5ce32bd83b97
5645690c-dd02-8d04-87ea-5ce32bd83b97
27596a0c-dd02-8d04-87ea-5ce32bd83b97
532a6b0c-dd02-8d04-87ea-5ce32bd83b97
ff326c0c-dd02-8d04-87ea-5ce32bd83b97
5d8d6e0c-dd02-8d04-87ea-5ce32bd83b97
b6a46f0c-dd02-8d04-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: