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)

01a149f9-4ee4-7677-b570-248940419287
01a149f9-4ee4-785f-aff0-93b68bfb41a0
01a149f9-4ee4-79a2-b369-7c6b13857fb5
01a149f9-4ee4-7abd-bdd1-dcd67b6a9453
01a149f9-4ee4-7bd8-b86d-b0caefbb21f7
01a149f9-4ee4-7cee-8a19-4bc3fda34401
01a149f9-4ee4-7e05-b4aa-77acf6c1ed42
01a149f9-4ee4-7f1b-82d7-836df376490a
01a149f9-4ee5-7032-8070-cb290f2d0513
01a149f9-4ee5-714c-8a7e-ec94cc553ec2
01a149f9-4ee5-7263-acae-1e4c5341ddeb
01a149f9-4ee5-7375-b5af-91332c199ead
01a149f9-4ee5-74a8-8398-4849f36c9b54
01a149f9-4ee5-75c3-97a7-9df37d343c51
01a149f9-4ee5-76d5-8ae4-34116f35873b

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)

1f1ca2ba-e1b2-65f0-ad50-4cf95d479851
1f1ca2ba-e1b2-67bc-ad50-4cf95d479851
1f1ca2ba-e1b2-6898-ad50-4cf95d479851
1f1ca2ba-e1b2-696a-ad50-4cf95d479851
1f1ca2ba-e1b2-6a28-ad50-4cf95d479851
1f1ca2ba-e1b2-6af0-ad50-4cf95d479851
1f1ca2ba-e1b2-6bb8-ad50-4cf95d479851
1f1ca2ba-e1b2-6c80-ad50-4cf95d479851
1f1ca2ba-e1b2-6d3e-ad50-4cf95d479851
1f1ca2ba-e1b2-6dfc-ad50-4cf95d479851
1f1ca2ba-e1b2-6f3c-ad50-4cf95d479851
1f1ca2ba-e1b3-6004-ad50-4cf95d479851
1f1ca2ba-e1b3-60c2-ad50-4cf95d479851
1f1ca2ba-e1b3-6180-ad50-4cf95d479851
1f1ca2ba-e1b3-623e-ad50-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)

ae1b331a-ca2b-11f1-ad50-4cf95d479851
ae1b3388-ca2b-11f1-ad50-4cf95d479851
ae1b33e2-ca2b-11f1-ad50-4cf95d479851
ae1b3446-ca2b-11f1-ad50-4cf95d479851
ae1b34aa-ca2b-11f1-ad50-4cf95d479851
ae1b350e-ca2b-11f1-ad50-4cf95d479851
ae1b3568-ca2b-11f1-ad50-4cf95d479851
ae1b35cc-ca2b-11f1-ad50-4cf95d479851
ae1b3630-ca2b-11f1-ad50-4cf95d479851
ae1b3694-ca2b-11f1-ad50-4cf95d479851
ae1b36f8-ca2b-11f1-ad50-4cf95d479851
ae1b375c-ca2b-11f1-ad50-4cf95d479851
ae1b37b6-ca2b-11f1-ad50-4cf95d479851
ae1b381a-ca2b-11f1-ad50-4cf95d479851
ae1b3888-ca2b-11f1-ad50-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)

f0eadc11-1403-8212-87ea-5ce32bd83b97
f845dd11-1403-8212-87ea-5ce32bd83b97
6d71de11-1403-8212-87ea-5ce32bd83b97
6f75df11-1403-8212-87ea-5ce32bd83b97
30bce011-1403-8212-87ea-5ce32bd83b97
3c86e111-1403-8212-87ea-5ce32bd83b97
d262e211-1403-8212-87ea-5ce32bd83b97
a4c4e311-1403-8212-87ea-5ce32bd83b97
8e25e411-1403-8212-87ea-5ce32bd83b97
aee8e511-1403-8212-87ea-5ce32bd83b97
08a9e611-1403-8212-87ea-5ce32bd83b97
d25ae711-1403-8212-87ea-5ce32bd83b97
6089e911-1403-8212-87ea-5ce32bd83b97
4f66ea11-1403-8212-87ea-5ce32bd83b97
664ceb11-1403-8212-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)

abbb8ca5-3d96-4d97-9f41-bfa8252699bd
6b69210d-4054-4ded-809d-20e01e3d4a2c
27599ac4-23a8-416d-9e37-d99c475b64e6
941a7876-a607-4d68-97ae-99a2a153b6b4
94e27d70-6a1b-4489-8a12-914a60d13da3
b1dbbb40-d382-48cd-890a-befba60e0212
ef27a8ba-78dc-4e23-b24b-1d8b5aaf7fc9
263b7699-d79f-4dbd-a50c-e97f6f3692a0
df463049-ed23-4ae8-b72b-752eadb545ff
d45c0ea5-cf99-4068-b36f-00cb5dae1584
99ae8834-85cb-4452-8616-971f7afd0332
b574b7de-368f-419a-8514-6c2d2b5faf72
54eec6c0-d189-4e96-bf9a-13355672374a
00bad277-c35e-4eda-87cf-e439ac6b09d5
6da5ece6-f6f5-4657-ab4b-7e310129ccf8

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: