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)

019d7350-c767-73bb-956b-026de02b41f7
019d7350-c767-75a6-a1ce-5daf46060ab8
019d7350-c767-76ea-881f-593d87060fea
019d7350-c767-7809-8db4-10469cc658fa
019d7350-c767-7927-808f-a61fdf4c28e1
019d7350-c767-7a46-8a63-c70b90ef3f82
019d7350-c767-7b5d-96c6-701d7d731004
019d7350-c767-7c77-b9e4-9243c763f720
019d7350-c767-7d92-b5ea-c5153ec21a83
019d7350-c767-7ead-b4d2-7c9e9ad7bd78
019d7350-c767-7fc7-9e78-6cc5b152b61a
019d7350-c768-70e6-b721-2cff7118dcc7
019d7350-c768-7205-8ab4-d984d8a9ab98
019d7350-c768-7350-8d5f-3a52df77f114
019d7350-c768-746b-8ddb-0355136c4076

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)

1f1343a9-6ee9-6eca-8963-4cf95d479851
1f1343a9-6eea-605a-8963-4cf95d479851
1f1343a9-6eea-6136-8963-4cf95d479851
1f1343a9-6eea-61fe-8963-4cf95d479851
1f1343a9-6eea-62bc-8963-4cf95d479851
1f1343a9-6eea-6384-8963-4cf95d479851
1f1343a9-6eea-644c-8963-4cf95d479851
1f1343a9-6eea-650a-8963-4cf95d479851
1f1343a9-6eea-65c8-8963-4cf95d479851
1f1343a9-6eea-6686-8963-4cf95d479851
1f1343a9-6eea-67b2-8963-4cf95d479851
1f1343a9-6eea-687a-8963-4cf95d479851
1f1343a9-6eea-6938-8963-4cf95d479851
1f1343a9-6eea-6a0a-8963-4cf95d479851
1f1343a9-6eea-6ad2-8963-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)

720680f5-32ed-4de6-bb0f-e7015326be42
06d3d98a-620f-4688-ad5e-5ed69185f82c
1af32ff0-6f64-49df-881c-cb985c65b4eb
0180d8a0-f242-4e85-b3a8-0a3efbad6126
0868de48-1af6-4fa5-b469-1f7ffa64f075
1134b7e4-470b-4f4f-a5cd-c3ab42dbe0f4
af1d70e0-bc29-4418-aeb0-6ed34ddf34b6
ccee292c-84fa-4af9-862e-a299990b2308
1bc2d9f6-315c-471d-bad6-6de051093ca2
220a0bfa-4cb5-4e1c-ab75-6c1dfd37b6f1
f9b66ef6-1c1d-42e0-ad42-7c74e5ebec58
1cdab98f-ec11-4897-9fb4-beb92cb34e00
1da8ffbf-02dd-4552-9d46-9b145282b603
9addb219-baee-4f8c-826b-ff55355b0422
2322f6bd-d484-4938-9d69-c93eba470d7a

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)

96eeafe6-343a-11f1-8963-4cf95d479851
96eeb04a-343a-11f1-8963-4cf95d479851
96eeb0b8-343a-11f1-8963-4cf95d479851
96eeb126-343a-11f1-8963-4cf95d479851
96eeb18a-343a-11f1-8963-4cf95d479851
96eeb1f8-343a-11f1-8963-4cf95d479851
96eeb25c-343a-11f1-8963-4cf95d479851
96eeb2b6-343a-11f1-8963-4cf95d479851
96eeb31a-343a-11f1-8963-4cf95d479851
96eeb37e-343a-11f1-8963-4cf95d479851
96eeb3e2-343a-11f1-8963-4cf95d479851
96eeb446-343a-11f1-8963-4cf95d479851
96eeb4a0-343a-11f1-8963-4cf95d479851
96eeb504-343a-11f1-8963-4cf95d479851
96eeb55e-343a-11f1-8963-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)

db560407-2104-8306-87ea-5ce32bd83b97
291e0507-2104-8306-87ea-5ce32bd83b97
8abf0607-2104-8306-87ea-5ce32bd83b97
aff50707-2104-8306-87ea-5ce32bd83b97
803d0807-2104-8306-87ea-5ce32bd83b97
c2580907-2104-8306-87ea-5ce32bd83b97
59bc0a07-2104-8306-87ea-5ce32bd83b97
a8ec0b07-2104-8306-87ea-5ce32bd83b97
d58b0d07-2104-8306-87ea-5ce32bd83b97
fb8f0e07-2104-8306-87ea-5ce32bd83b97
25330f07-2104-8306-87ea-5ce32bd83b97
b05f1007-2104-8306-87ea-5ce32bd83b97
77df1107-2104-8306-87ea-5ce32bd83b97
31001207-2104-8306-87ea-5ce32bd83b97
25911307-2104-8306-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: