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)

01a240d9-2e7b-7f1b-a419-900666843011
01a240d9-2e7c-70c5-b901-177f2c9c2b31
01a240d9-2e7c-7209-9aaf-6fc2bc42a758
01a240d9-2e7c-7323-baa8-55b6d555ba89
01a240d9-2e7c-743a-ae19-a4ffe7dbdf20
01a240d9-2e7c-75b3-9e43-6a53107b6408
01a240d9-2e7c-76fe-83f6-fb47e8627fd9
01a240d9-2e7c-781d-bd6e-4b5da5ccd3ac
01a240d9-2e7c-7934-871a-9d73e6fe7abb
01a240d9-2e7c-7a5b-a5a3-5bfb8e446174
01a240d9-2e7c-7b79-9d80-7f592af9f66c
01a240d9-2e7c-7c90-8a12-6a6cd3e18bc5
01a240d9-2e7c-7da2-8440-88d39bca44e4
01a240d9-2e7c-7eb9-a689-e005ffe5f155
01a240d9-2e7c-7fdc-8ff5-16f71b31fd6a

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)

1f1efd73-7293-6776-8d7d-4cf95d479851
1f1efd73-7293-6974-8d7d-4cf95d479851
1f1efd73-7293-6a64-8d7d-4cf95d479851
1f1efd73-7293-6b36-8d7d-4cf95d479851
1f1efd73-7293-6c8a-8d7d-4cf95d479851
1f1efd73-7293-6d7a-8d7d-4cf95d479851
1f1efd73-7293-6e42-8d7d-4cf95d479851
1f1efd73-7293-6f0a-8d7d-4cf95d479851
1f1efd73-7293-6fd2-8d7d-4cf95d479851
1f1efd73-7294-609a-8d7d-4cf95d479851
1f1efd73-7294-61da-8d7d-4cf95d479851
1f1efd73-7294-62a2-8d7d-4cf95d479851
1f1efd73-7294-636a-8d7d-4cf95d479851
1f1efd73-7294-6432-8d7d-4cf95d479851
1f1efd73-7294-64f0-8d7d-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)

372945cc-efd7-11f1-8d7d-4cf95d479851
37294630-efd7-11f1-8d7d-4cf95d479851
37294694-efd7-11f1-8d7d-4cf95d479851
37294702-efd7-11f1-8d7d-4cf95d479851
37294770-efd7-11f1-8d7d-4cf95d479851
372947d4-efd7-11f1-8d7d-4cf95d479851
37294838-efd7-11f1-8d7d-4cf95d479851
3729489c-efd7-11f1-8d7d-4cf95d479851
3729490a-efd7-11f1-8d7d-4cf95d479851
3729496e-efd7-11f1-8d7d-4cf95d479851
372949d2-efd7-11f1-8d7d-4cf95d479851
37294a40-efd7-11f1-8d7d-4cf95d479851
37294aa4-efd7-11f1-8d7d-4cf95d479851
37294b08-efd7-11f1-8d7d-4cf95d479851
37294b6c-efd7-11f1-8d7d-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)

10cfc318-bb02-8215-87ea-5ce32bd83b97
11afc418-bb02-8215-87ea-5ce32bd83b97
8914c518-bb02-8215-87ea-5ce32bd83b97
ccd6c718-bb02-8215-87ea-5ce32bd83b97
f2b6c818-bb02-8215-87ea-5ce32bd83b97
0e3cc918-bb02-8215-87ea-5ce32bd83b97
b173ca18-bb02-8215-87ea-5ce32bd83b97
e05bcb18-bb02-8215-87ea-5ce32bd83b97
6bf4cc18-bb02-8215-87ea-5ce32bd83b97
1929cd18-bb02-8215-87ea-5ce32bd83b97
bb89ce18-bb02-8215-87ea-5ce32bd83b97
5b4ecf18-bb02-8215-87ea-5ce32bd83b97
fce2d018-bb02-8215-87ea-5ce32bd83b97
ea65d118-bb02-8215-87ea-5ce32bd83b97
cc22d218-bb02-8215-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)

e970c0a8-301c-4a95-822a-877175c89cdd
7566cab2-69b8-4684-86a2-5e91e5939f33
17d1e8ef-9daf-4b39-bb96-9957aca19e91
682b3d74-cf0c-4afe-9b62-6e1db04e0b04
2182b2a7-263a-4045-9bf5-4cbb676580e4
7abf958c-90e9-4638-a449-9fd599732aea
1b029bdb-761b-4800-8d8b-dee48bbce34e
67837a6f-fe3e-47fc-89f4-be3200b54211
bdbab7eb-ef1e-47f7-abcd-8a3652d52a8d
938f42de-7e8f-43ff-b5de-b732d2683e6f
d564f8a1-0ef0-4a56-9089-2dc08a630289
002160be-cddb-4017-8ec7-b8d4ea6a31eb
c96293ed-0bf4-4e88-8f0d-2965fed67eca
58aef544-8928-4cf6-a205-f028a46d0984
b9baae77-fedc-4b36-84f8-e6e3ccacd502

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: