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)

019bce59-7c9e-74a4-942d-c89928e612c8
019bce59-7c9e-765f-b0f4-dcfa0eb41de4
019bce59-7c9e-779e-9094-36dbd262622e
019bce59-7c9e-78c1-86b2-569c29bdcb6d
019bce59-7c9e-79d8-83d8-eb8a983948f1
019bce59-7c9e-7af2-bfcd-bfd3c2e8b52d
019bce59-7c9e-7c0d-b00f-a92df699156a
019bce59-7c9e-7d27-ab23-8030bc6e122a
019bce59-7c9e-7e42-8f37-ec2e2236635a
019bce59-7c9e-7f61-9477-4cc05b0344c7
019bce59-7c9f-7077-bf76-722c4e6463f0
019bce59-7c9f-7192-8c66-dcd3e845eb47
019bce59-7c9f-72ad-a356-e11d5f29d5fc
019bce59-7c9f-73c7-95f0-e8a60fb8aae1
019bce59-7c9f-74de-8d8a-dd159323c8d1

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)

1f0f3fe9-b155-6452-adfb-4cf95d479851
1f0f3fe9-b155-65d8-adfb-4cf95d479851
1f0f3fe9-b155-66b4-adfb-4cf95d479851
1f0f3fe9-b155-677c-adfb-4cf95d479851
1f0f3fe9-b155-6844-adfb-4cf95d479851
1f0f3fe9-b155-6902-adfb-4cf95d479851
1f0f3fe9-b155-69c0-adfb-4cf95d479851
1f0f3fe9-b155-6a7e-adfb-4cf95d479851
1f0f3fe9-b155-6b32-adfb-4cf95d479851
1f0f3fe9-b155-6bf0-adfb-4cf95d479851
1f0f3fe9-b155-6d44-adfb-4cf95d479851
1f0f3fe9-b155-6e0c-adfb-4cf95d479851
1f0f3fe9-b155-6eca-adfb-4cf95d479851
1f0f3fe9-b155-6f88-adfb-4cf95d479851
1f0f3fe9-b156-6046-adfb-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)

da557617-a8c6-46f0-8fa6-28bebb739892
19a8e485-eeda-4386-83b5-419c269565e2
9dc0468f-c807-4b41-9f4c-5930c63268d0
e92bde42-4102-434a-9d82-8d552b51c4c1
097dd290-422d-4bda-b6c2-05c88c3c753a
0669b32c-4aae-4703-bd9e-bcf2b1bc6fe7
2afcda2d-7ce1-46fb-9437-b71886d94453
18f082d4-8558-4e46-983e-49975593a17c
8cae032a-d8f3-4c37-88d7-e6fcac6d6cd2
1676b335-081a-4a6e-bb31-bcb94e0eeab2
3a1a2352-d05f-4610-8cd2-711998c935ea
8734063d-3b3d-4520-9ed2-aa6e4940b2ef
0176fefc-03d5-4b33-8adb-2bf921c88e77
0809b1b0-1f9f-4132-b74a-043a758ee8c0
68e432af-5586-4a41-a929-ceddaa048660

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)

9b156550-f3fe-11f0-adfb-4cf95d479851
9b1565b4-f3fe-11f0-adfb-4cf95d479851
9b156622-f3fe-11f0-adfb-4cf95d479851
9b15667c-f3fe-11f0-adfb-4cf95d479851
9b1566e0-f3fe-11f0-adfb-4cf95d479851
9b156744-f3fe-11f0-adfb-4cf95d479851
9b15679e-f3fe-11f0-adfb-4cf95d479851
9b15680c-f3fe-11f0-adfb-4cf95d479851
9b156898-f3fe-11f0-adfb-4cf95d479851
9b156938-f3fe-11f0-adfb-4cf95d479851
9b1569ce-f3fe-11f0-adfb-4cf95d479851
9b156a5a-f3fe-11f0-adfb-4cf95d479851
9b156ae6-f3fe-11f0-adfb-4cf95d479851
9b156b72-f3fe-11f0-adfb-4cf95d479851
9b156c08-f3fe-11f0-adfb-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)

3d5ac21d-9205-8101-87ea-5ce32bd83b97
0f0bc31d-9205-8101-87ea-5ce32bd83b97
fa53c41d-9205-8101-87ea-5ce32bd83b97
0147c51d-9205-8101-87ea-5ce32bd83b97
931ac61d-9205-8101-87ea-5ce32bd83b97
acf5c71d-9205-8101-87ea-5ce32bd83b97
fdd1c81d-9205-8101-87ea-5ce32bd83b97
8045c91d-9205-8101-87ea-5ce32bd83b97
96bdca1d-9205-8101-87ea-5ce32bd83b97
93decb1d-9205-8101-87ea-5ce32bd83b97
a1abcc1d-9205-8101-87ea-5ce32bd83b97
9dfacd1d-9205-8101-87ea-5ce32bd83b97
1161cf1d-9205-8101-87ea-5ce32bd83b97
8853d01d-9205-8101-87ea-5ce32bd83b97
d2a6d11d-9205-8101-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: