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)

01a1ea84-679b-7727-801d-7042a3913be1
01a1ea84-679b-78cd-b7ac-a16277c389aa
01a1ea84-679b-7a09-b3c2-c69816750929
01a1ea84-679b-7b27-8866-f93598b28fac
01a1ea84-679b-7c42-ad67-bb8407f3d6dd
01a1ea84-679b-7d59-8c21-91f34217acf6
01a1ea84-679b-7e73-8a91-8a9dd7a7ee16
01a1ea84-679b-7fa6-a04d-e06436b1302d
01a1ea84-679c-70c9-b251-1b070801c478
01a1ea84-679c-71e4-b927-c0c9cafda123
01a1ea84-679c-72fe-a75e-9a013214aeea
01a1ea84-679c-7415-b054-2532afc197bd
01a1ea84-679c-752c-9ab2-0a3d8e546d42
01a1ea84-679c-764a-894f-815cc3d255f5
01a1ea84-679c-7782-86a7-992b64eafed5

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)

1f1e2aae-7909-659e-9711-4cf95d479851
1f1e2aae-7909-674c-9711-4cf95d479851
1f1e2aae-7909-683c-9711-4cf95d479851
1f1e2aae-7909-6922-9711-4cf95d479851
1f1e2aae-7909-69ea-9711-4cf95d479851
1f1e2aae-7909-6abc-9711-4cf95d479851
1f1e2aae-7909-6b98-9711-4cf95d479851
1f1e2aae-7909-6c6a-9711-4cf95d479851
1f1e2aae-7909-6d32-9711-4cf95d479851
1f1e2aae-7909-6e04-9711-4cf95d479851
1f1e2aae-7909-6f76-9711-4cf95d479851
1f1e2aae-790a-6052-9711-4cf95d479851
1f1e2aae-790a-612e-9711-4cf95d479851
1f1e2aae-790a-6200-9711-4cf95d479851
1f1e2aae-790a-62c8-9711-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)

e790a3a4-e2aa-11f1-9711-4cf95d479851
e790a412-e2aa-11f1-9711-4cf95d479851
e790a480-e2aa-11f1-9711-4cf95d479851
e790a4ee-e2aa-11f1-9711-4cf95d479851
e790a552-e2aa-11f1-9711-4cf95d479851
e790a5b6-e2aa-11f1-9711-4cf95d479851
e790a624-e2aa-11f1-9711-4cf95d479851
e790a692-e2aa-11f1-9711-4cf95d479851
e790a6f6-e2aa-11f1-9711-4cf95d479851
e790a75a-e2aa-11f1-9711-4cf95d479851
e790a7be-e2aa-11f1-9711-4cf95d479851
e790a82c-e2aa-11f1-9711-4cf95d479851
e790a890-e2aa-11f1-9711-4cf95d479851
e790a8f4-e2aa-11f1-9711-4cf95d479851
e790a96c-e2aa-11f1-9711-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)

f011411c-0f04-8114-87ea-5ce32bd83b97
16df421c-0f04-8114-87ea-5ce32bd83b97
6aac431c-0f04-8114-87ea-5ce32bd83b97
9dae441c-0f04-8114-87ea-5ce32bd83b97
6adf451c-0f04-8114-87ea-5ce32bd83b97
2cb1461c-0f04-8114-87ea-5ce32bd83b97
37cb471c-0f04-8114-87ea-5ce32bd83b97
21e7481c-0f04-8114-87ea-5ce32bd83b97
24ac491c-0f04-8114-87ea-5ce32bd83b97
96744a1c-0f04-8114-87ea-5ce32bd83b97
d5824b1c-0f04-8114-87ea-5ce32bd83b97
ed7a4c1c-0f04-8114-87ea-5ce32bd83b97
59bd4d1c-0f04-8114-87ea-5ce32bd83b97
d86b4e1c-0f04-8114-87ea-5ce32bd83b97
c9734f1c-0f04-8114-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)

dd8bfe5e-c1e6-416e-9d1e-c6b5672fad02
2a1582f7-96dc-41d8-b9a5-8eeb1a902a12
727bd941-5aa9-4faf-a3a4-9b7b09e45e06
8c428dfc-2808-4f26-842c-ef275ac54544
7e8e2304-e787-4562-b8a6-1faeb70f236b
83a59eb1-6b6f-4485-a8c9-7b30bdfd8f09
62b2696c-9045-4161-a03e-b90d18a5a139
d4b9779d-1f52-4d3f-a155-eea1472b2b54
8e2146ff-aea3-4802-883d-59088444d9c1
7bbfa6f8-a5e0-45ed-af89-a4dc81ccfd73
9cf0ae2c-d3b9-4a24-9da4-1674f299558d
88aeae50-4b15-4f0f-98c6-2c3c84ae226f
5eab50c0-2373-427e-9582-2f98335e5785
942f2a46-a02d-4459-a89a-cd647616d5be
0e21b354-ea87-4092-b460-b9b8dde5c4da

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: