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)

019cd695-2c89-7629-b72c-e3c55904a472
019cd695-2c89-77b7-9255-a49de20d29dd
019cd695-2c89-78f6-a3b2-e6d4525ebc01
019cd695-2c89-7a15-aa87-544d2f21a1a6
019cd695-2c89-7b30-adc9-b1ff1572223d
019cd695-2c89-7c46-94e6-aac58e4d22f9
019cd695-2c89-7d5d-8ca5-df19e74cf482
019cd695-2c89-7e77-9bef-1f7dba316a25
019cd695-2c89-7f8e-b57d-db0a7b4944db
019cd695-2c8a-70a8-a1ef-542d7eea74c2
019cd695-2c8a-71c3-9573-5307d42b4336
019cd695-2c8a-72da-bd26-510afaff14fd
019cd695-2c8a-73f0-8745-e43518f32f0d
019cd695-2c8a-7507-8a2f-1c8ce81814a1
019cd695-2c8a-761d-a732-ec75d62ec7d5

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)

1f11c503-69d2-6160-84e5-4cf95d479851
1f11c503-69d2-62f0-84e5-4cf95d479851
1f11c503-69d2-63d6-84e5-4cf95d479851
1f11c503-69d2-64a8-84e5-4cf95d479851
1f11c503-69d2-6570-84e5-4cf95d479851
1f11c503-69d2-6638-84e5-4cf95d479851
1f11c503-69d2-6700-84e5-4cf95d479851
1f11c503-69d2-67d2-84e5-4cf95d479851
1f11c503-69d2-689a-84e5-4cf95d479851
1f11c503-69d2-6962-84e5-4cf95d479851
1f11c503-69d2-6aa2-84e5-4cf95d479851
1f11c503-69d2-6b6a-84e5-4cf95d479851
1f11c503-69d2-6c28-84e5-4cf95d479851
1f11c503-69d2-6cf0-84e5-4cf95d479851
1f11c503-69d2-6db8-84e5-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)

340a9889-a2f7-44be-baed-49986ae383ae
2d0727c4-f734-492c-a415-73fcd96c4e7e
3e083160-0dfc-4080-8a87-5fa0d7db81a8
8d8d8158-e884-4810-a790-16164ab5fec5
4d8c352d-68d8-4c7d-a6c0-7409c0ec1450
a81e972d-43db-4b0f-88ff-862d5644359d
26c6e031-dbcd-4b6c-aa29-3a60ea7ce8fc
6e0f283a-5047-420f-97a1-62d371a6ceb1
8e2d6f17-803f-4c5d-bb0d-7c093f214ee8
769ef7e9-2eaf-4d2c-9327-443664d860f2
664100aa-1e3c-4c02-91d8-0634333bec7e
605c071c-ac3e-4b88-b8a3-e7d84dad4161
3150277a-8b4e-4846-bb28-d85042a0ea17
8c49555f-be47-4e2e-b541-871e21a9d9c0
5fd7a126-944c-4088-b55e-aeab96892972

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)

369d3380-1c50-11f1-84e5-4cf95d479851
369d33ee-1c50-11f1-84e5-4cf95d479851
369d3452-1c50-11f1-84e5-4cf95d479851
369d34ac-1c50-11f1-84e5-4cf95d479851
369d3510-1c50-11f1-84e5-4cf95d479851
369d356a-1c50-11f1-84e5-4cf95d479851
369d35ce-1c50-11f1-84e5-4cf95d479851
369d3632-1c50-11f1-84e5-4cf95d479851
369d3696-1c50-11f1-84e5-4cf95d479851
369d36fa-1c50-11f1-84e5-4cf95d479851
369d375e-1c50-11f1-84e5-4cf95d479851
369d37cc-1c50-11f1-84e5-4cf95d479851
369d3830-1c50-11f1-84e5-4cf95d479851
369d3894-1c50-11f1-84e5-4cf95d479851
369d38f8-1c50-11f1-84e5-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)

6083711a-af01-8504-87ea-5ce32bd83b97
3800721a-af01-8504-87ea-5ce32bd83b97
db6f731a-af01-8504-87ea-5ce32bd83b97
9160741a-af01-8504-87ea-5ce32bd83b97
111a751a-af01-8504-87ea-5ce32bd83b97
7a25761a-af01-8504-87ea-5ce32bd83b97
836a771a-af01-8504-87ea-5ce32bd83b97
9975781a-af01-8504-87ea-5ce32bd83b97
fc8f791a-af01-8504-87ea-5ce32bd83b97
106b7a1a-af01-8504-87ea-5ce32bd83b97
68677b1a-af01-8504-87ea-5ce32bd83b97
ad097c1a-af01-8504-87ea-5ce32bd83b97
43967e1a-af01-8504-87ea-5ce32bd83b97
cc2f7f1a-af01-8504-87ea-5ce32bd83b97
4dfb801a-af01-8504-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: