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)

0192b2f0-ee98-7ba2-b7a7-7e29e630e75e
0192b2f0-ee98-7d4c-a985-d291c08daf94
0192b2f0-ee98-7e90-9a71-050fe7c107f3
0192b2f0-ee98-7fb3-83bb-64dbd2704a82
0192b2f0-ee99-70d1-a2a0-d3738f9bf795
0192b2f0-ee99-71ec-a5e8-61aabd570ee2
0192b2f0-ee99-730b-84b8-14eaf2b9e3ab
0192b2f0-ee99-7425-9171-9ece5f0e91f8
0192b2f0-ee99-7540-8983-fac084ca425b
0192b2f0-ee99-765b-956f-7ce4b6cd4442
0192b2f0-ee99-7779-9b58-55ed0c776043
0192b2f0-ee99-7894-bcab-85c13dfbc620
0192b2f0-ee99-79af-9ead-78a8f9c66f52
0192b2f0-ee99-7ac5-8e8f-3f32d7ef04a6
0192b2f0-ee99-7be8-9b58-12a3430be03a

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)

1ef903ff-6e99-6a96-80f7-4cf95d479851
1ef903ff-6e99-6c30-80f7-4cf95d479851
1ef903ff-6e99-6d16-80f7-4cf95d479851
1ef903ff-6e99-6dde-80f7-4cf95d479851
1ef903ff-6e99-6e9c-80f7-4cf95d479851
1ef903ff-6e99-6f5a-80f7-4cf95d479851
1ef903ff-6e9a-6018-80f7-4cf95d479851
1ef903ff-6e9a-60d6-80f7-4cf95d479851
1ef903ff-6e9a-618a-80f7-4cf95d479851
1ef903ff-6e9a-6248-80f7-4cf95d479851
1ef903ff-6e9a-6388-80f7-4cf95d479851
1ef903ff-6e9a-6450-80f7-4cf95d479851
1ef903ff-6e9a-6504-80f7-4cf95d479851
1ef903ff-6e9a-65c2-80f7-4cf95d479851
1ef903ff-6e9a-6676-80f7-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)

da5817eb-b604-4b11-8bf2-012b1feed1ba
68e9f46c-16cb-426c-b7f5-1234041ed13a
da2b972c-f72b-4474-8a95-204827524123
dc06a1c0-8208-4778-8baf-d195ba92a06c
6270b2e5-1695-4834-a248-115331c534b7
99f8dd9b-0df3-49a2-be05-e8b867a93f19
ee52ea8c-8e03-4607-83a6-c975252c98c6
c9ddffa2-70c1-4b3c-a5c8-bd073a6a279b
a7399185-d11f-4c8c-9faa-234d0d06d9f1
271deda3-82d1-4612-89da-aa6829eb2454
9f9d5fe3-c131-46b4-b326-5b69f2e8b8ba
52300189-384c-4a69-bea7-ddb57fafa6d0
56a065a4-ef36-4215-98f5-87dc2415ab43
11abf76d-6dbf-4581-8d49-4868d4147702
541e5d9f-b8f6-4131-aca2-741b99d118ac

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)

f6e9ab94-903f-11ef-80f7-4cf95d479851
f6e9abf8-903f-11ef-80f7-4cf95d479851
f6e9ac52-903f-11ef-80f7-4cf95d479851
f6e9acb6-903f-11ef-80f7-4cf95d479851
f6e9ad10-903f-11ef-80f7-4cf95d479851
f6e9ad6a-903f-11ef-80f7-4cf95d479851
f6e9adce-903f-11ef-80f7-4cf95d479851
f6e9ae28-903f-11ef-80f7-4cf95d479851
f6e9ae8c-903f-11ef-80f7-4cf95d479851
f6e9aef0-903f-11ef-80f7-4cf95d479851
f6e9af54-903f-11ef-80f7-4cf95d479851
f6e9afb8-903f-11ef-80f7-4cf95d479851
f6e9b012-903f-11ef-80f7-4cf95d479851
f6e9b076-903f-11ef-80f7-4cf95d479851
f6e9b0da-903f-11ef-80f7-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)

de21291b-018d-8128-87e8-5ce32bd83b96
98632a1b-018d-8128-87e8-5ce32bd83b96
c18a2b1b-018d-8128-87e8-5ce32bd83b96
11122c1b-018d-8128-87e8-5ce32bd83b96
60542d1b-018d-8128-87e8-5ce32bd83b96
1d712e1b-018d-8128-87e8-5ce32bd83b96
fc6d2f1b-018d-8128-87e8-5ce32bd83b96
6c64311b-018d-8128-87e8-5ce32bd83b96
13a2321b-018d-8128-87e8-5ce32bd83b96
2099331b-018d-8128-87e8-5ce32bd83b96
425d341b-018d-8128-87e8-5ce32bd83b96
9222351b-018d-8128-87e8-5ce32bd83b96
5d4f361b-018d-8128-87e8-5ce32bd83b96
2913371b-018d-8128-87e8-5ce32bd83b96
93a2381b-018d-8128-87e8-5ce32bd83b96

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

An 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

An UUIDv3 is made out of a MD5 hash and an 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: