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)

019c4156-9446-7c00-b795-02e0517645f2
019c4156-9446-7d92-9013-ec8c686483a5
019c4156-9446-7ed5-b1d7-7b0268808313
019c4156-9446-7ff8-b2f6-eac0c324149b
019c4156-9447-7113-9cda-1b72a3a3a6a5
019c4156-9447-7232-8a03-ec0f3dd9c0c6
019c4156-9447-734c-8cef-ffb6b15c8fdb
019c4156-9447-746b-8da1-0eb7497fef13
019c4156-9447-7586-a3aa-50f4518fdd4d
019c4156-9447-76a0-a10d-ea71bd25a1b6
019c4156-9447-7771-9f84-1c4188e414c2
019c4156-9447-7894-b0d3-f7b24121ae60
019c4156-9447-79af-b64f-17ff6d032ec5
019c4156-9447-7ac9-9dd9-567adfc63dcf
019c4156-9447-7be4-8990-aeb00a46888c

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)

1f1058a5-9817-665e-8118-4cf95d479851
1f1058a5-9817-6802-8118-4cf95d479851
1f1058a5-9817-68fc-8118-4cf95d479851
1f1058a5-9817-69d8-8118-4cf95d479851
1f1058a5-9817-6ab4-8118-4cf95d479851
1f1058a5-9817-6b86-8118-4cf95d479851
1f1058a5-9817-6c58-8118-4cf95d479851
1f1058a5-9817-6d20-8118-4cf95d479851
1f1058a5-9817-6df2-8118-4cf95d479851
1f1058a5-9817-6ec4-8118-4cf95d479851
1f1058a5-9818-6040-8118-4cf95d479851
1f1058a5-9818-611c-8118-4cf95d479851
1f1058a5-9818-61e4-8118-4cf95d479851
1f1058a5-9818-62b6-8118-4cf95d479851
1f1058a5-9818-6392-8118-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)

aa4d7914-a6e3-459a-8fb1-6e61923af1c2
1bc78faf-6bec-4897-8219-f2a4db5eccb1
2e71dc10-91ff-4cad-97bb-2f911421d121
dd1f966a-55a2-4738-95dc-6368e662f058
26522c63-6962-48bc-bda5-8a913f430580
325f5b7c-e59f-4961-aaa9-07358d793029
4ffe3353-6ea2-412a-946f-f169e9c7910e
79400bb9-ab4f-43bf-b713-b8445e241a5b
237c7dfb-3239-4f21-b7c4-5801058ff7d3
5b6c44aa-fcb5-4783-b1f0-bdd491f0c12a
a4ed93f1-3a18-4053-9f6a-064070343a57
b4b00a6b-7e4e-4f21-a6d3-16997b15bbb0
8442ed48-0191-4e75-86ad-541865f04ccb
8c3c44d6-679c-4f59-97c4-a69a98a00cc1
6e525dfb-2b0f-4725-8a29-72fcfe75a6b4

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)

598188ce-058a-11f1-8118-4cf95d479851
59818946-058a-11f1-8118-4cf95d479851
598189aa-058a-11f1-8118-4cf95d479851
59818a2c-058a-11f1-8118-4cf95d479851
59818acc-058a-11f1-8118-4cf95d479851
59818b4e-058a-11f1-8118-4cf95d479851
59818bc6-058a-11f1-8118-4cf95d479851
59818c2a-058a-11f1-8118-4cf95d479851
59818c8e-058a-11f1-8118-4cf95d479851
59818d06-058a-11f1-8118-4cf95d479851
59818d74-058a-11f1-8118-4cf95d479851
59818de2-058a-11f1-8118-4cf95d479851
59818e46-058a-11f1-8118-4cf95d479851
59818eb4-058a-11f1-8118-4cf95d479851
59818f18-058a-11f1-8118-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)

84d10c27-cb01-8802-87ea-5ce32bd83b97
266a0d27-cb01-8802-87ea-5ce32bd83b97
e65e0e27-cb01-8802-87ea-5ce32bd83b97
b9ba0f27-cb01-8802-87ea-5ce32bd83b97
9c081027-cb01-8802-87ea-5ce32bd83b97
b8e61127-cb01-8802-87ea-5ce32bd83b97
2c3f1327-cb01-8802-87ea-5ce32bd83b97
7da91427-cb01-8802-87ea-5ce32bd83b97
6b021527-cb01-8802-87ea-5ce32bd83b97
9d701627-cb01-8802-87ea-5ce32bd83b97
c3051727-cb01-8802-87ea-5ce32bd83b97
28001827-cb01-8802-87ea-5ce32bd83b97
d9fa1927-cb01-8802-87ea-5ce32bd83b97
861a1a27-cb01-8802-87ea-5ce32bd83b97
ccc91b27-cb01-8802-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: