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)

01a1aee5-7e1e-7996-9cee-82ed0f9b14a3
01a1aee5-7e1e-7b3c-b0a3-bad514e5dbf1
01a1aee5-7e1e-7c88-8721-61d03345c0fa
01a1aee5-7e1e-7daf-b964-771fb3030460
01a1aee5-7e1e-7ec9-98f4-686a469aa570
01a1aee5-7e1e-7fe4-9885-40aa7c80ba04
01a1aee5-7e1f-70fe-98cb-6ee46f2d4052
01a1aee5-7e1f-7219-9f5f-f57d850a8357
01a1aee5-7e1f-7334-99bf-2dd8fef74adf
01a1aee5-7e1f-744a-8ca5-d7bc01394066
01a1aee5-7e1f-75c3-b75b-d18c7ff87680
01a1aee5-7e1f-771b-bf5c-e406b9d30cf9
01a1aee5-7e1f-7842-9887-1cffe41e9ad1
01a1aee5-7e1f-795d-b74b-1321bdddbdba
01a1aee5-7e1f-7a77-9182-f173a39f4790

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)

1f1d991f-80ff-6918-8aa7-4cf95d479851
1f1d991f-80ff-6aee-8aa7-4cf95d479851
1f1d991f-80ff-6bde-8aa7-4cf95d479851
1f1d991f-80ff-6cb0-8aa7-4cf95d479851
1f1d991f-80ff-6d82-8aa7-4cf95d479851
1f1d991f-80ff-6e54-8aa7-4cf95d479851
1f1d991f-80ff-6f1c-8aa7-4cf95d479851
1f1d991f-80ff-6fe4-8aa7-4cf95d479851
1f1d991f-8100-60ac-8aa7-4cf95d479851
1f1d991f-8100-6174-8aa7-4cf95d479851
1f1d991f-8100-62c8-8aa7-4cf95d479851
1f1d991f-8100-63ae-8aa7-4cf95d479851
1f1d991f-8100-6476-8aa7-4cf95d479851
1f1d991f-8100-653e-8aa7-4cf95d479851
1f1d991f-8100-65fc-8aa7-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)

f81006e2-d991-11f1-8aa7-4cf95d479851
f8100746-d991-11f1-8aa7-4cf95d479851
f81007aa-d991-11f1-8aa7-4cf95d479851
f810080e-d991-11f1-8aa7-4cf95d479851
f810087c-d991-11f1-8aa7-4cf95d479851
f81008e0-d991-11f1-8aa7-4cf95d479851
f810094e-d991-11f1-8aa7-4cf95d479851
f81009a8-d991-11f1-8aa7-4cf95d479851
f8100a0c-d991-11f1-8aa7-4cf95d479851
f8100a66-d991-11f1-8aa7-4cf95d479851
f8100ad4-d991-11f1-8aa7-4cf95d479851
f8100b2e-d991-11f1-8aa7-4cf95d479851
f8100b92-d991-11f1-8aa7-4cf95d479851
f8100bec-d991-11f1-8aa7-4cf95d479851
f8100c50-d991-11f1-8aa7-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)

b7080c12-d000-8613-87ea-5ce32bd83b97
45190d12-d000-8613-87ea-5ce32bd83b97
14a20e12-d000-8613-87ea-5ce32bd83b97
c8040f12-d000-8613-87ea-5ce32bd83b97
598a1012-d000-8613-87ea-5ce32bd83b97
ec3f1112-d000-8613-87ea-5ce32bd83b97
30701212-d000-8613-87ea-5ce32bd83b97
41681312-d000-8613-87ea-5ce32bd83b97
7bf01412-d000-8613-87ea-5ce32bd83b97
fb0e1612-d000-8613-87ea-5ce32bd83b97
c3511712-d000-8613-87ea-5ce32bd83b97
31a11812-d000-8613-87ea-5ce32bd83b97
98501912-d000-8613-87ea-5ce32bd83b97
2b021a12-d000-8613-87ea-5ce32bd83b97
2f961b12-d000-8613-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)

c07ba237-c064-469b-9d15-ddc9ea40a5ac
a376bea4-0e78-47dd-acff-365f2b909c27
c105d86a-0976-443f-8c0c-dc87ad1f3a95
b89bf452-8139-4e8e-bee4-4d54c5b00f19
88e01fba-1a86-4e1c-a99b-3dedf3ba4a87
a726522c-26ad-40e2-a72d-febc1a835c93
241b8225-c76d-4b07-9a62-eec6dbb5b68f
4a7560dd-225b-4cac-b0cb-7807ab940bb1
a0839a02-7e72-4ad2-9ac2-ba3628ef1eea
705cab96-5d48-4ce5-a1ea-98e80d8c7d94
5ae70563-540a-4fb6-90a9-181402d10986
1064f6a8-4f4a-4835-82a9-737fb40d456e
2045ff6b-7848-416b-b475-2d6502470423
8c490b2e-fe2f-4a37-a85c-4eb91fb7ddc0
e10f956a-addf-4d75-8a41-7853f158a6cd

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: