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)

01a0c4f1-2185-71e0-b69b-1bf8abef886c
01a0c4f1-2186-7442-92b0-f0104b5b8706
01a0c4f1-2186-75bf-86f2-d0d11e49bbdf
01a0c4f1-2186-770b-ba09-c814b138e037
01a0c4f1-2186-784a-a0ee-acacfaa476d3
01a0c4f1-2186-7986-84b1-f357718cdd4e
01a0c4f1-2186-7ac5-a33d-5f06ba062687
01a0c4f1-2186-7c15-9a45-9f512accc3ba
01a0c4f1-2186-7d6d-a227-9526afc14777
01a0c4f1-2186-7ead-93bd-8ff6cf618713
01a0c4f1-2186-7005-b98b-aa9b5ee1618d
01a0c4f1-2187-7140-a7e8-603c888d252a
01a0c4f1-2187-725b-99ea-ee59ba28f1bd
01a0c4f1-2187-7392-8f7e-845716502d8f
01a0c4f1-2187-74ea-ade6-94126f4c92fd

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)

1f1b5df1-eaef-6d66-8b08-4cf95d479851
1f1b5df1-eaf0-6022-8b08-4cf95d479851
1f1b5df1-eaf0-61da-8b08-4cf95d479851
1f1b5df1-eaf0-63f6-8b08-4cf95d479851
1f1b5df1-eaf0-659a-8b08-4cf95d479851
1f1b5df1-eaf0-6716-8b08-4cf95d479851
1f1b5df1-eaf0-6892-8b08-4cf95d479851
1f1b5df1-eaf0-6a22-8b08-4cf95d479851
1f1b5df1-eaf0-6b80-8b08-4cf95d479851
1f1b5df1-eaf0-6c7a-8b08-4cf95d479851
1f1b5df1-eaf0-6eaa-8b08-4cf95d479851
1f1b5df1-eaf1-603a-8b08-4cf95d479851
1f1b5df1-eaf1-6198-8b08-4cf95d479851
1f1b5df1-eaf1-6288-8b08-4cf95d479851
1f1b5df1-eaf1-6350-8b08-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)

1eaf1436-b5df-11f1-8b08-4cf95d479851
1eaf14ae-b5df-11f1-8b08-4cf95d479851
1eaf1512-b5df-11f1-8b08-4cf95d479851
1eaf158a-b5df-11f1-8b08-4cf95d479851
1eaf15ee-b5df-11f1-8b08-4cf95d479851
1eaf1652-b5df-11f1-8b08-4cf95d479851
1eaf16c0-b5df-11f1-8b08-4cf95d479851
1eaf172e-b5df-11f1-8b08-4cf95d479851
1eaf179c-b5df-11f1-8b08-4cf95d479851
1eaf180a-b5df-11f1-8b08-4cf95d479851
1eaf186e-b5df-11f1-8b08-4cf95d479851
1eaf18dc-b5df-11f1-8b08-4cf95d479851
1eaf1940-b5df-11f1-8b08-4cf95d479851
1eaf19a4-b5df-11f1-8b08-4cf95d479851
1eaf1a08-b5df-11f1-8b08-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)

df373b34-0504-8810-87ea-5ce32bd83b97
04783c34-0504-8810-87ea-5ce32bd83b97
58ba3d34-0504-8810-87ea-5ce32bd83b97
8c033e34-0504-8810-87ea-5ce32bd83b97
fa933f34-0504-8810-87ea-5ce32bd83b97
eff14034-0504-8810-87ea-5ce32bd83b97
23534134-0504-8810-87ea-5ce32bd83b97
df974334-0504-8810-87ea-5ce32bd83b97
8c914434-0504-8810-87ea-5ce32bd83b97
0efa4534-0504-8810-87ea-5ce32bd83b97
724e4634-0504-8810-87ea-5ce32bd83b97
9a394734-0504-8810-87ea-5ce32bd83b97
dd0c4834-0504-8810-87ea-5ce32bd83b97
66fa4934-0504-8810-87ea-5ce32bd83b97
91a64a34-0504-8810-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)

6e262e8f-02ad-413b-b7b6-efb8aa14008a
cefe391f-cb19-4fa5-9959-3ffe7a554d70
5fb0686f-a5ad-412e-8644-e3fd21e958f6
720574cd-6027-4611-9e9b-953371be40b3
61334228-71a3-4073-acad-8d9318443afd
0a2af587-3e89-417a-98ce-f8d543d50aa7
f21723b4-acfb-4dbd-9ffc-7e34bebc022c
f6a1e976-1e45-4bff-9ce1-ab85a702b26d
e8607c65-0d79-4745-a087-e5cec3442e24
a205c79e-c4e1-4141-b0ab-dd9e2e6da254
1e94a506-73ec-4283-abef-cd7861753016
b4822cfd-8f26-42bf-9535-72d56846a545
098049a9-233d-4dc8-b6cb-f02ab58d8eee
a11d0bbc-1dfc-437e-b8c3-4819a5b4ba95
a3d1b920-b9f6-44dd-a438-171f9ef93496

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: