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)

019e009e-84d6-7969-85e7-57d3f89623ff
019e009e-84d6-7b1b-bc96-5c60cfaac8f6
019e009e-84d6-7c67-815a-74029ab03599
019e009e-84d6-7d86-b2ba-b4e1551bafd2
019e009e-84d6-7f07-ae94-d997508f4eee
019e009e-84d7-7057-a194-1cfdaa562735
019e009e-84d7-7179-975c-1db642bbc9b7
019e009e-84d7-7298-b723-8c730f562104
019e009e-84d7-73af-88bb-ff953ccc0cb0
019e009e-84d7-74c9-b1cf-752e2191a99d
019e009e-84d7-75dc-83bf-ea4b1e9e38d1
019e009e-84d7-76f2-84e3-960a8682451a
019e009e-84d7-7809-9f5a-863338b4823f
019e009e-84d7-791f-8334-d6578634a6f7
019e009e-84d7-7a36-beb0-8a6be5848ee1

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)

1f149ca4-3a66-6da6-affc-4cf95d479851
1f149ca4-3a66-6f7c-affc-4cf95d479851
1f149ca4-3a67-606c-affc-4cf95d479851
1f149ca4-3a67-613e-affc-4cf95d479851
1f149ca4-3a67-6206-affc-4cf95d479851
1f149ca4-3a67-62ce-affc-4cf95d479851
1f149ca4-3a67-6396-affc-4cf95d479851
1f149ca4-3a67-645e-affc-4cf95d479851
1f149ca4-3a67-6526-affc-4cf95d479851
1f149ca4-3a67-65ee-affc-4cf95d479851
1f149ca4-3a67-674c-affc-4cf95d479851
1f149ca4-3a67-6828-affc-4cf95d479851
1f149ca4-3a67-68f0-affc-4cf95d479851
1f149ca4-3a67-69ae-affc-4cf95d479851
1f149ca4-3a67-6a76-affc-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)

4b11c3d2-6aab-4d36-9933-e88c01ba3bf2
f6a90229-b972-415a-bef8-32cf71b6a827
89a70523-6bc8-4b58-a8c2-85e6c88268f4
e117ab1d-fd3b-4791-ab3a-a7df739f9263
c13d869b-6976-44fe-bab7-9a22f9cb1241
cac2b349-d061-4b09-88f6-812a6bade64f
8dc7a70f-b1be-4ed3-ad1a-331223a5084e
8ea04a28-5a5a-4ee7-8360-12637bb5a34b
52807548-274f-4875-870e-19c75c9fd0c2
49d5bf63-be7d-4934-aeb3-581c1c69a2ff
2478c054-afc4-4d93-873f-1cfc66dfd5e8
ba5bf4ce-a4ce-4f3f-b883-a7db3aebc7d3
7b94ef67-98d4-4e56-b31c-cab3e5a72ccf
f3850a7d-2d6f-4093-a9a7-f90caeb17462
7f26d1aa-6d8e-4cb0-9ec7-bc09b94e83b2

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)

43a67fa8-49ca-11f1-affc-4cf95d479851
43a68016-49ca-11f1-affc-4cf95d479851
43a6808e-49ca-11f1-affc-4cf95d479851
43a680fc-49ca-11f1-affc-4cf95d479851
43a68160-49ca-11f1-affc-4cf95d479851
43a681c4-49ca-11f1-affc-4cf95d479851
43a68228-49ca-11f1-affc-4cf95d479851
43a6828c-49ca-11f1-affc-4cf95d479851
43a682e6-49ca-11f1-affc-4cf95d479851
43a68354-49ca-11f1-affc-4cf95d479851
43a683b8-49ca-11f1-affc-4cf95d479851
43a6841c-49ca-11f1-affc-4cf95d479851
43a6848a-49ca-11f1-affc-4cf95d479851
43a684ee-49ca-11f1-affc-4cf95d479851
43a68552-49ca-11f1-affc-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)

b8223d1d-f800-8f07-87ea-5ce32bd83b97
5e9e3e1d-f800-8f07-87ea-5ce32bd83b97
63a83f1d-f800-8f07-87ea-5ce32bd83b97
57ff401d-f800-8f07-87ea-5ce32bd83b97
0981411d-f800-8f07-87ea-5ce32bd83b97
bde7421d-f800-8f07-87ea-5ce32bd83b97
098b431d-f800-8f07-87ea-5ce32bd83b97
c3f8451d-f800-8f07-87ea-5ce32bd83b97
18e5461d-f800-8f07-87ea-5ce32bd83b97
5451471d-f800-8f07-87ea-5ce32bd83b97
de51481d-f800-8f07-87ea-5ce32bd83b97
109d491d-f800-8f07-87ea-5ce32bd83b97
f9744a1d-f800-8f07-87ea-5ce32bd83b97
954d4b1d-f800-8f07-87ea-5ce32bd83b97
e6054c1d-f800-8f07-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: