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)

01a0af32-0bb0-792c-a0fa-54e239c0975f
01a0af32-0bb0-7b17-86d2-ab6be99ef5a6
01a0af32-0bb0-7c57-b4e2-8f063d802b1d
01a0af32-0bb0-7d75-ab62-ef5af07c0d96
01a0af32-0bb0-7e8c-ab55-658c3e7d98ea
01a0af32-0bb0-7f9e-9241-dfc9aeca55e1
01a0af32-0bb1-70b1-b63e-27d817da867f
01a0af32-0bb1-71d3-8b0e-b7c1a47d91c1
01a0af32-0bb1-72ea-b3c6-ebea00900bf1
01a0af32-0bb1-73f4-86a9-36ccf9d879b0
01a0af32-0bb1-750b-a5d1-b3c56f02813e
01a0af32-0bb1-7621-bc23-da93112fc834
01a0af32-0bb1-7734-b631-f5addd2e321c
01a0af32-0bb1-784e-a1ec-f5895cae16ff
01a0af32-0bb1-7961-8db1-ea7d30f0c78b

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)

1f1b28da-66a0-6f84-b73e-4cf95d479851
1f1b28da-66a1-616e-b73e-4cf95d479851
1f1b28da-66a1-625e-b73e-4cf95d479851
1f1b28da-66a1-6326-b73e-4cf95d479851
1f1b28da-66a1-63ee-b73e-4cf95d479851
1f1b28da-66a1-64c0-b73e-4cf95d479851
1f1b28da-66a1-6588-b73e-4cf95d479851
1f1b28da-66a1-6650-b73e-4cf95d479851
1f1b28da-66a1-6718-b73e-4cf95d479851
1f1b28da-66a1-67e0-b73e-4cf95d479851
1f1b28da-66a1-6934-b73e-4cf95d479851
1f1b28da-66a1-6a06-b73e-4cf95d479851
1f1b28da-66a1-6ace-b73e-4cf95d479851
1f1b28da-66a1-6ba0-b73e-4cf95d479851
1f1b28da-66a1-6c68-b73e-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)

a66a1d44-b28d-11f1-b73e-4cf95d479851
a66a1da8-b28d-11f1-b73e-4cf95d479851
a66a1e0c-b28d-11f1-b73e-4cf95d479851
a66a1e7a-b28d-11f1-b73e-4cf95d479851
a66a1ede-b28d-11f1-b73e-4cf95d479851
a66a1f42-b28d-11f1-b73e-4cf95d479851
a66a1fa6-b28d-11f1-b73e-4cf95d479851
a66a2014-b28d-11f1-b73e-4cf95d479851
a66a206e-b28d-11f1-b73e-4cf95d479851
a66a20d2-b28d-11f1-b73e-4cf95d479851
a66a212c-b28d-11f1-b73e-4cf95d479851
a66a2190-b28d-11f1-b73e-4cf95d479851
a66a21f4-b28d-11f1-b73e-4cf95d479851
a66a2258-b28d-11f1-b73e-4cf95d479851
a66a22bc-b28d-11f1-b73e-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)

c49dba07-c502-8410-87ea-5ce32bd83b97
46f7bb07-c502-8410-87ea-5ce32bd83b97
4f69bc07-c502-8410-87ea-5ce32bd83b97
4b23bd07-c502-8410-87ea-5ce32bd83b97
7af8be07-c502-8410-87ea-5ce32bd83b97
6284bf07-c502-8410-87ea-5ce32bd83b97
cab8c007-c502-8410-87ea-5ce32bd83b97
0f53c107-c502-8410-87ea-5ce32bd83b97
bbd0c307-c502-8410-87ea-5ce32bd83b97
853cc407-c502-8410-87ea-5ce32bd83b97
b69cc507-c502-8410-87ea-5ce32bd83b97
5908c607-c502-8410-87ea-5ce32bd83b97
11dcc707-c502-8410-87ea-5ce32bd83b97
d7d4c807-c502-8410-87ea-5ce32bd83b97
7735c907-c502-8410-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)

470c5ab7-9118-41a9-9996-9347a7a0b5c7
0fb2dc79-7bfc-412a-8b12-68ee4c6844b4
dfe6e60b-5ac9-4e13-8514-4f0a23d4d095
7403cbfb-0022-477e-a53a-82415b40bddd
bb9695fe-2e01-4a4c-b14b-be209bc4392e
6fd57de3-2ebc-4a1d-aa76-ca3d30d00ec5
3499e641-7f04-4127-8409-16befc14c95f
32463ce3-8c78-4566-9725-d25069591593
9128b033-ec72-4cd4-ad3d-ac607f935fb3
343eed62-70cf-4e72-a935-4976e32965ef
436ffac5-7533-4213-a466-15bf12b95ce6
070357c5-2e74-4ec7-b622-f4d7a6d3aadf
227f6461-44db-45ae-8545-10d1093428ad
d9f43702-1c25-4b00-aa54-9e99135dd135
c0dcacf5-bb70-4f82-921e-f163dce3ca93

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: