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)

019c69f8-e5c5-7f5d-91ab-2a1ebbcd8044
019c69f8-e5c6-70ee-9267-d0f43b26c0aa
019c69f8-e5c6-7232-a186-a0211b6b7801
019c69f8-e5c6-7350-a971-cec7a3bc3802
019c69f8-e5c6-746f-8e77-704cacb498b0
019c69f8-e5c6-758a-afb0-d9290ae22b16
019c69f8-e5c6-76a0-a60b-30679a421898
019c69f8-e5c6-77b7-a23d-643d83bc1258
019c69f8-e5c6-78d1-8440-083d900ee003
019c69f8-e5c6-79e8-b7c5-29db4b5b4103
019c69f8-e5c6-7b03-acad-0cba766e2212
019c69f8-e5c6-7c1d-8402-0dba15fde04b
019c69f8-e5c6-7d38-893e-1a3f2d8f8891
019c69f8-e5c6-7e4e-a68d-b8c6fdd9c8d7
019c69f8-e5c6-7f65-be1a-3cd0d151be4a

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)

1f10bbd9-e10f-6036-9f35-4cf95d479851
1f10bbd9-e10f-61b2-9f35-4cf95d479851
1f10bbd9-e10f-6298-9f35-4cf95d479851
1f10bbd9-e10f-6360-9f35-4cf95d479851
1f10bbd9-e10f-6428-9f35-4cf95d479851
1f10bbd9-e10f-64f0-9f35-4cf95d479851
1f10bbd9-e10f-65ae-9f35-4cf95d479851
1f10bbd9-e10f-666c-9f35-4cf95d479851
1f10bbd9-e10f-6720-9f35-4cf95d479851
1f10bbd9-e10f-67de-9f35-4cf95d479851
1f10bbd9-e10f-691e-9f35-4cf95d479851
1f10bbd9-e10f-69f0-9f35-4cf95d479851
1f10bbd9-e10f-6aae-9f35-4cf95d479851
1f10bbd9-e10f-6b6c-9f35-4cf95d479851
1f10bbd9-e10f-6c2a-9f35-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)

6f539c91-fc6b-4036-a612-bff4fcf0565f
e61b9f1a-60ac-470a-af4c-a23ab2ba2890
c887b6df-f661-4b2f-8516-aded686201de
9ee636e5-9727-496c-89ce-cf96b2be1c13
88cba0dc-c3c6-4af8-8f9d-9075c60b045c
a1b419ff-08c2-4d31-bb86-9140c4c990e6
3d50ea99-29a3-4250-b92d-b02bafd9a7f7
496c01d8-958c-4730-91ad-6d2a29222576
ffaf38ef-0869-4994-ae73-be54ddc9f6f9
28580b61-0c79-458b-8456-2099aa38a09c
5e88aed0-e1d5-415f-8a13-ac64fff2f7ac
c7d3d849-0f9e-466a-b04a-3553ddcbec5f
06b5a2b7-da0f-44be-adb7-9ba75910e84e
79570a98-7f78-44dd-821a-58266f007b72
9e7fc5ce-e7ea-4f3e-aa5b-85f002a83f11

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)

9e110148-0bbd-11f1-9f35-4cf95d479851
9e1101b6-0bbd-11f1-9f35-4cf95d479851
9e110224-0bbd-11f1-9f35-4cf95d479851
9e110292-0bbd-11f1-9f35-4cf95d479851
9e1102f6-0bbd-11f1-9f35-4cf95d479851
9e110364-0bbd-11f1-9f35-4cf95d479851
9e1103e6-0bbd-11f1-9f35-4cf95d479851
9e11047c-0bbd-11f1-9f35-4cf95d479851
9e110512-0bbd-11f1-9f35-4cf95d479851
9e1105a8-0bbd-11f1-9f35-4cf95d479851
9e11063e-0bbd-11f1-9f35-4cf95d479851
9e1106ca-0bbd-11f1-9f35-4cf95d479851
9e110760-0bbd-11f1-9f35-4cf95d479851
9e1107e2-0bbd-11f1-9f35-4cf95d479851
9e110850-0bbd-11f1-9f35-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)

888e622d-2d01-8003-87ea-5ce32bd83b97
5a4b632d-2d01-8003-87ea-5ce32bd83b97
612c642d-2d01-8003-87ea-5ce32bd83b97
6e44652d-2d01-8003-87ea-5ce32bd83b97
5cd4662d-2d01-8003-87ea-5ce32bd83b97
5afd672d-2d01-8003-87ea-5ce32bd83b97
bbe0682d-2d01-8003-87ea-5ce32bd83b97
5d73692d-2d01-8003-87ea-5ce32bd83b97
aaff6a2d-2d01-8003-87ea-5ce32bd83b97
98146b2d-2d01-8003-87ea-5ce32bd83b97
2a4a6c2d-2d01-8003-87ea-5ce32bd83b97
6c766d2d-2d01-8003-87ea-5ce32bd83b97
a2d06e2d-2d01-8003-87ea-5ce32bd83b97
c36b6f2d-2d01-8003-87ea-5ce32bd83b97
2de6702d-2d01-8003-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: