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)

019d9111-3e39-7498-9701-cf09a0f747d0
019d9111-3e39-7621-b7d9-71524afdeb3f
019d9111-3e39-7761-80db-97c21fdbbe2b
019d9111-3e39-787f-ab96-8dbbaed08b47
019d9111-3e39-799a-a28e-ec7ec7b14d69
019d9111-3e39-7ab9-b5a5-bce812ce311d
019d9111-3e39-7bd3-97fd-7eda10f3d355
019d9111-3e39-7cea-bb99-8029b88a8d5a
019d9111-3e39-7e00-9830-4e0764bc7cc5
019d9111-3e39-7f1b-86f9-50a24d67e603
019d9111-3e3a-7032-b908-c4eb400c6af5
019d9111-3e3a-714c-b56a-c88e1b0e2811
019d9111-3e3a-7267-a662-c0a4bd9faa6f
019d9111-3e3a-7382-8b3e-a53b480e19b8
019d9111-3e3a-7498-a287-0ff0c2ac8dd0

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)

1f138c4c-5100-688c-a95b-4cf95d479851
1f138c4c-5100-6a12-a95b-4cf95d479851
1f138c4c-5100-6af8-a95b-4cf95d479851
1f138c4c-5100-6bca-a95b-4cf95d479851
1f138c4c-5100-6c88-a95b-4cf95d479851
1f138c4c-5100-6d50-a95b-4cf95d479851
1f138c4c-5100-6e18-a95b-4cf95d479851
1f138c4c-5100-6ee0-a95b-4cf95d479851
1f138c4c-5100-6f9e-a95b-4cf95d479851
1f138c4c-5101-605c-a95b-4cf95d479851
1f138c4c-5101-619c-a95b-4cf95d479851
1f138c4c-5101-6264-a95b-4cf95d479851
1f138c4c-5101-632c-a95b-4cf95d479851
1f138c4c-5101-63ea-a95b-4cf95d479851
1f138c4c-5101-64a8-a95b-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)

e4cd554e-a640-4e25-9ec1-0fa1600f73a1
fe2011b6-956f-4145-8d7e-655cc9920d49
4ae11d6f-9032-4035-b5c7-298aac53d5aa
68b00e39-46fa-459f-b1aa-8d6dfb30b116
5f746276-b58a-4d02-b18c-710ecaa15cc1
1819020c-87eb-4fbc-b4b2-5f8cc127aae0
c7a820aa-b646-4f15-8444-6fd0a05cef73
dd22f02a-6cfe-497b-b47f-279f3cbee270
873b2faa-bad3-4247-93a0-216e3e6e175b
055a8495-2100-47b2-a2d6-0af150ee11d8
1fcb3690-89b6-4e56-8966-37d581ffbb00
dbfc99d8-5281-4b7b-829a-d1de7b58f557
80abf9f5-c546-41d4-b727-1597ce6bf049
e94d99b4-10d2-414e-bf31-77b9b277d978
b6e02539-0374-4b82-8537-b511aedbeb8a

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)

c51019c6-38c4-11f1-a95b-4cf95d479851
c5101a2a-38c4-11f1-a95b-4cf95d479851
c5101a8e-38c4-11f1-a95b-4cf95d479851
c5101af2-38c4-11f1-a95b-4cf95d479851
c5101b4c-38c4-11f1-a95b-4cf95d479851
c5101bb0-38c4-11f1-a95b-4cf95d479851
c5101c14-38c4-11f1-a95b-4cf95d479851
c5101c82-38c4-11f1-a95b-4cf95d479851
c5101cdc-38c4-11f1-a95b-4cf95d479851
c5101d36-38c4-11f1-a95b-4cf95d479851
c5101d9a-38c4-11f1-a95b-4cf95d479851
c5101df4-38c4-11f1-a95b-4cf95d479851
c5101e58-38c4-11f1-a95b-4cf95d479851
c5101ebc-38c4-11f1-a95b-4cf95d479851
c5101f16-38c4-11f1-a95b-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)

9a4e9c13-e002-8906-87ea-5ce32bd83b97
0c029d13-e002-8906-87ea-5ce32bd83b97
72f49e13-e002-8906-87ea-5ce32bd83b97
5a9e9f13-e002-8906-87ea-5ce32bd83b97
6deca013-e002-8906-87ea-5ce32bd83b97
2996a113-e002-8906-87ea-5ce32bd83b97
46dca213-e002-8906-87ea-5ce32bd83b97
130ba313-e002-8906-87ea-5ce32bd83b97
a48ba413-e002-8906-87ea-5ce32bd83b97
b18ea513-e002-8906-87ea-5ce32bd83b97
920ca613-e002-8906-87ea-5ce32bd83b97
27a8a713-e002-8906-87ea-5ce32bd83b97
1664a813-e002-8906-87ea-5ce32bd83b97
d425a913-e002-8906-87ea-5ce32bd83b97
9473ab13-e002-8906-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: