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)

01a0c06c-2d89-723a-86d1-28875ec9b8ff
01a0c06c-2d89-7400-9759-054eed81b5de
01a0c06c-2d89-753c-bb77-afcac8bb0e29
01a0c06c-2d89-765b-ab49-c037f6437ae5
01a0c06c-2d89-7775-b27b-c3d025c2ae98
01a0c06c-2d89-7890-b7e3-739c8c5fd6d3
01a0c06c-2d89-79a6-9afa-98c6cbef63d9
01a0c06c-2d89-7ac1-8481-f303ad4ea626
01a0c06c-2d89-7bd8-b56f-70b374b17519
01a0c06c-2d89-7cee-a73a-77f709304e1b
01a0c06c-2d89-7e05-9541-6dc503c06db8
01a0c06c-2d89-7f1b-9e1d-2b5cee7ce425
01a0c06c-2d8a-703a-b10e-77e163b7ca43
01a0c06c-2d8a-7154-97ce-04a40b973ab3
01a0c06c-2d8a-726b-9101-3e51a1886156

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)

1f1b52e9-5342-69c2-bca1-4cf95d479851
1f1b52e9-5342-6b66-bca1-4cf95d479851
1f1b52e9-5342-6c4c-bca1-4cf95d479851
1f1b52e9-5342-6d14-bca1-4cf95d479851
1f1b52e9-5342-6de6-bca1-4cf95d479851
1f1b52e9-5342-6eae-bca1-4cf95d479851
1f1b52e9-5342-6f76-bca1-4cf95d479851
1f1b52e9-5343-603e-bca1-4cf95d479851
1f1b52e9-5343-6106-bca1-4cf95d479851
1f1b52e9-5343-61c4-bca1-4cf95d479851
1f1b52e9-5343-62fa-bca1-4cf95d479851
1f1b52e9-5343-63d6-bca1-4cf95d479851
1f1b52e9-5343-64a8-bca1-4cf95d479851
1f1b52e9-5343-6566-bca1-4cf95d479851
1f1b52e9-5343-6624-bca1-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)

9534370a-b52e-11f1-bca1-4cf95d479851
95343778-b52e-11f1-bca1-4cf95d479851
953437dc-b52e-11f1-bca1-4cf95d479851
9534384a-b52e-11f1-bca1-4cf95d479851
953438b8-b52e-11f1-bca1-4cf95d479851
9534391c-b52e-11f1-bca1-4cf95d479851
95343980-b52e-11f1-bca1-4cf95d479851
953439e4-b52e-11f1-bca1-4cf95d479851
95343a3e-b52e-11f1-bca1-4cf95d479851
95343aa2-b52e-11f1-bca1-4cf95d479851
95343b10-b52e-11f1-bca1-4cf95d479851
95343b74-b52e-11f1-bca1-4cf95d479851
95343bd8-b52e-11f1-bca1-4cf95d479851
95343c46-b52e-11f1-bca1-4cf95d479851
95343caa-b52e-11f1-bca1-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)

9fad270a-b604-8710-87ea-5ce32bd83b97
2db5280a-b604-8710-87ea-5ce32bd83b97
29722a0a-b604-8710-87ea-5ce32bd83b97
494e2b0a-b604-8710-87ea-5ce32bd83b97
98642c0a-b604-8710-87ea-5ce32bd83b97
d1a32d0a-b604-8710-87ea-5ce32bd83b97
34cc2e0a-b604-8710-87ea-5ce32bd83b97
acd22f0a-b604-8710-87ea-5ce32bd83b97
a832300a-b604-8710-87ea-5ce32bd83b97
fa33310a-b604-8710-87ea-5ce32bd83b97
f925320a-b604-8710-87ea-5ce32bd83b97
2dee330a-b604-8710-87ea-5ce32bd83b97
76e0340a-b604-8710-87ea-5ce32bd83b97
f93e350a-b604-8710-87ea-5ce32bd83b97
bf36360a-b604-8710-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)

f27dc956-d849-43a5-b026-7177ccbc4e9a
ae9b6f5e-bb77-4835-9100-6ef400341512
f0fbc976-0521-4b7b-8a76-ee6b27ee8209
b828a90e-ec60-4114-aa3a-7610e59bd4d1
760c74dd-6ff7-44bb-a7e7-e070cfaae3c0
5c20b95f-ceeb-4200-b41e-e654661f7d7d
c7ab52bb-55aa-4d1b-afa2-4a370a4d91e5
23fc073b-1130-4e37-944e-04deb7357e6a
3deba7f8-5369-44c7-8885-05661a0f8bc6
f891c05f-4580-4c71-a8bd-9c160686f655
6e8f1fa6-fd2d-46d2-8f4a-07d8e0dfe106
9837f230-6ada-454a-8384-de100436fadd
73e9e282-c1ae-4f42-88d1-e646d4f14512
cddd64f1-e6f6-4e9f-92f7-f00fcd20b264
c7d19faa-b123-4313-bfdb-abd60aab7fcb

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: