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)

019f4bd9-2004-7042-85f0-e8cbeef5c2a6
019f4bd9-2005-71c7-9340-b8370ccf704b
019f4bd9-2005-72fe-9495-c63bed6e1506
019f4bd9-2005-7419-be7f-93c2d03ab5bd
019f4bd9-2005-752c-b256-b16e18fe5af6
019f4bd9-2005-7646-8c51-975a04479467
019f4bd9-2005-7759-a17a-ec6d7aafc8d2
019f4bd9-2005-786f-a40f-d2c7d84155f5
019f4bd9-2005-7982-a964-3a0c0b12bb00
019f4bd9-2005-7a94-b357-0283a2f67780
019f4bd9-2005-7ba6-aefa-df6a4c25ca90
019f4bd9-2005-7cb9-933a-ea959be726ef
019f4bd9-2005-7dcf-9da3-2d1faaa9e3c7
019f4bd9-2005-7ee2-98b8-02b7de9ac478
019f4bd9-2005-7ff8-8208-e4039a2b1089

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)

1f17c54e-4f42-6e20-85ef-4cf95d479851
1f17c54e-4f42-6fb0-85ef-4cf95d479851
1f17c54e-4f43-6096-85ef-4cf95d479851
1f17c54e-4f43-6168-85ef-4cf95d479851
1f17c54e-4f43-6230-85ef-4cf95d479851
1f17c54e-4f43-62ee-85ef-4cf95d479851
1f17c54e-4f43-63ac-85ef-4cf95d479851
1f17c54e-4f43-646a-85ef-4cf95d479851
1f17c54e-4f43-6528-85ef-4cf95d479851
1f17c54e-4f43-65e6-85ef-4cf95d479851
1f17c54e-4f43-6726-85ef-4cf95d479851
1f17c54e-4f43-67ee-85ef-4cf95d479851
1f17c54e-4f43-68ac-85ef-4cf95d479851
1f17c54e-4f43-696a-85ef-4cf95d479851
1f17c54e-4f43-6a28-85ef-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)

e4f43afa-7c54-11f1-85ef-4cf95d479851
e4f43b68-7c54-11f1-85ef-4cf95d479851
e4f43bcc-7c54-11f1-85ef-4cf95d479851
e4f43c30-7c54-11f1-85ef-4cf95d479851
e4f43c94-7c54-11f1-85ef-4cf95d479851
e4f43cf8-7c54-11f1-85ef-4cf95d479851
e4f43dca-7c54-11f1-85ef-4cf95d479851
e4f43e42-7c54-11f1-85ef-4cf95d479851
e4f43ea6-7c54-11f1-85ef-4cf95d479851
e4f43f0a-7c54-11f1-85ef-4cf95d479851
e4f43f6e-7c54-11f1-85ef-4cf95d479851
e4f43fd2-7c54-11f1-85ef-4cf95d479851
e4f44036-7c54-11f1-85ef-4cf95d479851
e4f4409a-7c54-11f1-85ef-4cf95d479851
e4f440f4-7c54-11f1-85ef-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)

d5658c30-c202-8f0b-87ea-5ce32bd83b97
658a8d30-c202-8f0b-87ea-5ce32bd83b97
b2dc8e30-c202-8f0b-87ea-5ce32bd83b97
18bf8f30-c202-8f0b-87ea-5ce32bd83b97
b1329030-c202-8f0b-87ea-5ce32bd83b97
30b79230-c202-8f0b-87ea-5ce32bd83b97
6c839330-c202-8f0b-87ea-5ce32bd83b97
7c7e9430-c202-8f0b-87ea-5ce32bd83b97
ffc89530-c202-8f0b-87ea-5ce32bd83b97
1d499630-c202-8f0b-87ea-5ce32bd83b97
99c49730-c202-8f0b-87ea-5ce32bd83b97
096a9830-c202-8f0b-87ea-5ce32bd83b97
aa5f9930-c202-8f0b-87ea-5ce32bd83b97
5e7a9a30-c202-8f0b-87ea-5ce32bd83b97
53509b30-c202-8f0b-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)

b295ce85-cf2f-41f9-b6dd-4b664d359102
f3728f5d-17c8-4927-bf8c-9959629b6890
88327bde-1df9-4cf8-b1bb-53eacc7cc01f
95e2cde3-8437-4973-ad51-5a506504c19b
7acf6148-11ff-4d98-a59c-6fc93ad84e37
0106001a-e430-4425-8999-b9f73d1975d2
796c1976-6772-4d6c-b4fb-53158f1e2b8f
5c60b3b9-fd20-46c8-a157-c00e7e28631c
350bd424-c873-483f-a1e1-4a313f6fb699
9d26fe42-d1f5-43f2-ba14-4f75dc4934d3
45ce4a2f-0ee9-421b-8017-d04fb25d0e50
7e4fdf84-b7a1-4b7d-9831-9a10fd7f67a1
8e5567ea-fea4-493b-b8c9-033abbcc7f32
30f5a159-9da5-49e2-b294-a66adf8b1fe7
9d2045fe-5f8d-46f4-a0c3-8ae2b7459a9e

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: