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)

019cc688-e6f4-72b5-8c01-cf83ce9a55f8
019cc688-e6f4-744e-999a-323628430dda
019cc688-e6f4-75c7-b551-1842580b7082
019cc688-e6f4-76ee-a5e6-f138d37f298d
019cc688-e6f4-7809-953e-85178d73b076
019cc688-e6f4-7927-ae75-716894bd6c03
019cc688-e6f4-7a3e-8624-eaa792210017
019cc688-e6f4-7b59-95a1-f3be36b1e4ec
019cc688-e6f4-7c6f-ba79-798191822dc3
019cc688-e6f4-7d8a-a09c-d4b12316800a
019cc688-e6f4-7ea4-84b7-494627d995a0
019cc688-e6f4-7fbb-874b-ee5546ccc2ad
019cc688-e6f5-70d5-8830-17fa0e0b5192
019cc688-e6f5-71ec-83c6-9c9f8bab1319
019cc688-e6f5-7307-ac0c-24575b461f2e

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)

1f119dd5-73f0-6d7c-a2f0-4cf95d479851
1f119dd5-73f0-6f02-a2f0-4cf95d479851
1f119dd5-73f0-6fde-a2f0-4cf95d479851
1f119dd5-73f1-60b0-a2f0-4cf95d479851
1f119dd5-73f1-616e-a2f0-4cf95d479851
1f119dd5-73f1-6236-a2f0-4cf95d479851
1f119dd5-73f1-62fe-a2f0-4cf95d479851
1f119dd5-73f1-63bc-a2f0-4cf95d479851
1f119dd5-73f1-647a-a2f0-4cf95d479851
1f119dd5-73f1-6542-a2f0-4cf95d479851
1f119dd5-73f1-6678-a2f0-4cf95d479851
1f119dd5-73f1-6740-a2f0-4cf95d479851
1f119dd5-73f1-6808-a2f0-4cf95d479851
1f119dd5-73f1-68bc-a2f0-4cf95d479851
1f119dd5-73f1-697a-a2f0-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)

8c0e0232-c4cf-40ad-a748-868b511cf002
9651e68c-4844-441f-8866-6f1967214cdd
dc11ddf2-9145-40ad-9d3f-cb9710096ccc
1b94a659-2e55-4686-b1b7-5f9cef5c8f4a
77b9cb0e-3e1f-40b1-80a8-0ad6c0b20420
c6107639-f726-4f74-a604-eb240471b2ff
b54e63e8-bbeb-4eaf-addc-3bfc56b02939
beecbfa5-8a6b-4306-8712-b2e9e53d7af5
3e27133e-3b70-4faf-b92d-3d95a020e70e
6c264684-2fe8-441a-8e7d-e3e438745690
a1909f07-30ae-4dab-ae15-e32ac191fc8c
2d112a38-d995-4578-9393-6911c86767e8
8f326e82-4ddb-4ff1-9912-967803800cb1
8bd94ceb-b1f8-4b51-8c91-e5fd4c53a71a
898102d8-70d6-4dea-8c0a-0d12603fea14

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)

573f1e98-19dd-11f1-a2f0-4cf95d479851
573f1f06-19dd-11f1-a2f0-4cf95d479851
573f1f6a-19dd-11f1-a2f0-4cf95d479851
573f1fce-19dd-11f1-a2f0-4cf95d479851
573f2032-19dd-11f1-a2f0-4cf95d479851
573f208c-19dd-11f1-a2f0-4cf95d479851
573f20f0-19dd-11f1-a2f0-4cf95d479851
573f214a-19dd-11f1-a2f0-4cf95d479851
573f21ae-19dd-11f1-a2f0-4cf95d479851
573f2212-19dd-11f1-a2f0-4cf95d479851
573f226c-19dd-11f1-a2f0-4cf95d479851
573f22c6-19dd-11f1-a2f0-4cf95d479851
573f232a-19dd-11f1-a2f0-4cf95d479851
573f238e-19dd-11f1-a2f0-4cf95d479851
573f23fc-19dd-11f1-a2f0-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)

b968bd06-0801-8204-87ea-5ce32bd83b97
e678be06-0801-8204-87ea-5ce32bd83b97
c3e8bf06-0801-8204-87ea-5ce32bd83b97
5a99c006-0801-8204-87ea-5ce32bd83b97
a1a1c106-0801-8204-87ea-5ce32bd83b97
629cc306-0801-8204-87ea-5ce32bd83b97
7d41c406-0801-8204-87ea-5ce32bd83b97
35fbc506-0801-8204-87ea-5ce32bd83b97
1d6ec606-0801-8204-87ea-5ce32bd83b97
eaeec706-0801-8204-87ea-5ce32bd83b97
88f5c806-0801-8204-87ea-5ce32bd83b97
0363c906-0801-8204-87ea-5ce32bd83b97
70b3ca06-0801-8204-87ea-5ce32bd83b97
4df6cb06-0801-8204-87ea-5ce32bd83b97
6d89cc06-0801-8204-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: