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)

019deb9f-28fc-7d82-ae2b-55f4e532f2e0
019deb9f-28fc-7f0f-bec0-fb8c6f0ed3c5
019deb9f-28fd-704e-b443-f59db1e2faf6
019deb9f-28fd-7171-b819-85c49ec6a54e
019deb9f-28fd-7290-ad2e-93ccca881baf
019deb9f-28fd-73aa-b862-e038802a3327
019deb9f-28fd-74c9-9a13-26c0359f24b9
019deb9f-28fd-75e4-ad3a-62f61e192a61
019deb9f-28fd-7703-80f7-ce92a8c40eb4
019deb9f-28fd-7890-858d-5e2ccf27301c
019deb9f-28fd-7a0d-a29b-d28e82e7d624
019deb9f-28fd-7b5d-b6c6-6cb91c622be1
019deb9f-28fd-7c9c-bc11-d5f4c62ba717
019deb9f-28fd-7de8-8e5c-297a45a9ad31
019deb9f-28fd-7f48-88f8-914214bcb829

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)

1f146960-cb28-646a-a243-4cf95d479851
1f146960-cb28-6604-a243-4cf95d479851
1f146960-cb28-66ea-a243-4cf95d479851
1f146960-cb28-67b2-a243-4cf95d479851
1f146960-cb28-687a-a243-4cf95d479851
1f146960-cb28-6938-a243-4cf95d479851
1f146960-cb28-69f6-a243-4cf95d479851
1f146960-cb28-6ab4-a243-4cf95d479851
1f146960-cb28-6b72-a243-4cf95d479851
1f146960-cb28-6c3a-a243-4cf95d479851
1f146960-cb28-6d84-a243-4cf95d479851
1f146960-cb28-6e4c-a243-4cf95d479851
1f146960-cb28-6f00-a243-4cf95d479851
1f146960-cb29-605e-a243-4cf95d479851
1f146960-cb29-61b2-a243-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)

fc83b949-90cb-4515-90b9-7968e0d2a31c
2087c1ba-99a3-4abb-9cd4-30711f9cedfe
115fabc9-f16c-465c-bc76-f91eb46988eb
5f406c2c-eff0-40a9-b3d2-7da24f317d6d
90088381-ab2d-426a-9a78-68a1762fa9fc
3f4fcb8d-06d5-405a-93ce-16e66ffd19f8
076b7d4d-0c10-4088-9e2a-e301ee94d3f6
904aac0f-16b0-4bbc-9724-0d341828358e
7de2d934-2169-4c96-b69e-80a575cf4b0a
94d0bd20-7937-483a-a526-cda224cab82e
56bfc364-1bbc-405b-a4ab-664cf4abc9dc
c9973c91-96f3-4371-a2fa-6c636e30ddb8
e7f005ff-486b-4719-88f8-f6481da3bf2a
029a817b-23d3-4d6d-8e94-87883b13c465
90dd08fe-c657-45db-a4d1-f2e464354227

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)

0cb2977a-4696-11f1-a243-4cf95d479851
0cb297e8-4696-11f1-a243-4cf95d479851
0cb29842-4696-11f1-a243-4cf95d479851
0cb298a6-4696-11f1-a243-4cf95d479851
0cb29900-4696-11f1-a243-4cf95d479851
0cb2996e-4696-11f1-a243-4cf95d479851
0cb299dc-4696-11f1-a243-4cf95d479851
0cb29a40-4696-11f1-a243-4cf95d479851
0cb29aa4-4696-11f1-a243-4cf95d479851
0cb29b08-4696-11f1-a243-4cf95d479851
0cb29b6c-4696-11f1-a243-4cf95d479851
0cb29bd0-4696-11f1-a243-4cf95d479851
0cb29c34-4696-11f1-a243-4cf95d479851
0cb29c98-4696-11f1-a243-4cf95d479851
0cb29cf2-4696-11f1-a243-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)

9bf7b909-8900-8b07-87ea-5ce32bd83b97
7d90ba09-8900-8b07-87ea-5ce32bd83b97
8aa4bb09-8900-8b07-87ea-5ce32bd83b97
873ebd09-8900-8b07-87ea-5ce32bd83b97
72a7be09-8900-8b07-87ea-5ce32bd83b97
2d9abf09-8900-8b07-87ea-5ce32bd83b97
f35bc009-8900-8b07-87ea-5ce32bd83b97
2a55c109-8900-8b07-87ea-5ce32bd83b97
d4e9c209-8900-8b07-87ea-5ce32bd83b97
7cf3c309-8900-8b07-87ea-5ce32bd83b97
57c6c409-8900-8b07-87ea-5ce32bd83b97
63fcc509-8900-8b07-87ea-5ce32bd83b97
f521c609-8900-8b07-87ea-5ce32bd83b97
8bd1c709-8900-8b07-87ea-5ce32bd83b97
8f4bc809-8900-8b07-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: