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)

01a0ef0d-9bfa-7c5b-94a1-b06f541436a1
01a0ef0d-9bfa-7e09-a742-70f537d07af7
01a0ef0d-9bfa-7f4c-9854-a6039bce2211
01a0ef0d-9bfb-7067-a5a6-7e5bf2aa6225
01a0ef0d-9bfb-7182-8196-a09ea52b5c23
01a0ef0d-9bfb-7298-8382-07636eead11c
01a0ef0d-9bfb-73af-877f-bb36a9701f42
01a0ef0d-9bfb-74c9-9b49-c772ad288607
01a0ef0d-9bfb-75e0-9235-bd7da86a2899
01a0ef0d-9bfb-76f6-b8ec-af531aae5e0b
01a0ef0d-9bfb-780d-b7fd-888f969d7107
01a0ef0d-9bfb-7923-8906-e856b90a67d6
01a0ef0d-9bfb-7a3a-a6d4-94312da754dc
01a0ef0d-9bfb-7b5d-8324-b57f7a6b3062
01a0ef0d-9bfb-7c77-b576-2bcd80bafa5c

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)

1f1bc4c1-71e6-60e6-adba-4cf95d479851
1f1bc4c1-71e6-62c6-adba-4cf95d479851
1f1bc4c1-71e6-63a2-adba-4cf95d479851
1f1bc4c1-71e6-6474-adba-4cf95d479851
1f1bc4c1-71e6-653c-adba-4cf95d479851
1f1bc4c1-71e6-65fa-adba-4cf95d479851
1f1bc4c1-71e6-66c2-adba-4cf95d479851
1f1bc4c1-71e6-6780-adba-4cf95d479851
1f1bc4c1-71e6-683e-adba-4cf95d479851
1f1bc4c1-71e6-68fc-adba-4cf95d479851
1f1bc4c1-71e6-6a46-adba-4cf95d479851
1f1bc4c1-71e6-6b0e-adba-4cf95d479851
1f1bc4c1-71e6-6bcc-adba-4cf95d479851
1f1bc4c1-71e6-6c8a-adba-4cf95d479851
1f1bc4c1-71e6-6d48-adba-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)

171e6e24-bc4c-11f1-adba-4cf95d479851
171e6e92-bc4c-11f1-adba-4cf95d479851
171e6ef6-bc4c-11f1-adba-4cf95d479851
171e6f5a-bc4c-11f1-adba-4cf95d479851
171e6fb4-bc4c-11f1-adba-4cf95d479851
171e7018-bc4c-11f1-adba-4cf95d479851
171e707c-bc4c-11f1-adba-4cf95d479851
171e70e0-bc4c-11f1-adba-4cf95d479851
171e713a-bc4c-11f1-adba-4cf95d479851
171e71b2-bc4c-11f1-adba-4cf95d479851
171e7216-bc4c-11f1-adba-4cf95d479851
171e727a-bc4c-11f1-adba-4cf95d479851
171e72de-bc4c-11f1-adba-4cf95d479851
171e7338-bc4c-11f1-adba-4cf95d479851
171e7392-bc4c-11f1-adba-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)

06b1a801-0505-8011-87ea-5ce32bd83b97
6f94a901-0505-8011-87ea-5ce32bd83b97
bddeab01-0505-8011-87ea-5ce32bd83b97
5a57ac01-0505-8011-87ea-5ce32bd83b97
2dc0ad01-0505-8011-87ea-5ce32bd83b97
387fae01-0505-8011-87ea-5ce32bd83b97
dcafaf01-0505-8011-87ea-5ce32bd83b97
0fdab001-0505-8011-87ea-5ce32bd83b97
f2a7b101-0505-8011-87ea-5ce32bd83b97
766fb201-0505-8011-87ea-5ce32bd83b97
d6c4b301-0505-8011-87ea-5ce32bd83b97
57a9b401-0505-8011-87ea-5ce32bd83b97
ea59b501-0505-8011-87ea-5ce32bd83b97
1e1fb601-0505-8011-87ea-5ce32bd83b97
239bb701-0505-8011-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)

e023c200-2a16-45ca-8d53-ce6c8cfd69da
2846f2e6-4441-4445-9c7b-0f2a34c7ae93
882a4340-0427-40f5-afb1-165ccbf20b4d
7d8f35dd-6272-4dd6-9786-ae5ab8c39610
677a5036-0bfc-461c-8124-efe0779ceeda
b537c53c-3f53-403f-adf2-a7f7209914dc
b9578df1-9af0-43d3-a169-5dc60612ec29
aa8efa2d-9fbc-47cf-a85a-8c1b14a4c404
4a2a22e2-2a13-47c5-9618-4506b7627204
124d7498-f9a7-4c82-bb2c-3fcd9d2eec33
27ef485d-fa91-48a1-8672-a4c0e87819f3
731a8114-48a3-411a-8dd7-987d401d1099
4fdc2a5e-884a-4bde-8554-629d7e598504
fc9b57a8-5a71-4395-876d-baeac5cb055d
05a7ec31-46b7-473c-9809-95b0ee5588ed

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: