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)

01a225c6-6401-7d96-b9f6-a8fa626d0b57
01a225c6-6402-7036-bf04-99ec4730ba03
01a225c6-6402-71aa-8364-e2319a697eba
01a225c6-6402-72e6-ae6f-b47caf766101
01a225c6-6402-7415-99ec-505633ed0366
01a225c6-6402-7548-b3e1-a2fe6136a233
01a225c6-6402-7677-8ba7-1aef59bb21b2
01a225c6-6402-77a6-b79b-54218d7f8279
01a225c6-6402-78d5-ae24-e957722c594a
01a225c6-6402-7a05-8207-d6c6f20003c2
01a225c6-6402-7b50-a763-a74dfab4efa8
01a225c6-6402-7c94-8008-9ec1be519b30
01a225c6-6402-7dcf-8761-61b8c70c1278
01a225c6-6402-7f0b-bd0a-3830de337e6e
01a225c6-6403-704a-818a-e02e463fa2c3

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)

1f1ebb5a-923f-6de6-b46c-4cf95d479851
1f1ebb5a-9240-60fc-b46c-4cf95d479851
1f1ebb5a-9240-628c-b46c-4cf95d479851
1f1ebb5a-9240-6426-b46c-4cf95d479851
1f1ebb5a-9240-65ac-b46c-4cf95d479851
1f1ebb5a-9240-671e-b46c-4cf95d479851
1f1ebb5a-9240-6890-b46c-4cf95d479851
1f1ebb5a-9240-6a0c-b46c-4cf95d479851
1f1ebb5a-9240-6b74-b46c-4cf95d479851
1f1ebb5a-9240-6cfa-b46c-4cf95d479851
1f1ebb5a-9240-6f34-b46c-4cf95d479851
1f1ebb5a-9241-6092-b46c-4cf95d479851
1f1ebb5a-9241-6204-b46c-4cf95d479851
1f1ebb5a-9241-6380-b46c-4cf95d479851
1f1ebb5a-9241-64f2-b46c-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)

a924166e-ebb5-11f1-b46c-4cf95d479851
a9241718-ebb5-11f1-b46c-4cf95d479851
a92417c2-ebb5-11f1-b46c-4cf95d479851
a9241858-ebb5-11f1-b46c-4cf95d479851
a92418f8-ebb5-11f1-b46c-4cf95d479851
a924198e-ebb5-11f1-b46c-4cf95d479851
a9241a24-ebb5-11f1-b46c-4cf95d479851
a9241ab0-ebb5-11f1-b46c-4cf95d479851
a9241b3c-ebb5-11f1-b46c-4cf95d479851
a9241bbe-ebb5-11f1-b46c-4cf95d479851
a9241c40-ebb5-11f1-b46c-4cf95d479851
a9241cc2-ebb5-11f1-b46c-4cf95d479851
a9241d58-ebb5-11f1-b46c-4cf95d479851
a9241de4-ebb5-11f1-b46c-4cf95d479851
a9241e7a-ebb5-11f1-b46c-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)

f4277308-4901-8d14-87ea-5ce32bd83b97
eaca7408-4901-8d14-87ea-5ce32bd83b97
6b607508-4901-8d14-87ea-5ce32bd83b97
fef47608-4901-8d14-87ea-5ce32bd83b97
6a467708-4901-8d14-87ea-5ce32bd83b97
94837808-4901-8d14-87ea-5ce32bd83b97
2aec7a08-4901-8d14-87ea-5ce32bd83b97
fb8d7b08-4901-8d14-87ea-5ce32bd83b97
0d8e7c08-4901-8d14-87ea-5ce32bd83b97
b2377d08-4901-8d14-87ea-5ce32bd83b97
0f287e08-4901-8d14-87ea-5ce32bd83b97
dec47f08-4901-8d14-87ea-5ce32bd83b97
c7878008-4901-8d14-87ea-5ce32bd83b97
7e608108-4901-8d14-87ea-5ce32bd83b97
1b9c8208-4901-8d14-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)

ca0f5fa2-25b0-4046-bfbb-2ef52c19cf14
cf0ace7d-2210-4655-9ecd-f6c84c77371f
a6de0d0b-da2c-4610-ae49-251209f64914
bd32ce49-3fe2-4432-98de-662610bdfdff
086f6e74-f127-4073-b57e-6fb57c81e2c4
7820bb6e-fa94-4a82-a52a-e2f379c56f97
602067ec-4a72-40a9-9a2e-b13c11e172cd
da9dc20e-5389-45ed-b338-d40e61fe9dbf
28fbd434-0c31-4ddb-a288-46e9456d7002
e1b81d24-bf7f-4bcb-99b6-108bc0f6f15b
f240ca4f-1143-413c-bd67-a28d22d191a8
1783810c-cf92-47d6-96eb-ae519f210673
cea594c7-3439-435b-83b4-537c880ecbb8
ff13bbd2-35bf-4ab0-ab27-e4b17f35626c
026ed33a-14db-419a-87cd-4d23a326e6ff

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: