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)

019cacc9-975d-74bd-a980-67fa03ea8c0c
019cacc9-975d-7694-a21b-5a7dafbc5e5c
019cacc9-975d-780d-a5cf-a6cf99ed4ee4
019cacc9-975d-7965-987d-8d57d4cc7117
019cacc9-975d-7ab9-a6ec-26721aee897c
019cacc9-975d-7c09-bfb1-c970985c62af
019cacc9-975d-7d5d-bf6e-db6df2b2be99
019cacc9-975d-7ead-ab5a-475d49008932
019cacc9-975d-7ffc-bbe7-8ac84dafaf9a
019cacc9-975e-7148-ad4a-49a756609871
019cacc9-975e-7290-a2aa-a6be0c9bb561
019cacc9-975e-73e4-99c4-85a9eae7716f
019cacc9-975e-7530-b57a-6813f908a684
019cacc9-975e-767f-9d0b-99df04f3885c
019cacc9-975e-77cf-8858-cdc9e0ae3c11

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)

1f115ef9-62a1-6f96-8199-4cf95d479851
1f115ef9-62a2-61ee-8199-4cf95d479851
1f115ef9-62a2-637e-8199-4cf95d479851
1f115ef9-62a2-64f0-8199-4cf95d479851
1f115ef9-62a2-6662-8199-4cf95d479851
1f115ef9-62a2-67ca-8199-4cf95d479851
1f115ef9-62a2-6928-8199-4cf95d479851
1f115ef9-62a2-6a90-8199-4cf95d479851
1f115ef9-62a2-6bf8-8199-4cf95d479851
1f115ef9-62a2-6d60-8199-4cf95d479851
1f115ef9-62a2-6f5e-8199-4cf95d479851
1f115ef9-62a3-60d0-8199-4cf95d479851
1f115ef9-62a3-6238-8199-4cf95d479851
1f115ef9-62a3-63aa-8199-4cf95d479851
1f115ef9-62a3-6508-8199-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)

8385dd79-5786-4210-a91e-4be4daae1617
d6714e21-ddad-4a07-bc88-69ab25ff7bd3
8d363758-d853-4015-973f-f7734e194ea9
94deedad-1cfb-4760-ab42-c18cb63051e3
4732a0df-aeb4-4576-9085-da5b1335b4e2
b2b4f4c3-0e78-43c2-abb5-c38945ebb398
70ab5efd-8a4f-488b-bb43-fa246f553159
c280a50a-150b-4efe-81a1-2e8adf7c1d61
e1e07068-4d33-423a-b7e3-06f2a29aec91
b346bfc5-0b95-44e3-947e-8fd224d2acc1
f404399e-5bf5-4e9e-8051-231e16479ed9
14dbef4a-9d18-4387-9809-5d31709f6766
80d8be9e-c904-45c9-9293-e048b315e726
45b23567-ae66-45f9-a82a-2f084a77961f
b0793d21-a13d-4f3f-bcac-22fb66d3cfd3

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)

962a3c2e-15ef-11f1-8199-4cf95d479851
962a3cce-15ef-11f1-8199-4cf95d479851
962a3d6e-15ef-11f1-8199-4cf95d479851
962a3e18-15ef-11f1-8199-4cf95d479851
962a3eb8-15ef-11f1-8199-4cf95d479851
962a3f62-15ef-11f1-8199-4cf95d479851
962a4002-15ef-11f1-8199-4cf95d479851
962a4098-15ef-11f1-8199-4cf95d479851
962a4138-15ef-11f1-8199-4cf95d479851
962a41d8-15ef-11f1-8199-4cf95d479851
962a426e-15ef-11f1-8199-4cf95d479851
962a4318-15ef-11f1-8199-4cf95d479851
962a43b8-15ef-11f1-8199-4cf95d479851
962a4462-15ef-11f1-8199-4cf95d479851
962a4502-15ef-11f1-8199-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)

c62e9726-0801-8d03-87ea-5ce32bd83b97
c9b39826-0801-8d03-87ea-5ce32bd83b97
acba9926-0801-8d03-87ea-5ce32bd83b97
25549a26-0801-8d03-87ea-5ce32bd83b97
32709b26-0801-8d03-87ea-5ce32bd83b97
f5039c26-0801-8d03-87ea-5ce32bd83b97
5b989d26-0801-8d03-87ea-5ce32bd83b97
1bd99e26-0801-8d03-87ea-5ce32bd83b97
025b9f26-0801-8d03-87ea-5ce32bd83b97
c6fca026-0801-8d03-87ea-5ce32bd83b97
b1c1a126-0801-8d03-87ea-5ce32bd83b97
83f9a226-0801-8d03-87ea-5ce32bd83b97
d21fa326-0801-8d03-87ea-5ce32bd83b97
eeaca426-0801-8d03-87ea-5ce32bd83b97
c1b7a526-0801-8d03-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: