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)

019de218-37a4-78ad-8c8d-08042ff45baa
019de218-37a4-7a4e-ab13-e5dcd489582e
019de218-37a4-7b92-b695-1c65d50d987f
019de218-37a4-7cb9-8911-276c11fdaed9
019de218-37a4-7dd8-880c-14797562bf84
019de218-37a4-7ef2-97f4-ee43d5ac1e96
019de218-37a5-7011-a92c-86f64a0ef99a
019de218-37a5-7130-97dd-79bae9d65b1a
019de218-37a5-724e-b5b9-3da2c01a1dcf
019de218-37a5-737d-86b4-27f7bdbd7789
019de218-37a5-74b9-8b94-3d4aaacaf96d
019de218-37a5-75dc-9bc3-55246133c2a1
019de218-37a5-76f6-843a-ffd949cd9e92
019de218-37a5-7815-b7c0-1a1dff879227
019de218-37a5-7930-8b7f-afd5ceb6b47c

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)

1f14521e-57ef-69b6-bab5-4cf95d479851
1f14521e-57ef-6b64-bab5-4cf95d479851
1f14521e-57ef-6c54-bab5-4cf95d479851
1f14521e-57ef-6d26-bab5-4cf95d479851
1f14521e-57ef-6dee-bab5-4cf95d479851
1f14521e-57ef-6eb6-bab5-4cf95d479851
1f14521e-57ef-6f7e-bab5-4cf95d479851
1f14521e-57f0-603c-bab5-4cf95d479851
1f14521e-57f0-6104-bab5-4cf95d479851
1f14521e-57f0-61c2-bab5-4cf95d479851
1f14521e-57f0-6302-bab5-4cf95d479851
1f14521e-57f0-641a-bab5-4cf95d479851
1f14521e-57f0-656e-bab5-4cf95d479851
1f14521e-57f0-66e0-bab5-4cf95d479851
1f14521e-57f0-6834-bab5-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)

3a15a4e7-4810-4171-bacb-690b3245baad
adfcdcdc-8e30-4ca4-80dc-e68b47bb86ee
d776d5e7-7e2d-4464-8df2-ac9ac64c9a97
b568dc85-394f-4a68-93de-1aef836620fc
422840d1-6edd-4c46-a80f-e92c69d74eae
e5e08cde-ecc9-4aa8-9aef-9d8e6dea5343
07f4e477-97d4-4988-b5a3-7f3671d29f78
e30c8798-43cf-4e6d-bce2-ec82facc44fa
8676c8d7-8f38-4f4d-9b02-1af3fec0d371
998261f5-3904-4eab-82b4-ab2dea38e9ab
84908116-3f46-4c81-bbbf-f34c84582314
18baa63f-c6eb-4d24-aa5f-dafe86cf95e1
ab66dc0c-cf0d-445d-989c-2a996f269094
394ff482-251f-4dce-8fc5-1bc9a514368f
9151ca47-1988-4b59-87f4-014ab55bb89d

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)

e57f0f50-4521-11f1-bab5-4cf95d479851
e57f0fe6-4521-11f1-bab5-4cf95d479851
e57f1072-4521-11f1-bab5-4cf95d479851
e57f10f4-4521-11f1-bab5-4cf95d479851
e57f116c-4521-11f1-bab5-4cf95d479851
e57f11ee-4521-11f1-bab5-4cf95d479851
e57f1270-4521-11f1-bab5-4cf95d479851
e57f1306-4521-11f1-bab5-4cf95d479851
e57f1392-4521-11f1-bab5-4cf95d479851
e57f1428-4521-11f1-bab5-4cf95d479851
e57f14aa-4521-11f1-bab5-4cf95d479851
e57f152c-4521-11f1-bab5-4cf95d479851
e57f15b8-4521-11f1-bab5-4cf95d479851
e57f163a-4521-11f1-bab5-4cf95d479851
e57f16bc-4521-11f1-bab5-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)

de8c2c0b-6101-8907-87ea-5ce32bd83b97
104c2d0b-6101-8907-87ea-5ce32bd83b97
c4072e0b-6101-8907-87ea-5ce32bd83b97
88f82f0b-6101-8907-87ea-5ce32bd83b97
49e1300b-6101-8907-87ea-5ce32bd83b97
b090320b-6101-8907-87ea-5ce32bd83b97
2862330b-6101-8907-87ea-5ce32bd83b97
c911340b-6101-8907-87ea-5ce32bd83b97
c0a2350b-6101-8907-87ea-5ce32bd83b97
452d360b-6101-8907-87ea-5ce32bd83b97
805a370b-6101-8907-87ea-5ce32bd83b97
9249380b-6101-8907-87ea-5ce32bd83b97
7748390b-6101-8907-87ea-5ce32bd83b97
d2bc3a0b-6101-8907-87ea-5ce32bd83b97
e12e3b0b-6101-8907-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: