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)

01a23972-12df-7e3e-8e1b-9fc7288029ad
01a23972-12e0-703e-9d44-2e3aac4e60a8
01a23972-12e0-7196-8b94-6b1f72a01a26
01a23972-12e0-72c5-9a9c-2c687ccf171b
01a23972-12e0-73f0-97e2-6b33b687d7c0
01a23972-12e0-7503-941d-d08ad2b5d168
01a23972-12e0-7619-ba76-f09abd119e2a
01a23972-12e0-7730-9c51-b2a8d48b1dc4
01a23972-12e0-7842-b60b-42fb2945ae92
01a23972-12e0-7959-a0b6-10b116834858
01a23972-12e0-7a6b-b38a-ead1e0f3242a
01a23972-12e0-7b82-a78b-2e43047d235e
01a23972-12e0-7c94-ae3e-c31fb2dbc743
01a23972-12e0-7daa-acfd-10ff73c5b08d
01a23972-12e0-7ee2-8527-400dfec76597

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)

1f1eeb60-b82b-6696-972f-4cf95d479851
1f1eeb60-b82b-6858-972f-4cf95d479851
1f1eeb60-b82b-6948-972f-4cf95d479851
1f1eeb60-b82b-6a1a-972f-4cf95d479851
1f1eeb60-b82b-6aec-972f-4cf95d479851
1f1eeb60-b82b-6bb4-972f-4cf95d479851
1f1eeb60-b82b-6c7c-972f-4cf95d479851
1f1eeb60-b82b-6d44-972f-4cf95d479851
1f1eeb60-b82b-6e84-972f-4cf95d479851
1f1eeb60-b82b-6f6a-972f-4cf95d479851
1f1eeb60-b82c-60d2-972f-4cf95d479851
1f1eeb60-b82c-61ae-972f-4cf95d479851
1f1eeb60-b82c-6276-972f-4cf95d479851
1f1eeb60-b82c-633e-972f-4cf95d479851
1f1eeb60-b82c-6406-972f-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)

0b82c4e2-eeb6-11f1-972f-4cf95d479851
0b82c550-eeb6-11f1-972f-4cf95d479851
0b82c5aa-eeb6-11f1-972f-4cf95d479851
0b82c60e-eeb6-11f1-972f-4cf95d479851
0b82c668-eeb6-11f1-972f-4cf95d479851
0b82c6cc-eeb6-11f1-972f-4cf95d479851
0b82c73a-eeb6-11f1-972f-4cf95d479851
0b82c7b2-eeb6-11f1-972f-4cf95d479851
0b82c816-eeb6-11f1-972f-4cf95d479851
0b82c87a-eeb6-11f1-972f-4cf95d479851
0b82c8d4-eeb6-11f1-972f-4cf95d479851
0b82c938-eeb6-11f1-972f-4cf95d479851
0b82c992-eeb6-11f1-972f-4cf95d479851
0b82c9f6-eeb6-11f1-972f-4cf95d479851
0b82ca5a-eeb6-11f1-972f-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)

3df0f91a-4500-8115-87ea-5ce32bd83b97
e0cefa1a-4500-8115-87ea-5ce32bd83b97
e223fb1a-4500-8115-87ea-5ce32bd83b97
268dfc1a-4500-8115-87ea-5ce32bd83b97
6b28fe1a-4500-8115-87ea-5ce32bd83b97
55bfff1a-4500-8115-87ea-5ce32bd83b97
d218011b-4500-8115-87ea-5ce32bd83b97
0825021b-4500-8115-87ea-5ce32bd83b97
8c6d031b-4500-8115-87ea-5ce32bd83b97
3ecf041b-4500-8115-87ea-5ce32bd83b97
7fe8051b-4500-8115-87ea-5ce32bd83b97
d1cf061b-4500-8115-87ea-5ce32bd83b97
17ed071b-4500-8115-87ea-5ce32bd83b97
2a77081b-4500-8115-87ea-5ce32bd83b97
abf4091b-4500-8115-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)

bcb5b79b-51ae-4705-92c1-d961fadde35c
420a05bf-93ff-4df1-ac7f-f3c107b87011
7bffecc1-5d46-4e2f-966b-c7e601f78c93
de106a6c-a18f-479a-9aaa-d48bf9c95c4e
da5b4819-f572-4774-875c-b26010e6ad45
4b9a835f-5df0-44cf-9583-6c6eeab8017b
82ff3688-db1b-457a-9f67-8dff6cea60f0
b0eb1988-7a0d-42a0-a212-669c69a0242b
b2de01a0-e44d-4e80-96ce-a88151920601
162d95e0-e483-48d6-9e55-b8ead847546d
70f2a861-a6c5-4342-9ed8-9bf5f1abbc8c
1a8ac3f6-e24c-447d-982e-2e1c6254cd7d
104b4951-6492-45b4-9983-0c8b11ecf14a
cbb0e928-bcf5-45e1-bd56-06e648380770
f2b61a17-c1c4-47a8-95c4-31e900480d6b

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: