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)

019c9dfa-63bd-7205-a2f8-8e1882d00376
019c9dfa-63bd-73bf-b5ea-e475366273c9
019c9dfa-63bd-7503-a8d7-e580468d68da
019c9dfa-63bd-7621-b281-391573d251dc
019c9dfa-63bd-773c-af6c-874b1605f90e
019c9dfa-63bd-7857-9e6b-c40334dcaa80
019c9dfa-63bd-796d-b738-5ceb7dae27de
019c9dfa-63bd-7a84-85fc-8be3bc0555a3
019c9dfa-63bd-7bdc-9b25-1208818a3c5d
019c9dfa-63bd-7cfa-bd7e-b0ac7ef25d73
019c9dfa-63bd-7e11-ac00-f5e60694cf0d
019c9dfa-63bd-7f27-a128-53d4684c6a8b
019c9dfa-63be-703e-90e8-5a495b71da63
019c9dfa-63be-7159-b4bc-96b0af1ed470
019c9dfa-63be-7273-ab86-9e0d099b4e9a

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)

1f113ad1-8597-69d4-82cb-4cf95d479851
1f113ad1-8597-6b8c-82cb-4cf95d479851
1f113ad1-8597-6c72-82cb-4cf95d479851
1f113ad1-8597-6d44-82cb-4cf95d479851
1f113ad1-8597-6e02-82cb-4cf95d479851
1f113ad1-8597-6eca-82cb-4cf95d479851
1f113ad1-8597-6f88-82cb-4cf95d479851
1f113ad1-8598-6046-82cb-4cf95d479851
1f113ad1-8598-6118-82cb-4cf95d479851
1f113ad1-8598-61e0-82cb-4cf95d479851
1f113ad1-8598-632a-82cb-4cf95d479851
1f113ad1-8598-63fc-82cb-4cf95d479851
1f113ad1-8598-64ba-82cb-4cf95d479851
1f113ad1-8598-6582-82cb-4cf95d479851
1f113ad1-8598-6640-82cb-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)

3a8f030d-08e0-470b-8924-e9b2e0c741f4
f5125729-0c0b-49a0-88ab-0b3b4e04374c
a4bae985-f450-458a-ab4c-790463c72c35
c93e7522-f715-47a6-98ef-5bc47f43f11f
99001933-da77-4742-b4db-7c6f067a2f07
8ef5e302-4098-49a2-807c-ada069c73406
c66eca6d-3059-4b8a-a9dd-4b03d7ae43e9
b13f8aae-ea8a-4aeb-9c3d-189a18ad986b
fc64c836-000f-4cec-a181-66c9992296af
b2e00868-dd4e-49b9-b8cf-e295a5480756
96aca87b-11f6-4df9-8a60-5f1b377b0f48
869e5ba9-96d9-4a07-b83f-061392b0df31
450d59fb-974e-41db-9057-0bf73a8ca1ee
8a93bd22-1fb0-43a9-8dbe-4f5ff0e06d28
11af603b-44c0-4bbd-966d-930f20c881e9

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)

18598b54-13ad-11f1-82cb-4cf95d479851
18598bb8-13ad-11f1-82cb-4cf95d479851
18598c1c-13ad-11f1-82cb-4cf95d479851
18598c80-13ad-11f1-82cb-4cf95d479851
18598ce4-13ad-11f1-82cb-4cf95d479851
18598d48-13ad-11f1-82cb-4cf95d479851
18598da2-13ad-11f1-82cb-4cf95d479851
18598dfc-13ad-11f1-82cb-4cf95d479851
18598e60-13ad-11f1-82cb-4cf95d479851
18598ec4-13ad-11f1-82cb-4cf95d479851
18598f1e-13ad-11f1-82cb-4cf95d479851
18598f78-13ad-11f1-82cb-4cf95d479851
18598fdc-13ad-11f1-82cb-4cf95d479851
18599036-13ad-11f1-82cb-4cf95d479851
18599090-13ad-11f1-82cb-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)

b97c6626-bb01-8a03-87ea-5ce32bd83b97
88386726-bb01-8a03-87ea-5ce32bd83b97
dc166826-bb01-8a03-87ea-5ce32bd83b97
446a6926-bb01-8a03-87ea-5ce32bd83b97
09196a26-bb01-8a03-87ea-5ce32bd83b97
74506b26-bb01-8a03-87ea-5ce32bd83b97
736d6c26-bb01-8a03-87ea-5ce32bd83b97
15586d26-bb01-8a03-87ea-5ce32bd83b97
8c256e26-bb01-8a03-87ea-5ce32bd83b97
82fc6f26-bb01-8a03-87ea-5ce32bd83b97
641a7026-bb01-8a03-87ea-5ce32bd83b97
98e37126-bb01-8a03-87ea-5ce32bd83b97
6d8b7226-bb01-8a03-87ea-5ce32bd83b97
24b17326-bb01-8a03-87ea-5ce32bd83b97
a5067426-bb01-8a03-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: