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)

019bd05b-036b-7544-964e-b8d5124159bd
019bd05b-036b-76cd-be05-6b87a9936bd4
019bd05b-036b-7809-a522-58e97c245a2e
019bd05b-036b-7927-b32c-ae34d1c0fe5e
019bd05b-036b-7a42-a75a-f7f42d3a0924
019bd05b-036b-7b59-aa1f-754ebe1bbc36
019bd05b-036b-7c6f-abcf-4aeae7a9e269
019bd05b-036b-7d86-a22a-e9615565115b
019bd05b-036b-7ea0-8708-783e7e5efc8d
019bd05b-036b-7fb3-a2d5-f9ef046bb823
019bd05b-036c-70c9-952f-845c7467a367
019bd05b-036c-71e0-b668-553218f3ec57
019bd05b-036c-72f2-a774-4f2c20e8bc92
019bd05b-036c-7409-bfec-d8c886338d4f
019bd05b-036c-751f-a0e4-c87c361b7978

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)

1f0f44cf-6b6f-6aec-872b-4cf95d479851
1f0f44cf-6b6f-6c68-872b-4cf95d479851
1f0f44cf-6b6f-6d4e-872b-4cf95d479851
1f0f44cf-6b6f-6e20-872b-4cf95d479851
1f0f44cf-6b6f-6ef2-872b-4cf95d479851
1f0f44cf-6b6f-6fba-872b-4cf95d479851
1f0f44cf-6b70-6082-872b-4cf95d479851
1f0f44cf-6b70-614a-872b-4cf95d479851
1f0f44cf-6b70-6212-872b-4cf95d479851
1f0f44cf-6b70-62d0-872b-4cf95d479851
1f0f44cf-6b70-6410-872b-4cf95d479851
1f0f44cf-6b70-64e2-872b-4cf95d479851
1f0f44cf-6b70-65aa-872b-4cf95d479851
1f0f44cf-6b70-6672-872b-4cf95d479851
1f0f44cf-6b70-6730-872b-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)

abd3c0ec-8346-4ea5-9b8a-2b5785870fe6
6720a471-8140-436f-a3fc-a336ea195a62
037cbd92-1434-4dff-be88-5d6bd55c59be
761fcee8-89b0-47d1-b546-b0eeb22b0bf7
72aab5c8-dd09-47cc-8031-9d2d35b6c2e3
9f7ac269-1727-47df-b86b-d07b3ec0bd4a
9b7c6037-ded7-45ec-89ec-77e4f815635e
6b6c56fb-8c97-4983-a1a8-ef7f1046c751
62060a85-d09b-499c-80b8-290adbf9c2cd
cb3c5368-1744-4241-968d-efc66c550a09
49028ca9-315a-49cc-aa50-209b26f39e9d
fad373b5-1cb4-48c3-9aed-50ebc4d63bbc
e4f7a3bf-f13d-4e87-9c3b-affd7765f3a1
4ea1dda3-0089-4be5-9149-0d56c52353cb
28b56a30-562e-4186-a639-f90b8db42868

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)

f6b70c4e-f44c-11f0-872b-4cf95d479851
f6b70cb2-f44c-11f0-872b-4cf95d479851
f6b70d16-f44c-11f0-872b-4cf95d479851
f6b70d7a-f44c-11f0-872b-4cf95d479851
f6b70dde-f44c-11f0-872b-4cf95d479851
f6b70e38-f44c-11f0-872b-4cf95d479851
f6b70e92-f44c-11f0-872b-4cf95d479851
f6b70ef6-f44c-11f0-872b-4cf95d479851
f6b70f50-f44c-11f0-872b-4cf95d479851
f6b70faa-f44c-11f0-872b-4cf95d479851
f6b7100e-f44c-11f0-872b-4cf95d479851
f6b71072-f44c-11f0-872b-4cf95d479851
f6b710d6-f44c-11f0-872b-4cf95d479851
f6b71144-f44c-11f0-872b-4cf95d479851
f6b711a8-f44c-11f0-872b-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)

e6bf3c18-2302-8201-87ea-5ce32bd83b97
4f103e18-2302-8201-87ea-5ce32bd83b97
5af73f18-2302-8201-87ea-5ce32bd83b97
d3544018-2302-8201-87ea-5ce32bd83b97
6ff24118-2302-8201-87ea-5ce32bd83b97
42dd4218-2302-8201-87ea-5ce32bd83b97
8df64318-2302-8201-87ea-5ce32bd83b97
e07b4418-2302-8201-87ea-5ce32bd83b97
aa9b4518-2302-8201-87ea-5ce32bd83b97
133c4618-2302-8201-87ea-5ce32bd83b97
4d7e4718-2302-8201-87ea-5ce32bd83b97
974f4818-2302-8201-87ea-5ce32bd83b97
c24f4918-2302-8201-87ea-5ce32bd83b97
c2a54a18-2302-8201-87ea-5ce32bd83b97
a9244b18-2302-8201-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: