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)

019fffae-67fd-75d3-a2aa-4ff4508ca0ae
019fffae-67fd-7761-b200-da6a57e024e8
019fffae-67fd-78a0-81c7-1bab6f34a138
019fffae-67fd-79bf-a022-0dcac2f53add
019fffae-67fd-7ad5-9adb-37b27c37e913
019fffae-67fd-7bec-901f-4dd6580c5572
019fffae-67fd-7d03-b650-bcfcc7105a79
019fffae-67fd-7e15-80ca-6c46fb61d571
019fffae-67fd-7f2c-9bcc-b6a356e0e895
019fffae-67fe-7042-9ac3-d162fe48ef57
019fffae-67fe-7159-ba07-c684b497572e
019fffae-67fe-7273-a932-4ccfe743c895
019fffae-67fe-738a-aef1-39aa66bf850b
019fffae-67fe-74a0-9101-c6f958a6a372
019fffae-67fe-75bb-a93b-528545b67d2b

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)

1f197c5a-03f8-63ba-8921-4cf95d479851
1f197c5a-03f8-65a4-8921-4cf95d479851
1f197c5a-03f8-6694-8921-4cf95d479851
1f197c5a-03f8-675c-8921-4cf95d479851
1f197c5a-03f8-681a-8921-4cf95d479851
1f197c5a-03f8-68d8-8921-4cf95d479851
1f197c5a-03f8-6996-8921-4cf95d479851
1f197c5a-03f8-6a4a-8921-4cf95d479851
1f197c5a-03f8-6b08-8921-4cf95d479851
1f197c5a-03f8-6bbc-8921-4cf95d479851
1f197c5a-03f8-6d2e-8921-4cf95d479851
1f197c5a-03f8-6e00-8921-4cf95d479851
1f197c5a-03f8-6ebe-8921-4cf95d479851
1f197c5a-03f8-6f72-8921-4cf95d479851
1f197c5a-03f9-6030-8921-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)

a03f90f8-97c5-11f1-8921-4cf95d479851
a03f915c-97c5-11f1-8921-4cf95d479851
a03f91ca-97c5-11f1-8921-4cf95d479851
a03f922e-97c5-11f1-8921-4cf95d479851
a03f9288-97c5-11f1-8921-4cf95d479851
a03f92e2-97c5-11f1-8921-4cf95d479851
a03f9346-97c5-11f1-8921-4cf95d479851
a03f93aa-97c5-11f1-8921-4cf95d479851
a03f9404-97c5-11f1-8921-4cf95d479851
a03f9472-97c5-11f1-8921-4cf95d479851
a03f94d6-97c5-11f1-8921-4cf95d479851
a03f9530-97c5-11f1-8921-4cf95d479851
a03f959e-97c5-11f1-8921-4cf95d479851
a03f9602-97c5-11f1-8921-4cf95d479851
a03f9666-97c5-11f1-8921-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)

7b2ece2f-4f02-820e-87ea-5ce32bd83b97
1aadcf2f-4f02-820e-87ea-5ce32bd83b97
b978d02f-4f02-820e-87ea-5ce32bd83b97
440bd12f-4f02-820e-87ea-5ce32bd83b97
57b5d22f-4f02-820e-87ea-5ce32bd83b97
76ded32f-4f02-820e-87ea-5ce32bd83b97
1b3bd42f-4f02-820e-87ea-5ce32bd83b97
3ac2d52f-4f02-820e-87ea-5ce32bd83b97
3479d62f-4f02-820e-87ea-5ce32bd83b97
bd55d72f-4f02-820e-87ea-5ce32bd83b97
ab18d82f-4f02-820e-87ea-5ce32bd83b97
d178d92f-4f02-820e-87ea-5ce32bd83b97
ba7dda2f-4f02-820e-87ea-5ce32bd83b97
90aadb2f-4f02-820e-87ea-5ce32bd83b97
c44ddd2f-4f02-820e-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)

80be1f96-900c-4653-b110-812ad74fc690
a9c3bb80-1083-4e6f-907d-07c3add38450
995946fa-9682-4654-a3b9-b325eacaee16
5eae2640-3298-4d0a-a319-f1167db62cea
983fa7de-5eee-4946-8284-363ffe859926
b191cb36-99fd-4ac8-8176-15a24364d123
ff0af2ad-26b2-4845-820e-d71205db88bd
a270b445-adde-4817-9964-d4deb00251e2
4c9e9b8b-50c4-403c-b4fc-4cb485d4e292
a669e5f0-6ba7-4022-814b-1ace9e23f3d4
601dc34d-00c1-4aad-b46b-db0aca38a699
9434011c-1a12-4b2d-aa4d-6fa0a98c6983
01b98963-c2b2-4c11-851d-6600b4e0a065
1bf317c7-14ae-44f3-b4b7-38d4af0b04a6
84791458-c366-42e2-8b9d-3d9a8db4b28a

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: