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)

019a0a13-c5ba-7e5b-bfe4-7255081461e9
019a0a13-c5ba-7ff8-980e-8ef587aecbe4
019a0a13-c5bb-7138-9b4b-3a9a57102e34
019a0a13-c5bb-725b-a608-bdf7a9d79b71
019a0a13-c5bb-7371-a674-164897e5df64
019a0a13-c5bb-748c-9c02-04619b315bb4
019a0a13-c5bb-75a2-94aa-4f72b48f2cea
019a0a13-c5bb-76b9-8609-716e7b6ca0a3
019a0a13-c5bb-77dc-9061-5fc4666005b6
019a0a13-c5bb-7930-8a35-9e01b8dde7f4
019a0a13-c5bb-7a90-9211-f0326de1e87c
019a0a13-c5bb-7be8-b11f-70cc64f6f30b
019a0a13-c5bb-7d48-8d00-aa6884029852
019a0a13-c5bb-7eb1-9467-8e95ccc16e99
019a0a13-c5bb-7011-af5a-4b5894f18792

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)

1f0aefbb-7dd4-651a-b7e8-4cf95d479851
1f0aefbb-7dd4-67e0-b7e8-4cf95d479851
1f0aefbb-7dd4-698e-b7e8-4cf95d479851
1f0aefbb-7dd4-6b28-b7e8-4cf95d479851
1f0aefbb-7dd4-6c9a-b7e8-4cf95d479851
1f0aefbb-7dd4-6e2a-b7e8-4cf95d479851
1f0aefbb-7dd4-6fb0-b7e8-4cf95d479851
1f0aefbb-7dd5-612c-b7e8-4cf95d479851
1f0aefbb-7dd5-629e-b7e8-4cf95d479851
1f0aefbb-7dd5-641a-b7e8-4cf95d479851
1f0aefbb-7dd5-6672-b7e8-4cf95d479851
1f0aefbb-7dd5-67ee-b7e8-4cf95d479851
1f0aefbb-7dd5-6b0e-b7e8-4cf95d479851
1f0aefbb-7dd5-6c8a-b7e8-4cf95d479851
1f0aefbb-7dd5-6e10-b7e8-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)

ecfea950-6a96-462e-8abc-82b7b343fc6c
30c9dd95-92df-43f5-90ff-d427db40456c
b292a77f-d766-4dd7-a9ff-b61ad6a73a9f
1fd9ace1-b576-42d3-aad3-6e08e3c00f47
78725820-3452-44f2-86d5-459deae7c85d
daeef96e-2926-470a-be7f-1ef4006f8332
6e162ab0-0e25-4df3-9b93-c9f8a65e7d30
0dfcf335-0b96-4a60-a42d-669463fa758b
116c8de4-4203-4f5e-b7ff-ef64a1a25456
9a3a0736-2b16-4b64-a7f5-f1406c405167
563ed256-e9bb-4cab-8030-e23799df48b8
77ec14fd-054e-4d1f-9627-1d0e7106131b
34cfe1d7-6acf-46fc-8bed-c8db9cc02b5b
6312c0a9-7ce6-4ae0-93f2-2ce7e8258961
f79cbc86-f3f6-4bb3-a282-d70a43674188

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)

b7dd65b8-aefb-11f0-b7e8-4cf95d479851
b7dd666c-aefb-11f0-b7e8-4cf95d479851
b7dd670c-aefb-11f0-b7e8-4cf95d479851
b7dd67b6-aefb-11f0-b7e8-4cf95d479851
b7dd684c-aefb-11f0-b7e8-4cf95d479851
b7dd68e2-aefb-11f0-b7e8-4cf95d479851
b7dd698c-aefb-11f0-b7e8-4cf95d479851
b7dd6a4a-aefb-11f0-b7e8-4cf95d479851
b7dd6aea-aefb-11f0-b7e8-4cf95d479851
b7dd6b94-aefb-11f0-b7e8-4cf95d479851
b7dd6c66-aefb-11f0-b7e8-4cf95d479851
b7dd6d1a-aefb-11f0-b7e8-4cf95d479851
b7dd6dce-aefb-11f0-b7e8-4cf95d479851
b7dd6e6e-aefb-11f0-b7e8-4cf95d479851
b7dd6f18-aefb-11f0-b7e8-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)

5124533b-f100-8712-87e9-5ce32bd83b97
fc96543b-f100-8712-87e9-5ce32bd83b97
a588553b-f100-8712-87e9-5ce32bd83b97
6132563b-f100-8712-87e9-5ce32bd83b97
28ce573b-f100-8712-87e9-5ce32bd83b97
8079583b-f100-8712-87e9-5ce32bd83b97
73c8593b-f100-8712-87e9-5ce32bd83b97
ab5c5a3b-f100-8712-87e9-5ce32bd83b97
b82f5b3b-f100-8712-87e9-5ce32bd83b97
453d5c3b-f100-8712-87e9-5ce32bd83b97
8fa75d3b-f100-8712-87e9-5ce32bd83b97
27fd5e3b-f100-8712-87e9-5ce32bd83b97
aa655f3b-f100-8712-87e9-5ce32bd83b97
3921603b-f100-8712-87e9-5ce32bd83b97
b31d623b-f100-8712-87e9-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

An 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

An UUIDv3 is made out of a MD5 hash and an 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: