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)

01992b39-3d49-7077-b211-e97379668621
01992b39-3d49-727f-921e-6a9638b62acc
01992b39-3d49-73c3-b813-1fc8856ac424
01992b39-3d49-74ea-996e-fd62e628f078
01992b39-3d49-7605-9a2c-f83bf05fe2ba
01992b39-3d49-7723-a88a-483abeb0f8eb
01992b39-3d49-783e-b015-27e6e42f31a6
01992b39-3d49-79b3-ac6a-c66f961358cc
01992b39-3d49-7b07-99f0-9004057ef3ba
01992b39-3d49-7c29-a9d5-fa97c30343aa
01992b39-3d49-7d4c-82d5-c4ed1cb5b1e8
01992b39-3d49-7e67-9d6d-fe1dca43549d
01992b39-3d49-7f86-b437-c630bd7f5991
01992b39-3d4a-70a4-9809-e75df3aec97f
01992b39-3d4a-71c3-9e9f-6f036dd47137

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)

1f08cfa7-f6b6-6360-b8b4-4cf95d479851
1f08cfa7-f6b6-6522-b8b4-4cf95d479851
1f08cfa7-f6b6-6612-b8b4-4cf95d479851
1f08cfa7-f6b6-66e4-b8b4-4cf95d479851
1f08cfa7-f6b6-67b6-b8b4-4cf95d479851
1f08cfa7-f6b6-687e-b8b4-4cf95d479851
1f08cfa7-f6b6-693c-b8b4-4cf95d479851
1f08cfa7-f6b6-69fa-b8b4-4cf95d479851
1f08cfa7-f6b6-6acc-b8b4-4cf95d479851
1f08cfa7-f6b6-6b8a-b8b4-4cf95d479851
1f08cfa7-f6b6-6cc0-b8b4-4cf95d479851
1f08cfa7-f6b6-6d92-b8b4-4cf95d479851
1f08cfa7-f6b6-6e5a-b8b4-4cf95d479851
1f08cfa7-f6b6-6f22-b8b4-4cf95d479851
1f08cfa7-f6b6-6fe0-b8b4-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)

9b014137-e05f-4629-8549-8748d694f9b4
d90f0e7f-affb-430b-9ada-f082abd591af
87860de8-8247-43b3-b3a5-50c6adf55480
3277e7d6-2ff1-4474-b2cc-c96258fa4a60
922cf0a2-a025-4a2d-8387-2043ccf44d76
a9665b2d-a2fe-42de-ae00-1d41cc2ed0c0
8520163f-a649-4e4a-9834-52c9a8f8a875
1ed23318-9734-4f83-a4f4-c457a1902bbd
362848a6-526a-45d8-95e8-54ce5dd75c2d
27f7cd22-3f26-468c-984f-d29fd941aa87
f6a91d83-151f-45e5-a083-2ae032c81e20
f6d3fbf4-f257-415a-b5a9-077d6ab64987
034d9dcc-e4bd-4f70-8933-53d8f627b011
e6dd0d0d-2504-44e3-a742-2c7df4796b2b
6c82fde7-8b1a-4676-a683-cef1f6a16122

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)

7f6b76d4-8cfa-11f0-b8b4-4cf95d479851
7f6b776a-8cfa-11f0-b8b4-4cf95d479851
7f6b77f6-8cfa-11f0-b8b4-4cf95d479851
7f6b7882-8cfa-11f0-b8b4-4cf95d479851
7f6b78f0-8cfa-11f0-b8b4-4cf95d479851
7f6b795e-8cfa-11f0-b8b4-4cf95d479851
7f6b79cc-8cfa-11f0-b8b4-4cf95d479851
7f6b7a3a-8cfa-11f0-b8b4-4cf95d479851
7f6b7a94-8cfa-11f0-b8b4-4cf95d479851
7f6b7b02-8cfa-11f0-b8b4-4cf95d479851
7f6b7b70-8cfa-11f0-b8b4-4cf95d479851
7f6b7bd4-8cfa-11f0-b8b4-4cf95d479851
7f6b7c38-8cfa-11f0-b8b4-4cf95d479851
7f6b7c9c-8cfa-11f0-b8b4-4cf95d479851
7f6b7d0a-8cfa-11f0-b8b4-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)

306f9823-0705-8b0f-87e9-5ce32bd83b97
f4539923-0705-8b0f-87e9-5ce32bd83b97
7c2a9a23-0705-8b0f-87e9-5ce32bd83b97
129f9b23-0705-8b0f-87e9-5ce32bd83b97
3e2e9c23-0705-8b0f-87e9-5ce32bd83b97
e2659d23-0705-8b0f-87e9-5ce32bd83b97
ba2b9e23-0705-8b0f-87e9-5ce32bd83b97
40f99f23-0705-8b0f-87e9-5ce32bd83b97
9ac9a023-0705-8b0f-87e9-5ce32bd83b97
ec86a123-0705-8b0f-87e9-5ce32bd83b97
0f3ea223-0705-8b0f-87e9-5ce32bd83b97
1e5ca323-0705-8b0f-87e9-5ce32bd83b97
be8aa423-0705-8b0f-87e9-5ce32bd83b97
05ada523-0705-8b0f-87e9-5ce32bd83b97
ae4aa623-0705-8b0f-87e9-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

An 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

An UUIDv3 is made out of a MD5 hash and an 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: