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)

019bbf58-c535-7aa8-89c2-3419f3780514
019bbf58-c535-7c90-9297-39400e257ded
019bbf58-c535-7de0-b7ea-c811b5d649f9
019bbf58-c535-7efe-8189-6d950b4c99da
019bbf58-c536-7015-a2d4-96c471316009
019bbf58-c536-7130-b47e-8b4b12d2b2a5
019bbf58-c536-7242-ab70-0641ecbb4f76
019bbf58-c536-7359-a93d-ca7eeb8e9dcb
019bbf58-c536-746f-bd51-e26b0584ddac
019bbf58-c536-7582-80f7-aaee2e32923f
019bbf58-c536-7698-9141-30181675756f
019bbf58-c536-77af-8d61-f05d7a29cd7b
019bbf58-c536-78c5-8ee4-1f4e3f0e3788
019bbf58-c536-79dc-adec-94d393754a90
019bbf58-c536-7af2-b568-49848badbbf5

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)

1f0f1b48-f18e-6c5a-a2c0-4cf95d479851
1f0f1b48-f18e-6ebc-a2c0-4cf95d479851
1f0f1b48-f18e-6fca-a2c0-4cf95d479851
1f0f1b48-f18f-6092-a2c0-4cf95d479851
1f0f1b48-f18f-615a-a2c0-4cf95d479851
1f0f1b48-f18f-6222-a2c0-4cf95d479851
1f0f1b48-f18f-62fe-a2c0-4cf95d479851
1f0f1b48-f18f-6452-a2c0-4cf95d479851
1f0f1b48-f18f-65a6-a2c0-4cf95d479851
1f0f1b48-f18f-6704-a2c0-4cf95d479851
1f0f1b48-f18f-690c-a2c0-4cf95d479851
1f0f1b48-f18f-6a06-a2c0-4cf95d479851
1f0f1b48-f18f-6b50-a2c0-4cf95d479851
1f0f1b48-f18f-6cae-a2c0-4cf95d479851
1f0f1b48-f18f-6e02-a2c0-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)

87a49d7d-51f8-449f-9c4e-f3eb228306a5
5d0fd1ec-28d8-48ab-89fb-1538c06549a0
d7f5c551-1e2e-4822-a1f9-eb16cb349546
f204a56c-0237-428d-9c26-27330eaa0866
8d99cbe3-6265-4e08-8654-31f54e4851c2
1b591a8f-a5c7-47e0-acbb-362447716973
828fc003-5bc5-4091-9198-cee5bd1f3b29
f0935c06-3bac-48a3-b190-f30012b5143b
2d471916-688b-48c2-b18d-4962ef47a3ca
dd7a7f2c-29f2-4f43-bef0-bcb794d1f170
fb2631a9-d688-40fe-bc41-d4f9b7a39178
e2bfc6b8-b284-4835-ab07-567221aca5cf
d439acd6-6b43-48c7-944a-456111d5c85a
de92161a-1abb-4de8-bb06-d3d7413c9118
54246d30-18a9-4eaf-a23c-b92f12d49cd1

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)

8f1905dc-f1b4-11f0-a2c0-4cf95d479851
8f190686-f1b4-11f0-a2c0-4cf95d479851
8f190726-f1b4-11f0-a2c0-4cf95d479851
8f1907bc-f1b4-11f0-a2c0-4cf95d479851
8f19087a-f1b4-11f0-a2c0-4cf95d479851
8f190906-f1b4-11f0-a2c0-4cf95d479851
8f19096a-f1b4-11f0-a2c0-4cf95d479851
8f1909ce-f1b4-11f0-a2c0-4cf95d479851
8f190a32-f1b4-11f0-a2c0-4cf95d479851
8f190a96-f1b4-11f0-a2c0-4cf95d479851
8f190b04-f1b4-11f0-a2c0-4cf95d479851
8f190b7c-f1b4-11f0-a2c0-4cf95d479851
8f190bea-f1b4-11f0-a2c0-4cf95d479851
8f190c44-f1b4-11f0-a2c0-4cf95d479851
8f190ca8-f1b4-11f0-a2c0-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)

dfde9118-6f00-8f00-87ea-5ce32bd83b97
1eea9218-6f00-8f00-87ea-5ce32bd83b97
37709318-6f00-8f00-87ea-5ce32bd83b97
ca6e9418-6f00-8f00-87ea-5ce32bd83b97
dbcd9518-6f00-8f00-87ea-5ce32bd83b97
a88c9618-6f00-8f00-87ea-5ce32bd83b97
21a29718-6f00-8f00-87ea-5ce32bd83b97
f5c99818-6f00-8f00-87ea-5ce32bd83b97
16c99918-6f00-8f00-87ea-5ce32bd83b97
73b89a18-6f00-8f00-87ea-5ce32bd83b97
e3f89b18-6f00-8f00-87ea-5ce32bd83b97
109f9c18-6f00-8f00-87ea-5ce32bd83b97
45c89d18-6f00-8f00-87ea-5ce32bd83b97
7b3f9e18-6f00-8f00-87ea-5ce32bd83b97
c2629f18-6f00-8f00-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: