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)

01a1443a-c698-7477-83b7-e4a611407282
01a1443a-c698-7677-aef5-3f4c8a3f5906
01a1443a-c698-77c7-886e-0ea0fa157d54
01a1443a-c698-78ea-ba31-1f638999b5ce
01a1443a-c698-7a00-8ede-f0d83dda997c
01a1443a-c698-7b13-acc8-f4fb95387cc0
01a1443a-c698-7c29-b65d-d556aef8015c
01a1443a-c698-7d40-83a8-957d22212812
01a1443a-c698-7e5f-a067-fe38709c3087
01a1443a-c698-7f75-ad49-8e48d0cef4b0
01a1443a-c699-708c-8661-37a2c0f00f37
01a1443a-c699-719e-9124-0fae0977fc30
01a1443a-c699-72b1-a903-588d54854de4
01a1443a-c699-73d3-b98e-916867984651
01a1443a-c699-74ea-bc23-fb137b0ffbe7

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)

1f1c94b4-b6f0-6894-8846-4cf95d479851
1f1c94b4-b6f0-6a7e-8846-4cf95d479851
1f1c94b4-b6f0-6b78-8846-4cf95d479851
1f1c94b4-b6f0-6c5e-8846-4cf95d479851
1f1c94b4-b6f0-6d30-8846-4cf95d479851
1f1c94b4-b6f0-6e02-8846-4cf95d479851
1f1c94b4-b6f0-6ede-8846-4cf95d479851
1f1c94b4-b6f0-6fb0-8846-4cf95d479851
1f1c94b4-b6f1-6082-8846-4cf95d479851
1f1c94b4-b6f1-6154-8846-4cf95d479851
1f1c94b4-b6f1-62d0-8846-4cf95d479851
1f1c94b4-b6f1-63c0-8846-4cf95d479851
1f1c94b4-b6f1-6492-8846-4cf95d479851
1f1c94b4-b6f1-6578-8846-4cf95d479851
1f1c94b4-b6f1-6654-8846-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)

4b6f1744-c94b-11f1-8846-4cf95d479851
4b6f17b2-c94b-11f1-8846-4cf95d479851
4b6f1816-c94b-11f1-8846-4cf95d479851
4b6f187a-c94b-11f1-8846-4cf95d479851
4b6f18e8-c94b-11f1-8846-4cf95d479851
4b6f194c-c94b-11f1-8846-4cf95d479851
4b6f19b0-c94b-11f1-8846-4cf95d479851
4b6f1a1e-c94b-11f1-8846-4cf95d479851
4b6f1a82-c94b-11f1-8846-4cf95d479851
4b6f1ae6-c94b-11f1-8846-4cf95d479851
4b6f1b54-c94b-11f1-8846-4cf95d479851
4b6f1bc2-c94b-11f1-8846-4cf95d479851
4b6f1c26-c94b-11f1-8846-4cf95d479851
4b6f1c8a-c94b-11f1-8846-4cf95d479851
4b6f1cee-c94b-11f1-8846-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)

1fe30d05-6e02-8112-87ea-5ce32bd83b97
4f340e05-6e02-8112-87ea-5ce32bd83b97
08860f05-6e02-8112-87ea-5ce32bd83b97
546a1005-6e02-8112-87ea-5ce32bd83b97
2dd51105-6e02-8112-87ea-5ce32bd83b97
c6a01205-6e02-8112-87ea-5ce32bd83b97
af2c1305-6e02-8112-87ea-5ce32bd83b97
007c1405-6e02-8112-87ea-5ce32bd83b97
1db61505-6e02-8112-87ea-5ce32bd83b97
afaf1605-6e02-8112-87ea-5ce32bd83b97
9e3a1705-6e02-8112-87ea-5ce32bd83b97
c9521805-6e02-8112-87ea-5ce32bd83b97
20991905-6e02-8112-87ea-5ce32bd83b97
ab4f1a05-6e02-8112-87ea-5ce32bd83b97
37b81b05-6e02-8112-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)

e11039b8-8dca-42b5-aefc-ee9dc30e472a
b4209190-585b-4aea-baca-2a1dc07f288e
e7ef14b5-83f2-4161-8987-2297b60b6058
c7e1792e-eb25-4344-bd76-f0b29c379ccc
1071d429-4ca7-4f1f-a3bf-15c0bdcbd16a
e9c8c20b-5301-4d14-ae1d-a5c267425fb3
54b5ef86-e74b-404a-868f-95e9c64e2f79
0696917e-47cc-4077-b77e-fc89bb2dfe8c
5d0b03dc-399f-4952-b121-10b3be169e47
314fd454-3485-4da7-b229-706220ad976c
de9aca20-0b5c-4095-81b6-98ea79e34dbe
b8ac74d5-3b3a-4dbc-bccc-9ada8419fd1b
c4d4fac7-6cda-4dfa-9819-095c7c393a08
9fb171a8-4d51-4814-9359-f9fc4fb4e5e5
4cd34c63-3433-4c8e-8605-3a9582647a85

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: