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)

019ca266-a116-780d-893a-f42cc0a6ecc4
019ca266-a116-79fc-a4ce-7d09851d112c
019ca266-a116-7b44-8613-ee6699771227
019ca266-a116-7c67-b9ef-a87e0d3db547
019ca266-a116-7d8a-a732-463516cf0d6d
019ca266-a116-7ea8-b00d-d2deb9662df0
019ca266-a116-7fc3-9eba-98c548e5d6b2
019ca266-a117-70de-aaa1-34e52f26dd84
019ca266-a117-71fc-b7f9-e834a10a819a
019ca266-a117-7317-981e-18e716ec1bd6
019ca266-a117-7436-96b0-e1ad5d65179a
019ca266-a117-7550-813f-6ac633abd756
019ca266-a117-766f-a8e8-497333984499
019ca266-a117-778a-9fa3-62e2d9923638
019ca266-a117-78a4-a3ee-472da8739ca3

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)

1f11459d-c75e-6bc0-aef8-4cf95d479851
1f11459d-c75e-6da0-aef8-4cf95d479851
1f11459d-c75e-6e86-aef8-4cf95d479851
1f11459d-c75e-6f58-aef8-4cf95d479851
1f11459d-c75f-6016-aef8-4cf95d479851
1f11459d-c75f-60ca-aef8-4cf95d479851
1f11459d-c75f-6188-aef8-4cf95d479851
1f11459d-c75f-6246-aef8-4cf95d479851
1f11459d-c75f-6304-aef8-4cf95d479851
1f11459d-c75f-63b8-aef8-4cf95d479851
1f11459d-c75f-6502-aef8-4cf95d479851
1f11459d-c75f-65ca-aef8-4cf95d479851
1f11459d-c75f-667e-aef8-4cf95d479851
1f11459d-c75f-673c-aef8-4cf95d479851
1f11459d-c75f-67fa-aef8-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)

c7f3786f-efad-4e62-8f88-d0435991f433
85d21e8f-1b53-43bd-9891-cf161ac85719
8ca333d3-8263-4f56-99e2-076b9cec3c76
145e60a8-34b6-4720-808a-ccf8c1ad2b63
d9c8c467-c6a8-4677-a2b8-80eea3ea9c73
09ce446b-d43f-459a-9f82-5c36667646a3
56bc7450-6fc9-47b2-b97d-527943d48bf8
cd3f1767-698e-4a77-b364-e814723508e8
490a38fc-1291-4829-bf9f-f062545df57f
71532a7e-c4f7-4bb5-a103-d5dffe460717
4f88b6a4-b3e7-4340-9741-d20e47e7daba
eec5d6d4-a291-4e69-8eb7-a351aca521c7
62090178-da5c-4ef9-92e8-0cbb8fa25de0
d0c71a4c-f1e9-4cb3-8c72-7cceed262a64
d90e607b-76a9-4228-8973-7a728f8d0323

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)

dc75fd18-1459-11f1-aef8-4cf95d479851
dc75fd7c-1459-11f1-aef8-4cf95d479851
dc75fde0-1459-11f1-aef8-4cf95d479851
dc75fe44-1459-11f1-aef8-4cf95d479851
dc75fe9e-1459-11f1-aef8-4cf95d479851
dc75fef8-1459-11f1-aef8-4cf95d479851
dc75ff5c-1459-11f1-aef8-4cf95d479851
dc75ffb6-1459-11f1-aef8-4cf95d479851
dc76001a-1459-11f1-aef8-4cf95d479851
dc760074-1459-11f1-aef8-4cf95d479851
dc7600d8-1459-11f1-aef8-4cf95d479851
dc76013c-1459-11f1-aef8-4cf95d479851
dc7601a0-1459-11f1-aef8-4cf95d479851
dc760204-1459-11f1-aef8-4cf95d479851
dc760268-1459-11f1-aef8-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)

bf79da14-f000-8b03-87ea-5ce32bd83b97
8d37dc14-f000-8b03-87ea-5ce32bd83b97
5b87dd14-f000-8b03-87ea-5ce32bd83b97
8dfade14-f000-8b03-87ea-5ce32bd83b97
c5badf14-f000-8b03-87ea-5ce32bd83b97
f757e014-f000-8b03-87ea-5ce32bd83b97
dd02e114-f000-8b03-87ea-5ce32bd83b97
e722e214-f000-8b03-87ea-5ce32bd83b97
74f8e314-f000-8b03-87ea-5ce32bd83b97
6034e414-f000-8b03-87ea-5ce32bd83b97
fbace514-f000-8b03-87ea-5ce32bd83b97
30f9e614-f000-8b03-87ea-5ce32bd83b97
20c8e714-f000-8b03-87ea-5ce32bd83b97
5b1fe814-f000-8b03-87ea-5ce32bd83b97
5f53e914-f000-8b03-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: