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)

019c9347-4402-76fe-b823-c279560b38c5
019c9347-4402-78b1-a061-1ea547aa16a0
019c9347-4402-79f4-a0cf-7b8d11e7df51
019c9347-4402-7b13-b2ce-42a5ac6ccc1b
019c9347-4402-7c2e-a3b2-de6d2af7e1eb
019c9347-4402-7d48-997a-69afc8c9c88f
019c9347-4402-7e63-a609-7ac5e253e903
019c9347-4402-7f7d-b242-db167ad50e69
019c9347-4403-7098-8ce1-d751ea0c4faf
019c9347-4403-71b3-aad5-f7a93982add9
019c9347-4403-72c9-ba38-f856d8e403bd
019c9347-4403-73e4-9bae-8630f355332b
019c9347-4403-74fe-9db1-1cb0071b61e3
019c9347-4403-7615-8e7d-b6551efd785c
019c9347-4403-7730-b8ca-f98a8b8e2dd3

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)

1f1120b2-3520-6c3c-a43c-4cf95d479851
1f1120b2-3520-6dd6-a43c-4cf95d479851
1f1120b2-3520-6ebc-a43c-4cf95d479851
1f1120b2-3520-6f8e-a43c-4cf95d479851
1f1120b2-3521-6056-a43c-4cf95d479851
1f1120b2-3521-6114-a43c-4cf95d479851
1f1120b2-3521-61dc-a43c-4cf95d479851
1f1120b2-3521-629a-a43c-4cf95d479851
1f1120b2-3521-6362-a43c-4cf95d479851
1f1120b2-3521-6420-a43c-4cf95d479851
1f1120b2-3521-656a-a43c-4cf95d479851
1f1120b2-3521-663c-a43c-4cf95d479851
1f1120b2-3521-6704-a43c-4cf95d479851
1f1120b2-3521-67b8-a43c-4cf95d479851
1f1120b2-3521-6880-a43c-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)

9ed46ff0-1b55-4679-a21f-f55337a7a1f6
27926322-e03f-41f4-9dc7-48da831b6c42
e083871d-a995-448f-9691-b4914de1d024
71af7b7b-f159-45b4-9594-bf9adc5d783f
76e05235-6691-4360-aaee-ba1e6e691176
0ade3b8d-cc34-417a-b33d-e08391e402aa
909c6d01-cff4-469f-bf38-dc9468332d3b
ff0903e5-3890-40f7-9b93-d7d806bd1e04
0aea751a-6711-4541-baf0-9a0fa0d6b0be
a0b34b53-3573-4517-bf7c-aac642aecc27
ec47666b-dce4-44e3-83dc-d09b794f9aab
397e6d48-73dc-4424-bab1-e4082ba9d193
cc944395-84f5-4be5-9e90-55991d91754e
45c7ef8d-53f8-40c6-ac3e-246fb6dee28a
3686ab3c-31cf-4634-bb80-9d717e778f22

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)

23521d9e-120b-11f1-a43c-4cf95d479851
23521e0c-120b-11f1-a43c-4cf95d479851
23521e70-120b-11f1-a43c-4cf95d479851
23521ed4-120b-11f1-a43c-4cf95d479851
23521f38-120b-11f1-a43c-4cf95d479851
23521fa6-120b-11f1-a43c-4cf95d479851
23522014-120b-11f1-a43c-4cf95d479851
23522078-120b-11f1-a43c-4cf95d479851
235220dc-120b-11f1-a43c-4cf95d479851
2352214a-120b-11f1-a43c-4cf95d479851
235221b8-120b-11f1-a43c-4cf95d479851
2352221c-120b-11f1-a43c-4cf95d479851
23522280-120b-11f1-a43c-4cf95d479851
235222e4-120b-11f1-a43c-4cf95d479851
23522352-120b-11f1-a43c-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)

b9622c2f-4b01-8803-87ea-5ce32bd83b97
fc9f2d2f-4b01-8803-87ea-5ce32bd83b97
5d742e2f-4b01-8803-87ea-5ce32bd83b97
cacf2f2f-4b01-8803-87ea-5ce32bd83b97
f4b4302f-4b01-8803-87ea-5ce32bd83b97
0088312f-4b01-8803-87ea-5ce32bd83b97
0118322f-4b01-8803-87ea-5ce32bd83b97
7d2e332f-4b01-8803-87ea-5ce32bd83b97
d385342f-4b01-8803-87ea-5ce32bd83b97
1d1e352f-4b01-8803-87ea-5ce32bd83b97
84e8362f-4b01-8803-87ea-5ce32bd83b97
888e372f-4b01-8803-87ea-5ce32bd83b97
5eae382f-4b01-8803-87ea-5ce32bd83b97
1729392f-4b01-8803-87ea-5ce32bd83b97
53d53a2f-4b01-8803-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: