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)

019fb9f8-9de7-7c00-81f7-15e144a7f7b6
019fb9f8-9de7-7df8-9d46-636de4f5da77
019fb9f8-9de7-7f3c-8792-52a20ab14c84
019fb9f8-9de8-7057-b5b5-4eb517b29b6f
019fb9f8-9de8-716d-b327-331d3c6d54cf
019fb9f8-9de8-7284-adca-1aeec738b3f0
019fb9f8-9de8-7396-9a52-c7887ae85a6a
019fb9f8-9de8-74ad-b981-4cc9e21f6a7c
019fb9f8-9de8-75cb-97a2-9943f967d5ff
019fb9f8-9de8-76e2-8e19-cff8f9802d0b
019fb9f8-9de8-77f4-9805-b0d8ab55f7b3
019fb9f8-9de8-7907-b78e-0a3c1dc848c5
019fb9f8-9de8-7a1d-91d0-87c39b644148
019fb9f8-9de8-7b30-9d89-acd9f540b1cc
019fb9f8-9de8-7c42-9255-8f1f2af875b1

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)

1f18d229-3199-6a2a-afe9-4cf95d479851
1f18d229-3199-6be2-afe9-4cf95d479851
1f18d229-3199-6cd2-afe9-4cf95d479851
1f18d229-3199-6dae-afe9-4cf95d479851
1f18d229-3199-6e80-afe9-4cf95d479851
1f18d229-3199-6f3e-afe9-4cf95d479851
1f18d229-319a-6006-afe9-4cf95d479851
1f18d229-319a-60ce-afe9-4cf95d479851
1f18d229-319a-6196-afe9-4cf95d479851
1f18d229-319a-6254-afe9-4cf95d479851
1f18d229-319a-639e-afe9-4cf95d479851
1f18d229-319a-6470-afe9-4cf95d479851
1f18d229-319a-6538-afe9-4cf95d479851
1f18d229-319a-6614-afe9-4cf95d479851
1f18d229-319a-66dc-afe9-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)

9319a7b8-8d22-11f1-afe9-4cf95d479851
9319a826-8d22-11f1-afe9-4cf95d479851
9319a88a-8d22-11f1-afe9-4cf95d479851
9319a8f8-8d22-11f1-afe9-4cf95d479851
9319a95c-8d22-11f1-afe9-4cf95d479851
9319a9b6-8d22-11f1-afe9-4cf95d479851
9319aa1a-8d22-11f1-afe9-4cf95d479851
9319aa7e-8d22-11f1-afe9-4cf95d479851
9319aae2-8d22-11f1-afe9-4cf95d479851
9319ab46-8d22-11f1-afe9-4cf95d479851
9319abaa-8d22-11f1-afe9-4cf95d479851
9319ac0e-8d22-11f1-afe9-4cf95d479851
9319ac72-8d22-11f1-afe9-4cf95d479851
9319acd6-8d22-11f1-afe9-4cf95d479851
9319ad30-8d22-11f1-afe9-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)

0ef6271a-eb04-840d-87ea-5ce32bd83b97
c9e5281a-eb04-840d-87ea-5ce32bd83b97
c733291a-eb04-840d-87ea-5ce32bd83b97
c0782a1a-eb04-840d-87ea-5ce32bd83b97
8d282b1a-eb04-840d-87ea-5ce32bd83b97
b08a2c1a-eb04-840d-87ea-5ce32bd83b97
ab0c2d1a-eb04-840d-87ea-5ce32bd83b97
ae512e1a-eb04-840d-87ea-5ce32bd83b97
74192f1a-eb04-840d-87ea-5ce32bd83b97
42d3301a-eb04-840d-87ea-5ce32bd83b97
5142321a-eb04-840d-87ea-5ce32bd83b97
e445331a-eb04-840d-87ea-5ce32bd83b97
40b3341a-eb04-840d-87ea-5ce32bd83b97
aa1f351a-eb04-840d-87ea-5ce32bd83b97
4ed3361a-eb04-840d-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)

4f275970-3a6d-4ba0-90d6-9e8a2feb0ff3
4a508c44-0039-4b62-a44a-efe478eb7d3a
4b0b008c-18d7-4f8c-a23e-ae70ab4bcb9b
c72ad4b8-853b-4cee-9b5c-b4e5b5e35a93
41e11a95-660b-4a52-ad54-2b8a1b1f39ec
588e7a8d-d257-4763-81f6-1582197b3a9f
a46fcedf-1a00-4656-a0bf-e0fac710a833
d3359b3b-313c-4fac-8b06-b9568bdd0440
003b969f-fa90-4821-8314-d1a4612dd733
e333b34d-59fb-4abd-ae94-f6a949bfaf4b
ab9eac37-5788-4cf1-aad8-39477a6da457
d216e50b-6713-4a08-8fc6-8f1d25140025
70c5392b-6cee-4c74-8cbe-bbd714b91695
d6a147a9-623a-4019-babe-1dbb95ca39b0
7d57c8c6-5885-406a-91a2-fa6b9b92cc31

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: