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)

01a00f8f-cf02-7b65-ae28-14e09d4a4846
01a00f8f-cf02-7d3c-9f8a-4f9bcaae7836
01a00f8f-cf02-7ede-af19-0185ed0c9555
01a00f8f-cf03-700d-9463-66099bbc0c31
01a00f8f-cf03-7127-9223-10a02a58bd8c
01a00f8f-cf03-723e-9ba7-11c1dee07bf0
01a00f8f-cf03-7359-926b-47ea9ea1e2ad
01a00f8f-cf03-747f-9de3-e7159dff454b
01a00f8f-cf03-75a6-99db-36f3db5017d7
01a00f8f-cf03-76c1-a28d-da5b5c1cb0cc
01a00f8f-cf03-77d8-88f6-9fcfcf36f850
01a00f8f-cf03-78ee-832a-b903b8e70264
01a00f8f-cf03-7a05-8917-5d4a309c425a
01a00f8f-cf03-7b1b-9409-6fb40ae77bdb
01a00f8f-cf03-7c32-904c-6848539f59fa

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)

1f19a31f-507c-695c-b506-4cf95d479851
1f19a31f-507c-6b3c-b506-4cf95d479851
1f19a31f-507c-6c22-b506-4cf95d479851
1f19a31f-507c-6cea-b506-4cf95d479851
1f19a31f-507c-6da8-b506-4cf95d479851
1f19a31f-507c-6e70-b506-4cf95d479851
1f19a31f-507c-6f2e-b506-4cf95d479851
1f19a31f-507c-6fec-b506-4cf95d479851
1f19a31f-507d-60a0-b506-4cf95d479851
1f19a31f-507d-615e-b506-4cf95d479851
1f19a31f-507d-62ee-b506-4cf95d479851
1f19a31f-507d-63c0-b506-4cf95d479851
1f19a31f-507d-647e-b506-4cf95d479851
1f19a31f-507d-653c-b506-4cf95d479851
1f19a31f-507d-65fa-b506-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)

f507d6cc-9a31-11f1-b506-4cf95d479851
f507d730-9a31-11f1-b506-4cf95d479851
f507d78a-9a31-11f1-b506-4cf95d479851
f507d7ee-9a31-11f1-b506-4cf95d479851
f507d852-9a31-11f1-b506-4cf95d479851
f507d8b6-9a31-11f1-b506-4cf95d479851
f507d91a-9a31-11f1-b506-4cf95d479851
f507d974-9a31-11f1-b506-4cf95d479851
f507d9ec-9a31-11f1-b506-4cf95d479851
f507da46-9a31-11f1-b506-4cf95d479851
f507daaa-9a31-11f1-b506-4cf95d479851
f507db04-9a31-11f1-b506-4cf95d479851
f507db68-9a31-11f1-b506-4cf95d479851
f507dbcc-9a31-11f1-b506-4cf95d479851
f507dc44-9a31-11f1-b506-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)

580a0512-c802-850e-87ea-5ce32bd83b97
bba30612-c802-850e-87ea-5ce32bd83b97
2b990712-c802-850e-87ea-5ce32bd83b97
b7b90812-c802-850e-87ea-5ce32bd83b97
7de10912-c802-850e-87ea-5ce32bd83b97
059b0a12-c802-850e-87ea-5ce32bd83b97
be830b12-c802-850e-87ea-5ce32bd83b97
7f000d12-c802-850e-87ea-5ce32bd83b97
722a0e12-c802-850e-87ea-5ce32bd83b97
ed4b0f12-c802-850e-87ea-5ce32bd83b97
1bdd1012-c802-850e-87ea-5ce32bd83b97
60421112-c802-850e-87ea-5ce32bd83b97
3c651212-c802-850e-87ea-5ce32bd83b97
b24f1312-c802-850e-87ea-5ce32bd83b97
44a11412-c802-850e-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)

88f7be4a-2dd1-447d-95eb-54790c320d9b
88545638-209f-42fd-9a73-ad507e7582b4
900523d3-afb4-4050-832a-9e073fe591e2
3173fc44-56b6-4c27-8f7f-63c04982ad3c
cdbc261c-39d8-4702-9cb7-280bdb23fa14
8915a64f-a9d7-496c-8dfe-65754c11836d
29fd483a-030c-419c-a86c-f4b6d9bdf350
d589a498-1d1d-4e0e-8134-b855a006f358
7a583337-58af-4a17-87e9-94d615e5dbdb
122070f3-0f14-456d-8f08-48279c80d92f
0a28de89-25ad-4c40-84fc-7d5d829672ac
5ab92199-8da9-45a6-ae05-a569c536ff28
1a70f269-d2c4-496e-8289-52d51e74518f
d7a8faa2-2b38-4802-b753-5e8adcadab9f
cf88f50e-967b-4b2f-9b82-881065a08939

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: