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)

019ac668-6db8-78a0-a42d-cc90e01634ba
019ac668-6db8-7a25-b9c3-ca76c619b833
019ac668-6db8-7b69-b217-614a97538b9f
019ac668-6db8-7c8c-9367-aad68f10d798
019ac668-6db8-7da6-a527-a7370b6c08c3
019ac668-6db8-7ec1-9402-bd06cf7d1de8
019ac668-6db8-7fdc-b04a-6181f448b2c0
019ac668-6db9-70f6-8fc4-754697335f07
019ac668-6db9-7211-969a-3a358822f1be
019ac668-6db9-7330-a195-06faeab95dc0
019ac668-6db9-7446-a856-cde0488282e8
019ac668-6db9-7561-9e7f-85b265fcef2f
019ac668-6db9-767b-be49-a5f9b7ede9ff
019ac668-6db9-7792-a71d-a95671fced6a
019ac668-6db9-78ad-8070-51c6d5c55091

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)

1f0cbb86-2bf6-639a-a8b7-4cf95d479851
1f0cbb86-2bf6-6520-a8b7-4cf95d479851
1f0cbb86-2bf6-6606-a8b7-4cf95d479851
1f0cbb86-2bf6-66d8-a8b7-4cf95d479851
1f0cbb86-2bf6-67a0-a8b7-4cf95d479851
1f0cbb86-2bf6-6868-a8b7-4cf95d479851
1f0cbb86-2bf6-6926-a8b7-4cf95d479851
1f0cbb86-2bf6-69e4-a8b7-4cf95d479851
1f0cbb86-2bf6-6aac-a8b7-4cf95d479851
1f0cbb86-2bf6-6b74-a8b7-4cf95d479851
1f0cbb86-2bf6-6cb4-a8b7-4cf95d479851
1f0cbb86-2bf6-6d86-a8b7-4cf95d479851
1f0cbb86-2bf6-6e4e-a8b7-4cf95d479851
1f0cbb86-2bf6-6f16-a8b7-4cf95d479851
1f0cbb86-2bf6-6fd4-a8b7-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)

786ff96a-b2d4-4578-a39e-88f6e438dcf4
5e1797c3-996e-4a44-86be-40b3c1b3c38b
43120155-a3ce-4a85-8cb2-004b3c75388c
977445c5-9c7a-42de-9523-55c5be9b06e1
0b842261-fee1-4169-9c1f-d15538dcfa47
85233964-2237-46d2-afe6-4b7c25177a04
c0d33841-6dda-4044-90bc-17f541919fda
81170a76-d001-4d03-830e-d3aa3313f5ea
71d58786-a82f-4b97-9247-a925c049a998
bd1cba18-50af-4cee-9253-a118647bc1cc
eef2fbe6-c16c-4886-82c6-9b02715543a7
fd208a27-247b-40b7-ae72-6d960bbade31
73845105-1718-4837-b41a-95dcf61797b7
5c49e821-25bf-486e-aa60-db3a2d5b50a7
21a8c0be-bcfd-45a6-b858-bd475c57c722

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)

62bf74e8-cbb8-11f0-a8b7-4cf95d479851
62bf754c-cbb8-11f0-a8b7-4cf95d479851
62bf75ba-cbb8-11f0-a8b7-4cf95d479851
62bf7628-cbb8-11f0-a8b7-4cf95d479851
62bf7696-cbb8-11f0-a8b7-4cf95d479851
62bf7704-cbb8-11f0-a8b7-4cf95d479851
62bf7768-cbb8-11f0-a8b7-4cf95d479851
62bf77cc-cbb8-11f0-a8b7-4cf95d479851
62bf783a-cbb8-11f0-a8b7-4cf95d479851
62bf789e-cbb8-11f0-a8b7-4cf95d479851
62bf7902-cbb8-11f0-a8b7-4cf95d479851
62bf7966-cbb8-11f0-a8b7-4cf95d479851
62bf79c0-cbb8-11f0-a8b7-4cf95d479851
62bf7a24-cbb8-11f0-a8b7-4cf95d479851
62bf7a88-cbb8-11f0-a8b7-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)

c6eff603-2704-8b14-87e9-5ce32bd83b97
49aef703-2704-8b14-87e9-5ce32bd83b97
06b0f803-2704-8b14-87e9-5ce32bd83b97
6ec3f903-2704-8b14-87e9-5ce32bd83b97
b185fa03-2704-8b14-87e9-5ce32bd83b97
9646fb03-2704-8b14-87e9-5ce32bd83b97
b10dfc03-2704-8b14-87e9-5ce32bd83b97
796bfd03-2704-8b14-87e9-5ce32bd83b97
31bffe03-2704-8b14-87e9-5ce32bd83b97
6611ff03-2704-8b14-87e9-5ce32bd83b97
f6820104-2704-8b14-87e9-5ce32bd83b97
fe3a0204-2704-8b14-87e9-5ce32bd83b97
4b5c0304-2704-8b14-87e9-5ce32bd83b97
5afa0404-2704-8b14-87e9-5ce32bd83b97
c44c0504-2704-8b14-87e9-5ce32bd83b97

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: