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)

019f8a64-f5f4-7c3a-8692-43c93e32f24e
019f8a64-f5f4-7e2e-9577-164eefa38e59
019f8a64-f5f4-7f71-bcb7-a18f66888a11
019f8a64-f5f5-7090-9390-d13585beab10
019f8a64-f5f5-71a6-8950-e96e91076233
019f8a64-f5f5-72bd-81cf-abcbc15ec3a3
019f8a64-f5f5-73d8-8ddf-55f1343deaea
019f8a64-f5f5-74ee-9432-474c4970aa13
019f8a64-f5f5-7605-a830-faa290153176
019f8a64-f5f5-771b-b300-f7dd8eead543
019f8a64-f5f5-7832-a243-14d3c4337022
019f8a64-f5f5-7948-bcbe-708d8f947de8
019f8a64-f5f5-7a5f-93b6-9b98a8663439
019f8a64-f5f5-7b7d-8142-93ee7d8654d3
019f8a64-f5f5-7c94-b160-5cf8f02abf2e

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)

1f185e01-b491-6794-ba23-4cf95d479851
1f185e01-b491-697e-ba23-4cf95d479851
1f185e01-b491-6a78-ba23-4cf95d479851
1f185e01-b491-6b54-ba23-4cf95d479851
1f185e01-b491-6c30-ba23-4cf95d479851
1f185e01-b491-6cf8-ba23-4cf95d479851
1f185e01-b491-6dca-ba23-4cf95d479851
1f185e01-b491-6e92-ba23-4cf95d479851
1f185e01-b491-6f64-ba23-4cf95d479851
1f185e01-b492-6036-ba23-4cf95d479851
1f185e01-b492-619e-ba23-4cf95d479851
1f185e01-b492-6284-ba23-4cf95d479851
1f185e01-b492-634c-ba23-4cf95d479851
1f185e01-b492-641e-ba23-4cf95d479851
1f185e01-b492-64e6-ba23-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)

1b4925cc-85e0-11f1-ba23-4cf95d479851
1b49263a-85e0-11f1-ba23-4cf95d479851
1b49269e-85e0-11f1-ba23-4cf95d479851
1b492702-85e0-11f1-ba23-4cf95d479851
1b492766-85e0-11f1-ba23-4cf95d479851
1b4927ca-85e0-11f1-ba23-4cf95d479851
1b492842-85e0-11f1-ba23-4cf95d479851
1b4928a6-85e0-11f1-ba23-4cf95d479851
1b49290a-85e0-11f1-ba23-4cf95d479851
1b492978-85e0-11f1-ba23-4cf95d479851
1b4929dc-85e0-11f1-ba23-4cf95d479851
1b492a40-85e0-11f1-ba23-4cf95d479851
1b492aa4-85e0-11f1-ba23-4cf95d479851
1b492b12-85e0-11f1-ba23-4cf95d479851
1b492b76-85e0-11f1-ba23-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)

9a153700-9403-8b0c-87ea-5ce32bd83b97
536f3800-9403-8b0c-87ea-5ce32bd83b97
4af43900-9403-8b0c-87ea-5ce32bd83b97
64dd3a00-9403-8b0c-87ea-5ce32bd83b97
b0bb3b00-9403-8b0c-87ea-5ce32bd83b97
67e83c00-9403-8b0c-87ea-5ce32bd83b97
b45a3d00-9403-8b0c-87ea-5ce32bd83b97
cb103e00-9403-8b0c-87ea-5ce32bd83b97
0c023f00-9403-8b0c-87ea-5ce32bd83b97
03374000-9403-8b0c-87ea-5ce32bd83b97
4bf24100-9403-8b0c-87ea-5ce32bd83b97
45cd4200-9403-8b0c-87ea-5ce32bd83b97
48914300-9403-8b0c-87ea-5ce32bd83b97
40a84400-9403-8b0c-87ea-5ce32bd83b97
5fb84500-9403-8b0c-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)

ca9a4968-2004-4b6a-aefa-6a9c9c2f1b25
36cd8c77-d3e1-4cec-b4e9-0f02713458d2
294d4e27-75f3-435e-9c13-ee8fbf7e5664
38a5b512-4666-4878-a590-43baa81a0035
6ad48178-1e41-4550-9390-31d385a5e7fb
d0d4337a-df4c-46a9-a273-0e1d6e7e97fd
c95f643f-ce70-4994-bac0-a32963df1acc
d8e95991-c4f5-4d29-a9bc-e834f170fa60
f5ec6253-abfe-45d3-a169-f6682c34aa3b
604851db-5e1e-4300-adc3-c6c8e151026d
8bf6c50e-80b6-4a7a-9b5f-6a61f6f0261f
635360c2-b6dd-4614-a69a-d3bf87b4b329
c1d34c05-13d1-45ca-b72e-18777dd578bb
5b424fa2-dd74-4f63-8f6e-ad185d8743b3
62261f13-5a73-4f91-86da-fc94ad6f6f48

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: