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)

019e516a-950e-71f4-81a7-8ba210def87d
019e516a-950e-73c3-8b16-8d19d42d0a3c
019e516a-950e-752c-b795-79962c159d54
019e516a-950e-766b-8b0a-ae18a94d98b2
019e516a-950e-77a2-88e9-1860a4f14e64
019e516a-950e-790b-a862-51690238ee9c
019e516a-950e-7a42-8cc7-af4c5a7f6061
019e516a-950e-7b82-94ae-83dfe0c833ba
019e516a-950e-7cd1-a853-2088348bf1fa
019e516a-950e-7e0d-b695-8d1c544ce418
019e516a-950e-7f44-9dbe-07e01bec315b
019e516a-950f-7077-88fa-a8b24f06bcea
019e516a-950f-7192-85f5-3a4262a66207
019e516a-950f-72a4-a4a7-cb02acc026c2
019e516a-950f-73b7-992d-6f5665e2044d

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)

1f1561e6-6dfe-677e-805d-4cf95d479851
1f1561e6-6dfe-6986-805d-4cf95d479851
1f1561e6-6dfe-6a6c-805d-4cf95d479851
1f1561e6-6dfe-6b34-805d-4cf95d479851
1f1561e6-6dfe-6bf2-805d-4cf95d479851
1f1561e6-6dfe-6cba-805d-4cf95d479851
1f1561e6-6dfe-6d78-805d-4cf95d479851
1f1561e6-6dfe-6e36-805d-4cf95d479851
1f1561e6-6dfe-6ef4-805d-4cf95d479851
1f1561e6-6dfe-6fbc-805d-4cf95d479851
1f1561e6-6dff-6142-805d-4cf95d479851
1f1561e6-6dff-62b4-805d-4cf95d479851
1f1561e6-6dff-63ea-805d-4cf95d479851
1f1561e6-6dff-64a8-805d-4cf95d479851
1f1561e6-6dff-6570-805d-4cf95d479851

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)

66dff64c-561e-11f1-805d-4cf95d479851
66dff6ba-561e-11f1-805d-4cf95d479851
66dff71e-561e-11f1-805d-4cf95d479851
66dff78c-561e-11f1-805d-4cf95d479851
66dff7f0-561e-11f1-805d-4cf95d479851
66dff854-561e-11f1-805d-4cf95d479851
66dff8ae-561e-11f1-805d-4cf95d479851
66dff91c-561e-11f1-805d-4cf95d479851
66dff980-561e-11f1-805d-4cf95d479851
66dff9f8-561e-11f1-805d-4cf95d479851
66dffa5c-561e-11f1-805d-4cf95d479851
66dffac0-561e-11f1-805d-4cf95d479851
66dffb24-561e-11f1-805d-4cf95d479851
66dffb88-561e-11f1-805d-4cf95d479851
66dffbec-561e-11f1-805d-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)

6ba80400-d904-8e08-87ea-5ce32bd83b97
ffed0500-d904-8e08-87ea-5ce32bd83b97
eb180600-d904-8e08-87ea-5ce32bd83b97
0c370700-d904-8e08-87ea-5ce32bd83b97
25e70800-d904-8e08-87ea-5ce32bd83b97
0c6e0900-d904-8e08-87ea-5ce32bd83b97
4ab60a00-d904-8e08-87ea-5ce32bd83b97
00800b00-d904-8e08-87ea-5ce32bd83b97
57520d00-d904-8e08-87ea-5ce32bd83b97
723b0e00-d904-8e08-87ea-5ce32bd83b97
27290f00-d904-8e08-87ea-5ce32bd83b97
6b621000-d904-8e08-87ea-5ce32bd83b97
53081100-d904-8e08-87ea-5ce32bd83b97
892c1200-d904-8e08-87ea-5ce32bd83b97
1c8c1300-d904-8e08-87ea-5ce32bd83b97

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)

356767c4-8cee-4b81-88b3-0119766d09ae
93c4dab1-071e-4001-8fde-cc028c96ab6c
3d958034-54f4-48a6-ba9b-a50a57b72478
e47e79e6-78c9-4e1c-a96f-e113bcffe45c
b9eb92cb-c1fc-4092-9739-c0f99c956bc5
d7e17892-479d-40ac-b7cf-cfe6796fe744
56879434-e9e8-4fd1-a7b3-28e19ffff5d5
5278ca5b-2b43-4854-bcc4-a3c1a1516a45
e06ecb16-5620-442a-87df-dbfb8e5ace30
b739a378-1def-4ea8-aa3b-011d28299d0f
fcc43eb0-c5c1-4a04-a2b5-be7d47707dbb
befd0a1c-19ad-438c-874b-b3ffb0d86752
7f7ea7ef-48c9-4174-aa7f-993532306593
c0bdec07-8dfd-40ab-94eb-2871f11bf463
995cb252-3aad-4f75-91ff-53da861cee8a

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: