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)

019d922f-77e5-766f-9583-0ac2588ecb67
019d922f-77e5-783e-a81a-d1fe8e4dd5bd
019d922f-77e5-79af-8034-cd217769ba6a
019d922f-77e5-7af6-bcaf-66a62e3dc5b1
019d922f-77e5-7c42-ae11-64f6279144e4
019d922f-77e5-7d8e-8e7e-c0be3b9761ca
019d922f-77e5-7ed5-9e26-e6d291e7573c
019d922f-77e6-701d-b715-696ea428d25a
019d922f-77e6-7165-aae8-87c555501d64
019d922f-77e6-72a8-a0bc-a8544093443c
019d922f-77e6-73e4-a39d-ae9f8cbfff30
019d922f-77e6-752c-a99f-5d5f3fb965d8
019d922f-77e6-766f-aebc-d64566627af2
019d922f-77e6-77b3-a803-5d47b3504507
019d922f-77e6-78f6-9a27-7c11bd3b6098

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)

1f138f07-1bce-62e6-9292-4cf95d479851
1f138f07-1bce-6566-9292-4cf95d479851
1f138f07-1bce-66f6-9292-4cf95d479851
1f138f07-1bce-6868-9292-4cf95d479851
1f138f07-1bce-69da-9292-4cf95d479851
1f138f07-1bce-6b42-9292-4cf95d479851
1f138f07-1bce-6caa-9292-4cf95d479851
1f138f07-1bce-6e08-9292-4cf95d479851
1f138f07-1bce-6f70-9292-4cf95d479851
1f138f07-1bcf-60ce-9292-4cf95d479851
1f138f07-1bcf-631c-9292-4cf95d479851
1f138f07-1bcf-6484-9292-4cf95d479851
1f138f07-1bcf-65d8-9292-4cf95d479851
1f138f07-1bcf-6736-9292-4cf95d479851
1f138f07-1bcf-6880-9292-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)

154d3cbe-249d-4e3d-937d-36bce26720bf
c7096b6b-3b92-4f9c-b5d7-2b182f664707
485d631b-f9bc-43d9-ad85-202200a31779
b83d0bca-918a-4d49-bae4-7c8a565dacdb
ab034f4e-bc12-4915-b959-87d3f7b5b019
54055772-0b8d-4deb-8c14-58bea0f8a86d
caf394b6-0a30-4e75-940a-0b3df1c43a07
15888fe4-1611-46a8-87c6-f9c478856cfc
88819c4a-814f-4ec0-9f2f-cdf19b474ba0
b78f8d8c-afbc-459c-96d8-b662cd39feb7
51d0ae65-1e8e-4621-b0d0-ea7d08b7280b
0fb197eb-54c2-4f09-8871-2335b38049c2
2a9fefc6-aaf1-48e9-b740-dc185e338d45
f6e0499b-3d8c-4647-a2fa-8e8f4cf5cca6
5275edfd-dc2b-46c8-9b80-9340c4ddcff6

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)

71bd001e-38f0-11f1-9292-4cf95d479851
71bd00c8-38f0-11f1-9292-4cf95d479851
71bd017c-38f0-11f1-9292-4cf95d479851
71bd0212-38f0-11f1-9292-4cf95d479851
71bd02a8-38f0-11f1-9292-4cf95d479851
71bd0348-38f0-11f1-9292-4cf95d479851
71bd03f2-38f0-11f1-9292-4cf95d479851
71bd049c-38f0-11f1-9292-4cf95d479851
71bd053c-38f0-11f1-9292-4cf95d479851
71bd05dc-38f0-11f1-9292-4cf95d479851
71bd067c-38f0-11f1-9292-4cf95d479851
71bd071c-38f0-11f1-9292-4cf95d479851
71bd07a8-38f0-11f1-9292-4cf95d479851
71bd0848-38f0-11f1-9292-4cf95d479851
71bd08de-38f0-11f1-9292-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)

c0f6ab39-1804-8906-87ea-5ce32bd83b97
3a10ac39-1804-8906-87ea-5ce32bd83b97
9368ad39-1804-8906-87ea-5ce32bd83b97
2cafaf39-1804-8906-87ea-5ce32bd83b97
ac9bb039-1804-8906-87ea-5ce32bd83b97
a750b139-1804-8906-87ea-5ce32bd83b97
a985b239-1804-8906-87ea-5ce32bd83b97
e3a3b339-1804-8906-87ea-5ce32bd83b97
4953b439-1804-8906-87ea-5ce32bd83b97
54d1b539-1804-8906-87ea-5ce32bd83b97
4039b639-1804-8906-87ea-5ce32bd83b97
527ab739-1804-8906-87ea-5ce32bd83b97
1723b839-1804-8906-87ea-5ce32bd83b97
60b5b939-1804-8906-87ea-5ce32bd83b97
d150ba39-1804-8906-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: