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)

019bc9a9-d310-7b69-bc19-6f119453eecd
019bc9a9-d310-7d17-acb4-de6c90f5bcc5
019bc9a9-d310-7e5f-ae70-935ef6bbf42e
019bc9a9-d310-7f9a-a976-0a90d42d57f0
019bc9a9-d311-70c1-87a7-7feeca747166
019bc9a9-d311-71e0-b377-1eded79c2791
019bc9a9-d311-72fe-9dce-4045deb38dcd
019bc9a9-d311-7419-8dec-01ac659cb657
019bc9a9-d311-7538-ba7d-2c901e3678b4
019bc9a9-d311-7652-99cf-75f2cde2f6aa
019bc9a9-d311-776d-8f77-445d2558d235
019bc9a9-d311-7888-9268-18183821ea67
019bc9a9-d311-79a6-bfb1-004ea0b4837c
019bc9a9-d311-7ad1-9189-8fd42e440bc8
019bc9a9-d311-7c09-ba31-4d49782fa906

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)

1f0f3478-d462-69c6-a94a-4cf95d479851
1f0f3478-d462-6b74-a94a-4cf95d479851
1f0f3478-d462-6c64-a94a-4cf95d479851
1f0f3478-d462-6d36-a94a-4cf95d479851
1f0f3478-d462-6dfe-a94a-4cf95d479851
1f0f3478-d462-6ec6-a94a-4cf95d479851
1f0f3478-d462-6f8e-a94a-4cf95d479851
1f0f3478-d463-6056-a94a-4cf95d479851
1f0f3478-d463-6114-a94a-4cf95d479851
1f0f3478-d463-61dc-a94a-4cf95d479851
1f0f3478-d463-6344-a94a-4cf95d479851
1f0f3478-d463-6420-a94a-4cf95d479851
1f0f3478-d463-64de-a94a-4cf95d479851
1f0f3478-d463-65a6-a94a-4cf95d479851
1f0f3478-d463-666e-a94a-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)

c219adf3-8b01-4db4-a915-80d2b7d69d08
841bd258-a58b-48fc-a8de-ba40d6ba81a7
5b5e5bbc-7f98-4c2a-83fe-8263f1663498
f323bc32-94ae-4605-9261-28433477e068
224fae57-d73b-4e49-aaff-08eb1cd9ccc2
1b40ba77-e8e8-453a-a56e-d78dc1c0b46e
bcc1bd91-669c-4402-b3e3-4922b42698af
7fc610ab-65c4-468f-ba22-26d13a57a432
08f28da9-036d-42c0-be84-1bf5cb6b89a0
b6f76cf1-1402-4d1a-a2ee-025eacde054b
86d4e4b3-6637-47fa-8013-c8d6ab4a0c10
c4504000-9696-4cad-8d06-f50b39295d36
e76168b0-de63-4872-9180-579dce9c8842
9e17ea7c-f789-4e92-8f2d-ae91d777469b
5ad978a4-587a-4042-989a-448e78424521

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)

8d463ba0-f347-11f0-a94a-4cf95d479851
8d463c04-f347-11f0-a94a-4cf95d479851
8d463c72-f347-11f0-a94a-4cf95d479851
8d463cd6-f347-11f0-a94a-4cf95d479851
8d463d3a-f347-11f0-a94a-4cf95d479851
8d463d9e-f347-11f0-a94a-4cf95d479851
8d463df8-f347-11f0-a94a-4cf95d479851
8d463e5c-f347-11f0-a94a-4cf95d479851
8d463ec0-f347-11f0-a94a-4cf95d479851
8d463f24-f347-11f0-a94a-4cf95d479851
8d463f7e-f347-11f0-a94a-4cf95d479851
8d463fe2-f347-11f0-a94a-4cf95d479851
8d46403c-f347-11f0-a94a-4cf95d479851
8d464096-f347-11f0-a94a-4cf95d479851
8d4640fa-f347-11f0-a94a-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)

197cb008-7400-8101-87ea-5ce32bd83b97
b09ab108-7400-8101-87ea-5ce32bd83b97
b86ab208-7400-8101-87ea-5ce32bd83b97
becfb308-7400-8101-87ea-5ce32bd83b97
c7dbb408-7400-8101-87ea-5ce32bd83b97
6a56b508-7400-8101-87ea-5ce32bd83b97
d3c0b708-7400-8101-87ea-5ce32bd83b97
dec4b808-7400-8101-87ea-5ce32bd83b97
d84eb908-7400-8101-87ea-5ce32bd83b97
960cba08-7400-8101-87ea-5ce32bd83b97
08e0bb08-7400-8101-87ea-5ce32bd83b97
78e0bc08-7400-8101-87ea-5ce32bd83b97
365dbd08-7400-8101-87ea-5ce32bd83b97
e798be08-7400-8101-87ea-5ce32bd83b97
11a4bf08-7400-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: