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)

01a00347-0612-72fa-b37e-c02cbcb1c01b
01a00347-0612-749c-8b13-c84d78e6999c
01a00347-0612-75e0-910e-9481d703381e
01a00347-0612-76fa-b856-72574d5ba14d
01a00347-0612-77f0-b488-72d2567151b8
01a00347-0612-7907-9e60-eac5bdcfe4c1
01a00347-0612-7a1d-b909-1ebd3a548c32
01a00347-0612-7b34-a3db-33b307e81d49
01a00347-0612-7c4a-b8fc-65e46f0bfe44
01a00347-0612-7d61-b97b-95b30f5126f4
01a00347-0612-7e84-af07-adbb1d22def9
01a00347-0612-7f9a-a227-acb2a897e280
01a00347-0613-70ad-8e07-32ce77d5084e
01a00347-0613-71c3-88a4-2581d0a59b67
01a00347-0613-72d5-a3de-99f2cc897a0c

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)

1f198521-9de9-6134-b3dd-4cf95d479851
1f198521-9de9-63c8-b3dd-4cf95d479851
1f198521-9de9-6562-b3dd-4cf95d479851
1f198521-9de9-66d4-b3dd-4cf95d479851
1f198521-9de9-6846-b3dd-4cf95d479851
1f198521-9de9-69c2-b3dd-4cf95d479851
1f198521-9de9-6b2a-b3dd-4cf95d479851
1f198521-9de9-6c88-b3dd-4cf95d479851
1f198521-9de9-6ddc-b3dd-4cf95d479851
1f198521-9de9-6f4e-b3dd-4cf95d479851
1f198521-9dea-612e-b3dd-4cf95d479851
1f198521-9dea-620a-b3dd-4cf95d479851
1f198521-9dea-62c8-b3dd-4cf95d479851
1f198521-9dea-63ae-b3dd-4cf95d479851
1f198521-9dea-652a-b3dd-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)

19dea6ce-9852-11f1-b3dd-4cf95d479851
19dea750-9852-11f1-b3dd-4cf95d479851
19dea7be-9852-11f1-b3dd-4cf95d479851
19dea822-9852-11f1-b3dd-4cf95d479851
19dea886-9852-11f1-b3dd-4cf95d479851
19dea8ea-9852-11f1-b3dd-4cf95d479851
19dea94e-9852-11f1-b3dd-4cf95d479851
19dea9bc-9852-11f1-b3dd-4cf95d479851
19deaa5c-9852-11f1-b3dd-4cf95d479851
19deab06-9852-11f1-b3dd-4cf95d479851
19deabba-9852-11f1-b3dd-4cf95d479851
19deac5a-9852-11f1-b3dd-4cf95d479851
19deacfa-9852-11f1-b3dd-4cf95d479851
19dead9a-9852-11f1-b3dd-4cf95d479851
19deae30-9852-11f1-b3dd-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)

c5ca6515-9d00-830e-87ea-5ce32bd83b97
53f46615-9d00-830e-87ea-5ce32bd83b97
f9676715-9d00-830e-87ea-5ce32bd83b97
5bad6815-9d00-830e-87ea-5ce32bd83b97
8b706915-9d00-830e-87ea-5ce32bd83b97
6cb46a15-9d00-830e-87ea-5ce32bd83b97
93c96b15-9d00-830e-87ea-5ce32bd83b97
7c846c15-9d00-830e-87ea-5ce32bd83b97
6d166d15-9d00-830e-87ea-5ce32bd83b97
b2206e15-9d00-830e-87ea-5ce32bd83b97
6aeb6f15-9d00-830e-87ea-5ce32bd83b97
f3b07115-9d00-830e-87ea-5ce32bd83b97
4a527215-9d00-830e-87ea-5ce32bd83b97
ead47315-9d00-830e-87ea-5ce32bd83b97
ad4c7415-9d00-830e-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)

d3910b09-f868-49a4-9ba1-92917c2adf7c
7cb0173f-dd54-4b7c-9d7a-5634eddb1a00
1827b2a4-02dd-45ec-bb96-e0436f89d53f
44ce9dc2-b4b5-4b69-9c79-50db001006a3
94cb8ba8-da4f-472b-b935-6d5042fff779
abc18cea-012d-40a1-92fa-023ac43366fc
e1d694ea-33ee-4c5c-8d4d-2b4451df395c
84608931-b0ed-4818-8ef0-5b870c577db5
114bcbcd-eb1f-4120-a42f-95f6fabace64
e02576da-2acb-4340-844b-367c59659ab8
1087e4f0-6839-4f4d-b970-89dab7f1bee9
66e5fbec-8137-4d75-a95c-9cdd87abd920
44a31858-a55d-4136-84ae-a99ec337a5ba
b24ba74c-fd58-4282-99b0-9c079d71bf6b
fade9746-eaa0-4574-8945-4a684284dcd0

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: