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)

01a1aede-f881-74ea-be4c-ad3996664203
01a1aede-f881-766b-9d60-bcfe78591597
01a1aede-f881-77aa-98d3-f3c58f3948c7
01a1aede-f881-78c9-a2c4-715f8e69f310
01a1aede-f881-79e4-bed1-5aad2dd3eada
01a1aede-f881-7afa-84eb-a62027955088
01a1aede-f881-7c15-bf1b-144e6ecdc551
01a1aede-f881-7d2c-be34-1c3ebfadf20d
01a1aede-f881-7e46-8e04-7e83208e9469
01a1aede-f881-7f5d-adf2-fffa38db937b
01a1aede-f882-7073-a95b-36a1545640e3
01a1aede-f882-7196-925e-c32a4fefc2b7
01a1aede-f882-72d1-8e8e-227e394bb477
01a1aede-f882-7446-b549-caf5f6aeba65
01a1aede-f882-7596-8693-4b1ab736dd4e

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)

1f1d990f-94ca-67fa-8aa7-4cf95d479851
1f1d990f-94ca-69b2-8aa7-4cf95d479851
1f1d990f-94ca-6aac-8aa7-4cf95d479851
1f1d990f-94ca-6b7e-8aa7-4cf95d479851
1f1d990f-94ca-6c50-8aa7-4cf95d479851
1f1d990f-94ca-6d18-8aa7-4cf95d479851
1f1d990f-94ca-6de0-8aa7-4cf95d479851
1f1d990f-94ca-6ea8-8aa7-4cf95d479851
1f1d990f-94ca-6f70-8aa7-4cf95d479851
1f1d990f-94cb-6038-8aa7-4cf95d479851
1f1d990f-94cb-6182-8aa7-4cf95d479851
1f1d990f-94cb-6254-8aa7-4cf95d479851
1f1d990f-94cb-631c-8aa7-4cf95d479851
1f1d990f-94cb-63e4-8aa7-4cf95d479851
1f1d990f-94cb-64b6-8aa7-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)

f94cb59c-d990-11f1-8aa7-4cf95d479851
f94cb60a-d990-11f1-8aa7-4cf95d479851
f94cb678-d990-11f1-8aa7-4cf95d479851
f94cb6dc-d990-11f1-8aa7-4cf95d479851
f94cb740-d990-11f1-8aa7-4cf95d479851
f94cb7ae-d990-11f1-8aa7-4cf95d479851
f94cb812-d990-11f1-8aa7-4cf95d479851
f94cb876-d990-11f1-8aa7-4cf95d479851
f94cb8da-d990-11f1-8aa7-4cf95d479851
f94cb93e-d990-11f1-8aa7-4cf95d479851
f94cb9ac-d990-11f1-8aa7-4cf95d479851
f94cba10-d990-11f1-8aa7-4cf95d479851
f94cba74-d990-11f1-8aa7-4cf95d479851
f94cbad8-d990-11f1-8aa7-4cf95d479851
f94cbb3c-d990-11f1-8aa7-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)

c5f1a00a-c900-8613-87ea-5ce32bd83b97
c404a10a-c900-8613-87ea-5ce32bd83b97
4e82a20a-c900-8613-87ea-5ce32bd83b97
5b20a30a-c900-8613-87ea-5ce32bd83b97
9fd2a40a-c900-8613-87ea-5ce32bd83b97
5d43a50a-c900-8613-87ea-5ce32bd83b97
1780a60a-c900-8613-87ea-5ce32bd83b97
c3d9a70a-c900-8613-87ea-5ce32bd83b97
186da80a-c900-8613-87ea-5ce32bd83b97
092ea90a-c900-8613-87ea-5ce32bd83b97
1c57aa0a-c900-8613-87ea-5ce32bd83b97
2316ab0a-c900-8613-87ea-5ce32bd83b97
0003ac0a-c900-8613-87ea-5ce32bd83b97
0018ae0a-c900-8613-87ea-5ce32bd83b97
bd5eaf0a-c900-8613-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)

8e452ed4-9b82-4787-90c3-7f2cf4f0f68f
edc7ed60-fe5c-4da5-8f25-372cb38ee2ca
3c915fe3-efd4-4ada-b420-08ac48d85316
00fe2c1f-5096-4929-8aee-430456af75fc
e8b9244d-d4cc-4f50-9dcd-bff981688a9f
b890d01b-98c7-4c16-b779-94092d0097cd
3d50f829-bacd-4e43-99f4-8127747abfca
29e203ff-7071-4ea9-b604-d805a5742741
e0e8c9d1-143d-4994-a199-904b8a70dd12
27d604c7-14e8-412a-a8a4-203b3b40b14b
9f6e1f95-eae5-4dbc-b2ff-0cfc2eb1dc18
caae4c5f-eb67-4090-b69f-0bf884113c4e
922e5537-9746-40a6-966c-bce645aab7ec
f191a0db-6b19-47e7-ac98-51f5434f554b
486ed39d-aee3-4824-a124-e113f6dddddc

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: