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)

01a1b481-50fe-77f8-8368-8c6432df66a3
01a1b481-50fe-7986-8193-7476324cadbe
01a1b481-50fe-7ac9-9d0e-e603fa6f2f7e
01a1b481-50fe-7be8-835d-41db1fa73e40
01a1b481-50fe-7cfe-ba63-605f36adbaa5
01a1b481-50fe-7e19-8e4d-1246dc5b2945
01a1b481-50fe-7f30-ad78-091b3d594bc6
01a1b481-50ff-7046-9db1-a7cb2be0a220
01a1b481-50ff-715d-9f7d-4eceaf19a829
01a1b481-50ff-7277-bb10-df62c68c9acf
01a1b481-50ff-738e-98bb-48ed87cae1e3
01a1b481-50ff-74a4-98cf-3d9174f9d898
01a1b481-50ff-75bb-920c-742ac51a8c09
01a1b481-50ff-76d1-9891-5fddfccfc751
01a1b481-50ff-77e4-913f-ad6c73b3f773

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)

1f1da6d0-eed4-607e-b3c6-4cf95d479851
1f1da6d0-eed4-622c-b3c6-4cf95d479851
1f1da6d0-eed4-6312-b3c6-4cf95d479851
1f1da6d0-eed4-63e4-b3c6-4cf95d479851
1f1da6d0-eed4-64ac-b3c6-4cf95d479851
1f1da6d0-eed4-6574-b3c6-4cf95d479851
1f1da6d0-eed4-6632-b3c6-4cf95d479851
1f1da6d0-eed4-66fa-b3c6-4cf95d479851
1f1da6d0-eed4-67b8-b3c6-4cf95d479851
1f1da6d0-eed4-6880-b3c6-4cf95d479851
1f1da6d0-eed4-69de-b3c6-4cf95d479851
1f1da6d0-eed4-6ab0-b3c6-4cf95d479851
1f1da6d0-eed4-6b6e-b3c6-4cf95d479851
1f1da6d0-eed4-6c36-b3c6-4cf95d479851
1f1da6d0-eed4-6cf4-b3c6-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)

0eed4dd0-da6d-11f1-b3c6-4cf95d479851
0eed4e34-da6d-11f1-b3c6-4cf95d479851
0eed4e98-da6d-11f1-b3c6-4cf95d479851
0eed4ef2-da6d-11f1-b3c6-4cf95d479851
0eed4f56-da6d-11f1-b3c6-4cf95d479851
0eed4fba-da6d-11f1-b3c6-4cf95d479851
0eed501e-da6d-11f1-b3c6-4cf95d479851
0eed5082-da6d-11f1-b3c6-4cf95d479851
0eed50e6-da6d-11f1-b3c6-4cf95d479851
0eed514a-da6d-11f1-b3c6-4cf95d479851
0eed51ae-da6d-11f1-b3c6-4cf95d479851
0eed5208-da6d-11f1-b3c6-4cf95d479851
0eed5280-da6d-11f1-b3c6-4cf95d479851
0eed52e4-da6d-11f1-b3c6-4cf95d479851
0eed5348-da6d-11f1-b3c6-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)

42893124-5001-8713-87ea-5ce32bd83b97
50cd3224-5001-8713-87ea-5ce32bd83b97
70cc3324-5001-8713-87ea-5ce32bd83b97
d35d3424-5001-8713-87ea-5ce32bd83b97
46d53524-5001-8713-87ea-5ce32bd83b97
f41e3624-5001-8713-87ea-5ce32bd83b97
55363724-5001-8713-87ea-5ce32bd83b97
61203824-5001-8713-87ea-5ce32bd83b97
18303924-5001-8713-87ea-5ce32bd83b97
2f513a24-5001-8713-87ea-5ce32bd83b97
9a9e3b24-5001-8713-87ea-5ce32bd83b97
77b33c24-5001-8713-87ea-5ce32bd83b97
306a3e24-5001-8713-87ea-5ce32bd83b97
5ad23f24-5001-8713-87ea-5ce32bd83b97
5eb24024-5001-8713-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)

63babac4-8969-4c27-8a00-d552013d663e
5db2cfee-32a3-400e-b2fa-3a16ee2699b4
37adb38f-f9bd-44fb-bc94-6e3bbaf08743
49febb68-f1c9-4726-8a7a-f937b987cbcf
17bec425-5de7-4eff-9ec9-21d817c03630
45c89514-49ea-4af7-9d60-36c6a2343356
968298de-cd26-42fc-b8b0-f52efd272124
2c65dae1-f284-401d-9acb-3acea2f19eed
5d899ab2-b466-403c-95a0-ea731726f375
3dd6e079-5390-4171-a228-c313ff0ae310
987781e5-e601-492c-87a2-8c8641e6aac5
63da19b3-ce1d-4305-b8c0-e6f74883a836
92edbb20-f60f-49c3-b714-350fe57eadec
f43487b6-4e16-43f5-81b1-c6511bae9dc1
e040a16f-152b-4e79-aa00-08d73cff53a6

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: