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)

019f15ec-e5c9-7c05-b64f-427d7ed862c0
019f15ec-e5c9-7daf-bf31-f0d72c9329d4
019f15ec-e5c9-7eea-919a-980bfbcab091
019f15ec-e5c9-7005-adc9-5c1647bfa76c
019f15ec-e5ca-711b-8915-33a42f9a4bef
019f15ec-e5ca-722e-9de6-846734086579
019f15ec-e5ca-7344-bff9-f695827cfee2
019f15ec-e5ca-7457-9f75-d5ac133afc07
019f15ec-e5ca-7569-8349-262ba1edef91
019f15ec-e5ca-767b-916d-24d0f3dd6d05
019f15ec-e5ca-7792-8466-0940794bbb1c
019f15ec-e5ca-78e2-bc11-60d2332f35ed
019f15ec-e5ca-79f8-a1f9-48be117971d4
019f15ec-e5ca-7b0b-b451-6e542873459c
019f15ec-e5ca-7c1d-b730-4f584c5a5249

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)

1f1741a8-9518-6460-849d-4cf95d479851
1f1741a8-9518-6640-849d-4cf95d479851
1f1741a8-9518-6726-849d-4cf95d479851
1f1741a8-9518-67f8-849d-4cf95d479851
1f1741a8-9518-68ca-849d-4cf95d479851
1f1741a8-9518-6992-849d-4cf95d479851
1f1741a8-9518-6a50-849d-4cf95d479851
1f1741a8-9518-6b18-849d-4cf95d479851
1f1741a8-9518-6bd6-849d-4cf95d479851
1f1741a8-9518-6c9e-849d-4cf95d479851
1f1741a8-9518-6de8-849d-4cf95d479851
1f1741a8-9518-6eba-849d-4cf95d479851
1f1741a8-9518-6f78-849d-4cf95d479851
1f1741a8-9519-6036-849d-4cf95d479851
1f1741a8-9519-60f4-849d-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)

895191d0-741a-11f1-849d-4cf95d479851
8951923e-741a-11f1-849d-4cf95d479851
895192a2-741a-11f1-849d-4cf95d479851
89519306-741a-11f1-849d-4cf95d479851
8951936a-741a-11f1-849d-4cf95d479851
895193c4-741a-11f1-849d-4cf95d479851
89519428-741a-11f1-849d-4cf95d479851
89519482-741a-11f1-849d-4cf95d479851
895194e6-741a-11f1-849d-4cf95d479851
89519540-741a-11f1-849d-4cf95d479851
895195a4-741a-11f1-849d-4cf95d479851
895195fe-741a-11f1-849d-4cf95d479851
89519658-741a-11f1-849d-4cf95d479851
895196b2-741a-11f1-849d-4cf95d479851
89519716-741a-11f1-849d-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)

b128b236-1c00-850b-87ea-5ce32bd83b97
ce53b336-1c00-850b-87ea-5ce32bd83b97
8b2eb436-1c00-850b-87ea-5ce32bd83b97
22d9b536-1c00-850b-87ea-5ce32bd83b97
997ab736-1c00-850b-87ea-5ce32bd83b97
e8acb836-1c00-850b-87ea-5ce32bd83b97
77e4b936-1c00-850b-87ea-5ce32bd83b97
4053ba36-1c00-850b-87ea-5ce32bd83b97
f6a5bb36-1c00-850b-87ea-5ce32bd83b97
f473bc36-1c00-850b-87ea-5ce32bd83b97
e516bd36-1c00-850b-87ea-5ce32bd83b97
b21fbe36-1c00-850b-87ea-5ce32bd83b97
3bb3bf36-1c00-850b-87ea-5ce32bd83b97
92cec036-1c00-850b-87ea-5ce32bd83b97
f529c136-1c00-850b-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)

7ab7e43b-3ff2-41e0-a29e-3453a5cf7ce0
29d55117-7d5b-44ee-b846-406ebb0b959d
eda31aff-2264-4f90-8216-89ba1e90387a
0d1a299d-6ca0-4f5c-b867-8ee7e75f4db4
1a724530-b7ae-4af4-ba8d-40d9b72ad2aa
9fb8197f-8e2f-46ae-98a3-706714158962
bcbe6b8e-3c87-4de0-ad30-cb9ce8248025
980316cf-4ad8-4095-bfb2-b2ff9729b2dc
6535160a-e07e-43d0-a53b-e0a4d16bc24a
e1069025-40be-4844-b096-3875270baa6f
839fe857-5c99-4e2b-90ce-7fcad7836fcf
24ec98e1-37ee-4356-96a1-9fe8de627287
ed77dd9a-b8a3-4183-8f1d-d7856181dce8
99c57e83-2cec-477c-8186-c5a0038fe767
206573e2-f9ca-4270-b483-d041acdcb546

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: