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)

019ef48e-ef65-7c8c-8797-07a3290da8ea
019ef48e-ef65-7e09-9c10-e1c1bc17c6fb
019ef48e-ef65-7f40-870f-968b16169d60
019ef48e-ef66-705b-b5ed-74acd4a56622
019ef48e-ef66-7171-a9a0-30c7786d0256
019ef48e-ef66-7288-9a05-eb6ee5e29525
019ef48e-ef66-739e-b980-d30eef0b808e
019ef48e-ef66-74b1-b0d0-ba9c76a3fbd6
019ef48e-ef66-75c7-9f79-0729580a74a8
019ef48e-ef66-76da-b932-8c6102929eda
019ef48e-ef66-77e8-a898-9ef570f03888
019ef48e-ef66-790b-b411-b6d3aa2ae312
019ef48e-ef66-7a1d-a582-bda4feab69d1
019ef48e-ef66-7b30-b7cc-7435146a13fc
019ef48e-ef66-7c46-94f4-b38c6d7287e3

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)

1f16f032-2e8e-6234-bc11-4cf95d479851
1f16f032-2e8e-63ce-bc11-4cf95d479851
1f16f032-2e8e-64be-bc11-4cf95d479851
1f16f032-2e8e-6590-bc11-4cf95d479851
1f16f032-2e8e-6658-bc11-4cf95d479851
1f16f032-2e8e-6720-bc11-4cf95d479851
1f16f032-2e8e-67e8-bc11-4cf95d479851
1f16f032-2e8e-68b0-bc11-4cf95d479851
1f16f032-2e8e-696e-bc11-4cf95d479851
1f16f032-2e8e-6a36-bc11-4cf95d479851
1f16f032-2e8e-6b8a-bc11-4cf95d479851
1f16f032-2e8e-6c5c-bc11-4cf95d479851
1f16f032-2e8e-6d24-bc11-4cf95d479851
1f16f032-2e8e-6de2-bc11-4cf95d479851
1f16f032-2e8e-6eaa-bc11-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)

22e8ef7c-6f03-11f1-bc11-4cf95d479851
22e8efea-6f03-11f1-bc11-4cf95d479851
22e8f058-6f03-11f1-bc11-4cf95d479851
22e8f0d0-6f03-11f1-bc11-4cf95d479851
22e8f134-6f03-11f1-bc11-4cf95d479851
22e8f1ac-6f03-11f1-bc11-4cf95d479851
22e8f21a-6f03-11f1-bc11-4cf95d479851
22e8f27e-6f03-11f1-bc11-4cf95d479851
22e8f2ec-6f03-11f1-bc11-4cf95d479851
22e8f35a-6f03-11f1-bc11-4cf95d479851
22e8f3be-6f03-11f1-bc11-4cf95d479851
22e8f422-6f03-11f1-bc11-4cf95d479851
22e8f490-6f03-11f1-bc11-4cf95d479851
22e8f4ea-6f03-11f1-bc11-4cf95d479851
22e8f562-6f03-11f1-bc11-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)

fe6da530-0a03-8e0a-87ea-5ce32bd83b97
94c6a630-0a03-8e0a-87ea-5ce32bd83b97
0855a730-0a03-8e0a-87ea-5ce32bd83b97
3e60a830-0a03-8e0a-87ea-5ce32bd83b97
cafba930-0a03-8e0a-87ea-5ce32bd83b97
73b8aa30-0a03-8e0a-87ea-5ce32bd83b97
9f41ab30-0a03-8e0a-87ea-5ce32bd83b97
2253ac30-0a03-8e0a-87ea-5ce32bd83b97
7ee0ae30-0a03-8e0a-87ea-5ce32bd83b97
997faf30-0a03-8e0a-87ea-5ce32bd83b97
986bb030-0a03-8e0a-87ea-5ce32bd83b97
fe04b130-0a03-8e0a-87ea-5ce32bd83b97
d445b230-0a03-8e0a-87ea-5ce32bd83b97
5650b330-0a03-8e0a-87ea-5ce32bd83b97
2ce3b430-0a03-8e0a-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)

8e0758bc-5557-43c9-b0f6-85e7fcd69259
71fadcae-42bc-4e98-9112-4e687fb4d6ff
4ab85b24-a70d-40c8-97c2-fe941b34b6b8
a97c6d37-a113-43f0-9d55-46b29b76e5d4
45f2b5b3-1eba-40b7-bbb9-7cabd347ff8b
69b24ce4-f5c4-46d0-b311-b992d88e0efd
8f92e2fb-19ca-4920-941f-d1c17ebb67a1
03317309-e4a4-482a-93a1-e40abb0b5eb8
1fda072d-1e03-425d-8037-4838b15911f2
3c0c170f-db3e-4046-abe8-48a4e97dec45
a13725d9-41b7-443e-9c24-945bd9f20c0c
4e0d9ec4-7f3f-466e-8097-1489839ee177
5780eb59-40f9-4819-82ed-0b4e404c933c
2240d06e-c209-421b-baa3-21dfb7cc0b6a
f2ac81c4-1902-4baf-9deb-e4d9b0cc76c0

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: