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)

01a22ef8-837d-7ce2-9bef-b1a40baef3ba
01a22ef8-837d-7e88-be15-cdb9cd9850ff
01a22ef8-837d-7fc7-bb47-069eea73d4ae
01a22ef8-837e-70e2-8e5a-cc7362344471
01a22ef8-837e-71fc-9121-a8c2fa4ce454
01a22ef8-837e-7313-8539-781614dccad3
01a22ef8-837e-7429-9662-1c5da2b959cf
01a22ef8-837e-7540-b640-a81130a6bc1a
01a22ef8-837e-7657-a45d-6e0ab139f043
01a22ef8-837e-776d-b4a3-aad78505db40
01a22ef8-837e-78e6-885c-052b36e3953e
01a22ef8-837e-7a5b-83bc-c4977f5a28ca
01a22ef8-837e-7baa-9363-67f8089884e6
01a22ef8-837e-7cde-92fa-b93706677cde
01a22ef8-837e-7dfc-aaa3-f5ebe0b6fbbb

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)

1f1ed1cd-f11d-6078-afff-4cf95d479851
1f1ed1cd-f11d-6244-afff-4cf95d479851
1f1ed1cd-f11d-633e-afff-4cf95d479851
1f1ed1cd-f11d-641a-afff-4cf95d479851
1f1ed1cd-f11d-64ec-afff-4cf95d479851
1f1ed1cd-f11d-65be-afff-4cf95d479851
1f1ed1cd-f11d-669a-afff-4cf95d479851
1f1ed1cd-f11d-6762-afff-4cf95d479851
1f1ed1cd-f11d-6834-afff-4cf95d479851
1f1ed1cd-f11d-68fc-afff-4cf95d479851
1f1ed1cd-f11d-6a64-afff-4cf95d479851
1f1ed1cd-f11d-6b40-afff-4cf95d479851
1f1ed1cd-f11d-6c12-afff-4cf95d479851
1f1ed1cd-f11d-6cda-afff-4cf95d479851
1f1ed1cd-f11d-6da2-afff-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)

df11de88-ed1c-11f1-afff-4cf95d479851
df11deec-ed1c-11f1-afff-4cf95d479851
df11df64-ed1c-11f1-afff-4cf95d479851
df11dfd2-ed1c-11f1-afff-4cf95d479851
df11e040-ed1c-11f1-afff-4cf95d479851
df11e0ae-ed1c-11f1-afff-4cf95d479851
df11e112-ed1c-11f1-afff-4cf95d479851
df11e180-ed1c-11f1-afff-4cf95d479851
df11e1e4-ed1c-11f1-afff-4cf95d479851
df11e252-ed1c-11f1-afff-4cf95d479851
df11e2b6-ed1c-11f1-afff-4cf95d479851
df11e31a-ed1c-11f1-afff-4cf95d479851
df11e374-ed1c-11f1-afff-4cf95d479851
df11e3d8-ed1c-11f1-afff-4cf95d479851
df11e43c-ed1c-11f1-afff-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)

ed90411c-1400-8f14-87ea-5ce32bd83b97
2e33421c-1400-8f14-87ea-5ce32bd83b97
2c83431c-1400-8f14-87ea-5ce32bd83b97
89e4441c-1400-8f14-87ea-5ce32bd83b97
171a451c-1400-8f14-87ea-5ce32bd83b97
e0c1461c-1400-8f14-87ea-5ce32bd83b97
857b471c-1400-8f14-87ea-5ce32bd83b97
a325481c-1400-8f14-87ea-5ce32bd83b97
c1994a1c-1400-8f14-87ea-5ce32bd83b97
8a484b1c-1400-8f14-87ea-5ce32bd83b97
0d1c4c1c-1400-8f14-87ea-5ce32bd83b97
fc274d1c-1400-8f14-87ea-5ce32bd83b97
0bfb4e1c-1400-8f14-87ea-5ce32bd83b97
956b4f1c-1400-8f14-87ea-5ce32bd83b97
601e501c-1400-8f14-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)

1fc370fa-c64d-4802-9b07-d6b1687d77ac
7d3f66be-aa0b-482b-9ade-eeb80c2707fc
d2a52904-c07d-4517-a052-e9e47da45392
8f22504b-d9df-44fb-bb39-05064c94dc1c
f132cd1a-10d9-4a0d-ab01-494964b16437
1557fb7a-b8af-4883-88c4-52d92f16ea0c
d662f38a-3f38-4909-b934-62e6eedee21b
f5ab10d8-de54-4b8e-a362-c720c48dab57
19b82cd1-74d1-42e4-864b-562b5f0e5377
53c2eb2a-b32b-454a-8b72-2f133a9199fa
66967209-bba1-4f24-971d-4a735ee4f755
709504b1-7770-45b2-80f5-c74954ab652c
69e7e296-aa98-4b08-a6c1-2c5a235cd27d
c2d3ea3c-09f7-49c7-9b00-b9c92fa69200
a27925b8-c1cc-49f4-9ab9-5532d819e023

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: