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)

019e101f-8c14-7513-b33e-4600acc8a806
019e101f-8c14-76ea-84ed-956b046633a1
019e101f-8c14-7873-a29d-453d19f30e6e
019e101f-8c14-79cf-9536-1b9560559aca
019e101f-8c14-7b1f-a109-d53749c4b332
019e101f-8c14-7c5f-b3df-74f8cc73dd21
019e101f-8c14-7d9e-9b36-e20c9652f93e
019e101f-8c14-7ee6-a0f0-1f32e94ba152
019e101f-8c15-702e-b9eb-58f224e1c1f8
019e101f-8c15-7171-b53c-894eab40db26
019e101f-8c15-72b5-9d0e-7bfe904d407a
019e101f-8c15-73f4-b03b-fc97ca158862
019e101f-8c15-7540-9b38-3578b56b2e14
019e101f-8c15-767f-a1f6-b3e66d924c4c
019e101f-8c15-77bb-ac35-dec817d304fa

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)

1f14c27e-3d14-6bac-b757-4cf95d479851
1f14c27e-3d14-6e04-b757-4cf95d479851
1f14c27e-3d14-6fa8-b757-4cf95d479851
1f14c27e-3d15-612e-b757-4cf95d479851
1f14c27e-3d15-628c-b757-4cf95d479851
1f14c27e-3d15-63f4-b757-4cf95d479851
1f14c27e-3d15-6552-b757-4cf95d479851
1f14c27e-3d15-66b0-b757-4cf95d479851
1f14c27e-3d15-6804-b757-4cf95d479851
1f14c27e-3d15-6962-b757-4cf95d479851
1f14c27e-3d15-6b60-b757-4cf95d479851
1f14c27e-3d15-6d90-b757-4cf95d479851
1f14c27e-3d15-6f02-b757-4cf95d479851
1f14c27e-3d16-606a-b757-4cf95d479851
1f14c27e-3d16-61d2-b757-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)

cdd6d161-b89a-4ee0-b2ea-71968c013bc0
e6efb66c-6d8f-413d-aee1-1639423f3246
6daeb07f-9900-4a34-aecf-615ae844da04
01b4f5c3-c7fa-40df-828c-d75390dba92a
ecd8cb31-4f95-49df-a4c8-099ab45235e2
e51e6368-ed16-4af5-b874-8f20453bf773
7e7e5ddc-83e1-411d-a5c3-fb4aa19e0d71
01f2e7b7-9724-48ed-8dd2-2952ec47f91e
9c12b888-eeef-43a4-9c0b-d0d9ca82bcf2
97531a92-94b5-46f0-9d7b-2c9ff12bcf55
463bc226-389c-4b78-8da2-9155a7c241fc
0a1a51c4-6e51-46cd-a3c4-0ebd9fb1d08a
48166c61-ff33-42ce-b575-2cd368e5af99
9fba3018-2aa0-455d-965e-0392411cbbb5
fec7bd02-d9b0-46f0-9a14-8c50969965fc

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)

e3d1692a-4c27-11f1-b757-4cf95d479851
e3d169ca-4c27-11f1-b757-4cf95d479851
e3d16a6a-4c27-11f1-b757-4cf95d479851
e3d16b00-4c27-11f1-b757-4cf95d479851
e3d16b96-4c27-11f1-b757-4cf95d479851
e3d16c2c-4c27-11f1-b757-4cf95d479851
e3d16cc2-4c27-11f1-b757-4cf95d479851
e3d16d58-4c27-11f1-b757-4cf95d479851
e3d16dee-4c27-11f1-b757-4cf95d479851
e3d16e8e-4c27-11f1-b757-4cf95d479851
e3d16f2e-4c27-11f1-b757-4cf95d479851
e3d16fce-4c27-11f1-b757-4cf95d479851
e3d17064-4c27-11f1-b757-4cf95d479851
e3d170fa-4c27-11f1-b757-4cf95d479851
e3d17190-4c27-11f1-b757-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)

8e627a2b-0701-8208-87ea-5ce32bd83b97
6c917b2b-0701-8208-87ea-5ce32bd83b97
3bbb7c2b-0701-8208-87ea-5ce32bd83b97
9c4c7d2b-0701-8208-87ea-5ce32bd83b97
9bd17e2b-0701-8208-87ea-5ce32bd83b97
b5067f2b-0701-8208-87ea-5ce32bd83b97
ec6a802b-0701-8208-87ea-5ce32bd83b97
d1c2812b-0701-8208-87ea-5ce32bd83b97
57cf822b-0701-8208-87ea-5ce32bd83b97
bd29832b-0701-8208-87ea-5ce32bd83b97
6bb4842b-0701-8208-87ea-5ce32bd83b97
851c852b-0701-8208-87ea-5ce32bd83b97
0c7d872b-0701-8208-87ea-5ce32bd83b97
640e882b-0701-8208-87ea-5ce32bd83b97
b5ff892b-0701-8208-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: