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)

019d2c4e-6d60-7605-8dff-a205dabb8170
019d2c4e-6d60-77af-9110-60c16e72b270
019d2c4e-6d60-7913-b470-a2cc9b06c77c
019d2c4e-6d60-7a36-8f20-21fb052fb2ea
019d2c4e-6d60-7ade-89eb-b48f42f161a4
019d2c4e-6d60-7c15-a542-7718078c82ee
019d2c4e-6d60-7d34-b70b-0a5d224fd943
019d2c4e-6d60-7e52-a7c1-b1e6c23b1b85
019d2c4e-6d60-7f6d-851d-b099964210d7
019d2c4e-6d61-708c-b85a-45005854e360
019d2c4e-6d61-71a6-8d2c-9a1c6abe0e4f
019d2c4e-6d61-72c1-b25c-870298a3ef2b
019d2c4e-6d61-73e0-a3a5-5db8122324ef
019d2c4e-6d61-750f-987e-bfabd831ec83
019d2c4e-6d61-762e-bc6f-3cd211072c6b

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)

1f12964c-b11f-6084-aa46-4cf95d479851
1f12964c-b11f-6232-aa46-4cf95d479851
1f12964c-b11f-6318-aa46-4cf95d479851
1f12964c-b11f-63ea-aa46-4cf95d479851
1f12964c-b11f-64a8-aa46-4cf95d479851
1f12964c-b11f-6570-aa46-4cf95d479851
1f12964c-b11f-662e-aa46-4cf95d479851
1f12964c-b11f-66f6-aa46-4cf95d479851
1f12964c-b11f-67b4-aa46-4cf95d479851
1f12964c-b11f-687c-aa46-4cf95d479851
1f12964c-b11f-69bc-aa46-4cf95d479851
1f12964c-b11f-6a8e-aa46-4cf95d479851
1f12964c-b11f-6b4c-aa46-4cf95d479851
1f12964c-b11f-6c14-aa46-4cf95d479851
1f12964c-b11f-6cd2-aa46-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)

f638117c-3f89-4ac8-9b36-bd2e899ab90b
42fb01a2-1f9a-4c9c-b0f8-c195d7f975ed
3aaa3f95-08f3-4d60-9272-d2f5ca8d0f97
7588b7c7-ee52-4867-875f-db8acf45a628
1cc49b26-6242-4244-b3a8-7e414cd312e7
e3618eb0-40f7-46df-b95d-dbfcf37eee28
01d9e5c4-6966-4f9a-930f-30b35d069406
67a95610-ee1d-4532-826c-98fb1385504d
88d5caf4-32f6-4645-86ed-f5225eb7ef47
0c5c7b52-8fdd-4047-b990-b6bdc2d7a093
74d90caa-4bf1-4e71-bcd5-be87751e62d9
8cda74b6-0372-4ff2-94e9-5f0c447b77e6
0a045f90-99f5-458d-a656-9cc88c399805
80d3e8b7-7e51-43a8-86eb-4075ee8f0729
bcedecab-bbc9-49a7-8011-c8ea05f35286

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)

cb1201fa-2964-11f1-aa46-4cf95d479851
cb12025e-2964-11f1-aa46-4cf95d479851
cb1202b8-2964-11f1-aa46-4cf95d479851
cb12031c-2964-11f1-aa46-4cf95d479851
cb120380-2964-11f1-aa46-4cf95d479851
cb1203e4-2964-11f1-aa46-4cf95d479851
cb12043e-2964-11f1-aa46-4cf95d479851
cb1204a2-2964-11f1-aa46-4cf95d479851
cb120510-2964-11f1-aa46-4cf95d479851
cb120574-2964-11f1-aa46-4cf95d479851
cb1205e2-2964-11f1-aa46-4cf95d479851
cb12063c-2964-11f1-aa46-4cf95d479851
cb1206a0-2964-11f1-aa46-4cf95d479851
cb120704-2964-11f1-aa46-4cf95d479851
cb120768-2964-11f1-aa46-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)

9cdd8f1e-5105-8505-87ea-5ce32bd83b97
f2a4901e-5105-8505-87ea-5ce32bd83b97
4070911e-5105-8505-87ea-5ce32bd83b97
d588931e-5105-8505-87ea-5ce32bd83b97
52e9941e-5105-8505-87ea-5ce32bd83b97
e539951e-5105-8505-87ea-5ce32bd83b97
af89961e-5105-8505-87ea-5ce32bd83b97
a6a2971e-5105-8505-87ea-5ce32bd83b97
b490981e-5105-8505-87ea-5ce32bd83b97
4adb991e-5105-8505-87ea-5ce32bd83b97
7d909a1e-5105-8505-87ea-5ce32bd83b97
3cc69b1e-5105-8505-87ea-5ce32bd83b97
6ebe9c1e-5105-8505-87ea-5ce32bd83b97
597e9d1e-5105-8505-87ea-5ce32bd83b97
e3d09e1e-5105-8505-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: