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)

019cee75-0f6c-7ed1-a2da-20f08c9938af
019cee75-0f6d-7090-bc3c-94b28cd68acc
019cee75-0f6d-71d3-b988-c0027f363afd
019cee75-0f6d-72f6-bfaf-caf19b3efb30
019cee75-0f6d-7411-897e-50a60b96bb7e
019cee75-0f6d-752c-8f03-6f74438c6333
019cee75-0f6d-7646-9d5c-0b9c46d2b82b
019cee75-0f6d-7761-9420-3aa44936ca2e
019cee75-0f6d-787b-bb86-2b5c9ab5dc83
019cee75-0f6d-7996-b70e-cdf586f5aa61
019cee75-0f6d-7ab1-a513-be0eab0b1e0b
019cee75-0f6d-7bcb-845e-f21d3e3f8c4c
019cee75-0f6d-7ce6-9f8c-1ab6894d9ff4
019cee75-0f6d-7e00-bcd6-44ef1d79ac7e
019cee75-0f6d-7f1b-ab68-adb1253af1e2

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)

1f11ff4d-02bf-6c96-be39-4cf95d479851
1f11ff4d-02bf-6e4e-be39-4cf95d479851
1f11ff4d-02bf-6f3e-be39-4cf95d479851
1f11ff4d-02c0-6010-be39-4cf95d479851
1f11ff4d-02c0-60d8-be39-4cf95d479851
1f11ff4d-02c0-6196-be39-4cf95d479851
1f11ff4d-02c0-625e-be39-4cf95d479851
1f11ff4d-02c0-634e-be39-4cf95d479851
1f11ff4d-02c0-64ac-be39-4cf95d479851
1f11ff4d-02c0-661e-be39-4cf95d479851
1f11ff4d-02c0-6844-be39-4cf95d479851
1f11ff4d-02c0-69ca-be39-4cf95d479851
1f11ff4d-02c0-6b46-be39-4cf95d479851
1f11ff4d-02c0-6ca4-be39-4cf95d479851
1f11ff4d-02c0-6e0c-be39-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)

3d79e9ca-ab70-451f-a94d-a1a45d000ecc
04250de1-54d8-401e-b138-0a9f2760ce97
cd6e20c7-9e92-4e7b-bc91-047f78075926
f64d34d2-99af-4558-8779-7f589843533b
a79eef16-fd23-4201-a629-595dd67072b7
ba8ebf98-d9f2-40b1-a6c0-baf154bcb30c
e83a792a-79bf-48a4-adc2-66222c7b4679
f2669928-2704-483f-b9a5-e195e1edbf39
9dc2e6aa-98a7-4edc-85bd-8e8ec6339270
1795eb39-ad51-44bd-bea2-b87579d4aea9
6cb0de0c-6a02-4e31-81dc-0dd6ad29b894
7f3265d7-0225-46c2-8ef1-fb7e51007d92
ae42b1a2-b56a-42ec-9b08-0899d04458e9
ff5b7574-0e5b-40d4-bb29-6f662fdafd26
baad56ca-c4fd-4adf-a942-71b3990665a7

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)

d02c156e-1ff4-11f1-be39-4cf95d479851
d02c1622-1ff4-11f1-be39-4cf95d479851
d02c16d6-1ff4-11f1-be39-4cf95d479851
d02c1776-1ff4-11f1-be39-4cf95d479851
d02c182a-1ff4-11f1-be39-4cf95d479851
d02c18a2-1ff4-11f1-be39-4cf95d479851
d02c1910-1ff4-11f1-be39-4cf95d479851
d02c196a-1ff4-11f1-be39-4cf95d479851
d02c19ce-1ff4-11f1-be39-4cf95d479851
d02c1a32-1ff4-11f1-be39-4cf95d479851
d02c1a96-1ff4-11f1-be39-4cf95d479851
d02c1b9a-1ff4-11f1-be39-4cf95d479851
d02c1c08-1ff4-11f1-be39-4cf95d479851
d02c1c6c-1ff4-11f1-be39-4cf95d479851
d02c1cd0-1ff4-11f1-be39-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)

8bff060f-4305-8904-87ea-5ce32bd83b97
19bc070f-4305-8904-87ea-5ce32bd83b97
0232080f-4305-8904-87ea-5ce32bd83b97
a23a090f-4305-8904-87ea-5ce32bd83b97
1c2b0a0f-4305-8904-87ea-5ce32bd83b97
6f650b0f-4305-8904-87ea-5ce32bd83b97
b5a60c0f-4305-8904-87ea-5ce32bd83b97
1c960d0f-4305-8904-87ea-5ce32bd83b97
93390e0f-4305-8904-87ea-5ce32bd83b97
d6bf0f0f-4305-8904-87ea-5ce32bd83b97
13d8100f-4305-8904-87ea-5ce32bd83b97
c940110f-4305-8904-87ea-5ce32bd83b97
bb7d120f-4305-8904-87ea-5ce32bd83b97
0f8c130f-4305-8904-87ea-5ce32bd83b97
dd8d140f-4305-8904-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: