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)

01a0e3a2-4510-7429-9099-2a9e9bcdb042
01a0e3a2-4510-75b7-92f0-b1cf32aeacce
01a0e3a2-4510-76f6-949f-fb32f3a731f6
01a0e3a2-4510-7811-b234-3db02d14371d
01a0e3a2-4510-7927-9caf-23d6ede85740
01a0e3a2-4510-7a3e-925c-7f930a893390
01a0e3a2-4510-7b54-8203-cff76a50a314
01a0e3a2-4510-7c6b-9ef0-107018b2fdc1
01a0e3a2-4510-7d82-973d-dffa1b72f0fb
01a0e3a2-4510-7e94-9f5a-5da74c5605a0
01a0e3a2-4510-7faa-9d9a-935b7592d80d
01a0e3a2-4511-70bd-b437-8b9da3306dda
01a0e3a2-4511-71d3-b4aa-c8e15551aacc
01a0e3a2-4511-72ea-ae26-f7fa6f2611bf
01a0e3a2-4511-73d8-9850-9ae7e5ae13a4

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)

1f1ba8e0-62b3-656c-8b24-4cf95d479851
1f1ba8e0-62b3-672e-8b24-4cf95d479851
1f1ba8e0-62b3-681e-8b24-4cf95d479851
1f1ba8e0-62b3-68f0-8b24-4cf95d479851
1f1ba8e0-62b3-69c2-8b24-4cf95d479851
1f1ba8e0-62b3-6a80-8b24-4cf95d479851
1f1ba8e0-62b3-6b48-8b24-4cf95d479851
1f1ba8e0-62b3-6c10-8b24-4cf95d479851
1f1ba8e0-62b3-6cd8-8b24-4cf95d479851
1f1ba8e0-62b3-6d96-8b24-4cf95d479851
1f1ba8e0-62b3-6eea-8b24-4cf95d479851
1f1ba8e0-62b3-6fbc-8b24-4cf95d479851
1f1ba8e0-62b4-607a-8b24-4cf95d479851
1f1ba8e0-62b4-6142-8b24-4cf95d479851
1f1ba8e0-62b4-6200-8b24-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)

062b42dc-ba8e-11f1-8b24-4cf95d479851
062b4340-ba8e-11f1-8b24-4cf95d479851
062b43a4-ba8e-11f1-8b24-4cf95d479851
062b43fe-ba8e-11f1-8b24-4cf95d479851
062b4458-ba8e-11f1-8b24-4cf95d479851
062b44bc-ba8e-11f1-8b24-4cf95d479851
062b4520-ba8e-11f1-8b24-4cf95d479851
062b4584-ba8e-11f1-8b24-4cf95d479851
062b45e8-ba8e-11f1-8b24-4cf95d479851
062b4656-ba8e-11f1-8b24-4cf95d479851
062b46ba-ba8e-11f1-8b24-4cf95d479851
062b4728-ba8e-11f1-8b24-4cf95d479851
062b478c-ba8e-11f1-8b24-4cf95d479851
062b47fa-ba8e-11f1-8b24-4cf95d479851
062b485e-ba8e-11f1-8b24-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)

e7cbae39-cb03-8e10-87ea-5ce32bd83b97
af46af39-cb03-8e10-87ea-5ce32bd83b97
b736b039-cb03-8e10-87ea-5ce32bd83b97
2772b139-cb03-8e10-87ea-5ce32bd83b97
f9c5b239-cb03-8e10-87ea-5ce32bd83b97
47dfb339-cb03-8e10-87ea-5ce32bd83b97
e9e7b439-cb03-8e10-87ea-5ce32bd83b97
1041b539-cb03-8e10-87ea-5ce32bd83b97
d3bab639-cb03-8e10-87ea-5ce32bd83b97
425eb739-cb03-8e10-87ea-5ce32bd83b97
26c6b839-cb03-8e10-87ea-5ce32bd83b97
5a92b939-cb03-8e10-87ea-5ce32bd83b97
193aba39-cb03-8e10-87ea-5ce32bd83b97
45bcbb39-cb03-8e10-87ea-5ce32bd83b97
b82cbc39-cb03-8e10-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)

91d4130c-d9c7-427f-8378-5b2493444f93
0a03ed1f-44b7-4838-83fb-ffdea9b0d82b
e9406df4-a6e1-44f7-a112-ebb8d5374f50
b6b4532f-667e-48ad-a116-efc30c768a21
0a32aaf0-ec91-4092-a855-932e3fd23002
0fe27ad8-2bd9-456a-b0f0-7ae53c31a044
2a9111fa-de9d-4c5e-aef2-1c1c93e8f216
67751709-9640-4b90-baeb-4a64c99b25cb
ce56a184-aad8-4a78-8120-6ad1266a8b0a
a9e09f63-c9cd-49ca-8562-c4700e6381cf
06e59251-3fc9-4959-b43b-4978307e6c47
565e556d-840e-47b1-9bc0-f4b806aae296
1d19e639-3fb6-47a3-9fd2-03601d17c644
31bfcde8-bf77-4056-a48a-60d0d7816eff
fb10c592-09d0-462f-82a8-50bfa5dc3366

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: