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)

019eeb9e-27a4-754c-8d87-3e19f94f1d9d
019eeb9e-27a4-7750-88ca-3414e0b0a3f5
019eeb9e-27a4-78d5-8d04-db0a935f792c
019eeb9e-27a4-7a00-a1ad-03f0fdabd3d1
019eeb9e-27a4-7b13-85d4-3fa24244a047
019eeb9e-27a4-7c67-8f6d-7e97f72cfe51
019eeb9e-27a4-7daf-985a-cbfe5c3551ff
019eeb9e-27a4-7ec9-9724-7724bd7b1c99
019eeb9e-27a4-7fec-bedc-915f792abf7e
019eeb9e-27a5-7103-b0db-4de81aab7dec
019eeb9e-27a5-721d-8d7a-3d35dd7ac1de
019eeb9e-27a5-7375-8ca2-f9b0208fcae5
019eeb9e-27a5-74c1-8731-54843be5984f
019eeb9e-27a5-75dc-aeb8-7debb8b393b2
019eeb9e-27a5-76ee-9bdf-5d0e791ae67d

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)

1f16da5e-56df-64b6-8e90-4cf95d479851
1f16da5e-56df-6678-8e90-4cf95d479851
1f16da5e-56df-6768-8e90-4cf95d479851
1f16da5e-56df-6844-8e90-4cf95d479851
1f16da5e-56df-6916-8e90-4cf95d479851
1f16da5e-56df-69de-8e90-4cf95d479851
1f16da5e-56df-6ab0-8e90-4cf95d479851
1f16da5e-56df-6b6e-8e90-4cf95d479851
1f16da5e-56df-6c36-8e90-4cf95d479851
1f16da5e-56df-6cf4-8e90-4cf95d479851
1f16da5e-56df-6e7a-8e90-4cf95d479851
1f16da5e-56df-6fce-8e90-4cf95d479851
1f16da5e-56e0-60b4-8e90-4cf95d479851
1f16da5e-56e0-6172-8e90-4cf95d479851
1f16da5e-56e0-6230-8e90-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)

e56e030c-6da5-11f1-8e90-4cf95d479851
e56e037a-6da5-11f1-8e90-4cf95d479851
e56e03de-6da5-11f1-8e90-4cf95d479851
e56e044c-6da5-11f1-8e90-4cf95d479851
e56e04b0-6da5-11f1-8e90-4cf95d479851
e56e0514-6da5-11f1-8e90-4cf95d479851
e56e0582-6da5-11f1-8e90-4cf95d479851
e56e05dc-6da5-11f1-8e90-4cf95d479851
e56e0640-6da5-11f1-8e90-4cf95d479851
e56e06a4-6da5-11f1-8e90-4cf95d479851
e56e0708-6da5-11f1-8e90-4cf95d479851
e56e0762-6da5-11f1-8e90-4cf95d479851
e56e07c6-6da5-11f1-8e90-4cf95d479851
e56e0834-6da5-11f1-8e90-4cf95d479851
e56e0898-6da5-11f1-8e90-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)

867b2433-8604-8c0a-87ea-5ce32bd83b97
15382533-8604-8c0a-87ea-5ce32bd83b97
b0122633-8604-8c0a-87ea-5ce32bd83b97
d9952733-8604-8c0a-87ea-5ce32bd83b97
30a12833-8604-8c0a-87ea-5ce32bd83b97
3cdf2933-8604-8c0a-87ea-5ce32bd83b97
86392a33-8604-8c0a-87ea-5ce32bd83b97
85a52b33-8604-8c0a-87ea-5ce32bd83b97
eb022c33-8604-8c0a-87ea-5ce32bd83b97
f3782e33-8604-8c0a-87ea-5ce32bd83b97
9adb2f33-8604-8c0a-87ea-5ce32bd83b97
cc2b3033-8604-8c0a-87ea-5ce32bd83b97
feb73133-8604-8c0a-87ea-5ce32bd83b97
bfcf3233-8604-8c0a-87ea-5ce32bd83b97
ed113333-8604-8c0a-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)

f8e6bdf8-babd-45a1-abd1-82ffd07c654b
3d9f06cb-5cd9-4193-ae74-1a621eb8e15b
c66021a0-1670-4aa0-b6e5-56d2ab18eba6
64c610e4-86ea-4bce-81fd-f5e16e73a8da
27d4e5a7-d2b7-464d-8290-ea3369fb6ad1
48b0e5be-d01a-42de-b9d6-3263b01b2c08
313776ab-a0b1-4bf8-af95-b7b886d8ea4b
a365fc1f-baef-442d-ab83-3c43f591c72e
15e03682-d462-49f0-867d-65cf54e0794c
86c012aa-597c-4290-a320-877277386a24
c36f5c75-376f-4f9d-9c6d-dbf55a04dc67
d98c822e-ca36-4cf2-bc59-983687c53346
75fb3310-99f6-42dc-bf50-47aa2bf28df8
6b2bbae5-1d85-4b69-a11f-6b44e6f428ba
cae4ed1b-0c42-4379-9020-47cc4102791f

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: