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)

019eb4d3-e0d8-789c-a385-f0108341ddfd
019eb4d3-e0d8-7a6b-9853-dba59b385c9e
019eb4d3-e0d8-7baa-a7da-181282b0991d
019eb4d3-e0d8-7cc5-bd54-6b3f3f02f37e
019eb4d3-e0d8-7ddc-a926-223ffcffd92c
019eb4d3-e0d8-7ef2-8353-f1248c17a769
019eb4d3-e0d8-7005-9b6c-5f674051045d
019eb4d3-e0d9-7144-b644-2b2479c39d3a
019eb4d3-e0d9-72cd-8b8d-0703f73ff5b8
019eb4d3-e0d9-7419-ba6c-d1d0f461596f
019eb4d3-e0d9-7538-ba1a-759128943893
019eb4d3-e0d9-7652-bd67-7fb8035754fd
019eb4d3-e0d9-776d-ba09-8fde80c2ded4
019eb4d3-e0d9-7884-8bae-77d4750f2def
019eb4d3-e0d9-799a-9c99-715f005da902

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)

1f16549a-8007-689c-904e-4cf95d479851
1f16549a-8007-6a72-904e-4cf95d479851
1f16549a-8007-6b76-904e-4cf95d479851
1f16549a-8007-6c52-904e-4cf95d479851
1f16549a-8007-6d24-904e-4cf95d479851
1f16549a-8007-6df6-904e-4cf95d479851
1f16549a-8007-6ec8-904e-4cf95d479851
1f16549a-8007-6f9a-904e-4cf95d479851
1f16549a-8008-6062-904e-4cf95d479851
1f16549a-8008-613e-904e-4cf95d479851
1f16549a-8008-6292-904e-4cf95d479851
1f16549a-8008-6382-904e-4cf95d479851
1f16549a-8008-6454-904e-4cf95d479851
1f16549a-8008-6530-904e-4cf95d479851
1f16549a-8008-6602-904e-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)

a80086f2-6549-11f1-904e-4cf95d479851
a8008756-6549-11f1-904e-4cf95d479851
a80087c4-6549-11f1-904e-4cf95d479851
a8008828-6549-11f1-904e-4cf95d479851
a8008896-6549-11f1-904e-4cf95d479851
a800890e-6549-11f1-904e-4cf95d479851
a8008972-6549-11f1-904e-4cf95d479851
a80089d6-6549-11f1-904e-4cf95d479851
a8008a3a-6549-11f1-904e-4cf95d479851
a8008a94-6549-11f1-904e-4cf95d479851
a8008b02-6549-11f1-904e-4cf95d479851
a8008b5c-6549-11f1-904e-4cf95d479851
a8008bc0-6549-11f1-904e-4cf95d479851
a8008c24-6549-11f1-904e-4cf95d479851
a8008c88-6549-11f1-904e-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)

6e0b1519-ee00-820a-87ea-5ce32bd83b97
a37f1619-ee00-820a-87ea-5ce32bd83b97
34ac1719-ee00-820a-87ea-5ce32bd83b97
d4bd1819-ee00-820a-87ea-5ce32bd83b97
6b511919-ee00-820a-87ea-5ce32bd83b97
54eb1a19-ee00-820a-87ea-5ce32bd83b97
81691b19-ee00-820a-87ea-5ce32bd83b97
a0661c19-ee00-820a-87ea-5ce32bd83b97
4a431d19-ee00-820a-87ea-5ce32bd83b97
7b2f1e19-ee00-820a-87ea-5ce32bd83b97
e7201f19-ee00-820a-87ea-5ce32bd83b97
1df62019-ee00-820a-87ea-5ce32bd83b97
37ad2119-ee00-820a-87ea-5ce32bd83b97
ad512219-ee00-820a-87ea-5ce32bd83b97
59162319-ee00-820a-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)

86b19d95-3b9b-4db5-b0f1-0970feb5caab
3b263807-08c5-4ac3-8806-767de5190318
9e112b8d-a933-49e9-b559-28b190e4b8bb
55b695fc-904e-4fdf-9679-6d4deeecdae5
83461a9b-b72c-45a3-aa0a-8bca046a5ead
28798d88-7c6e-4083-9d4d-af57131a4ad9
9ecbb043-d97d-46c5-b368-d50bb89211d2
f5c702d6-f8c2-4e5f-90c2-6182901247db
2c2e9633-9dc7-4525-bb3b-525208f9e3e9
1bfa2cf8-d5ef-460e-89e5-14d6b6028590
0da44adb-bef6-4754-afe0-ef022acba315
03515779-8133-4015-a864-1886b2e482be
0914cf7b-37a3-47cb-86b1-d694b6da2092
924e7e6f-b611-45bd-934d-cda6680feded
15127044-cb11-43ea-abcb-3a7a541a9ba3

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: