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)

019bbf1d-5cc6-73cb-bc36-d4f33aeaba6a
019bbf1d-5cc6-7582-98a5-507b9a282efe
019bbf1d-5cc6-76c5-8221-150e93439315
019bbf1d-5cc6-77e8-9250-a2e845e5e3d8
019bbf1d-5cc6-78fe-94a4-bd499dbd9134
019bbf1d-5cc6-7a15-b4b8-73f086e4c0b6
019bbf1d-5cc6-7b2c-a509-d9ef2f3a2530
019bbf1d-5cc6-7c4a-8449-7b7123de53a6
019bbf1d-5cc6-7d61-98fc-16f57667f5bf
019bbf1d-5cc6-7e7b-9de7-9c19f4e8eb84
019bbf1d-5cc6-7f92-a268-ab02bcb6b467
019bbf1d-5cc7-70a8-ba36-f1e9a93ad6c6
019bbf1d-5cc7-71bf-9b74-3c8f961cd333
019bbf1d-5cc7-72d5-8780-71ec5c1f7701
019bbf1d-5cc7-73ec-a637-b67670390cd2

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)

1f0f1ab7-e796-6c52-a2c0-4cf95d479851
1f0f1ab7-e796-6df6-a2c0-4cf95d479851
1f0f1ab7-e796-6ee6-a2c0-4cf95d479851
1f0f1ab7-e796-6fb8-a2c0-4cf95d479851
1f0f1ab7-e797-608a-a2c0-4cf95d479851
1f0f1ab7-e797-6152-a2c0-4cf95d479851
1f0f1ab7-e797-621a-a2c0-4cf95d479851
1f0f1ab7-e797-62e2-a2c0-4cf95d479851
1f0f1ab7-e797-63aa-a2c0-4cf95d479851
1f0f1ab7-e797-6472-a2c0-4cf95d479851
1f0f1ab7-e797-65bc-a2c0-4cf95d479851
1f0f1ab7-e797-668e-a2c0-4cf95d479851
1f0f1ab7-e797-6756-a2c0-4cf95d479851
1f0f1ab7-e797-6814-a2c0-4cf95d479851
1f0f1ab7-e797-68dc-a2c0-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)

281cdb13-2e1c-40a4-95c9-bea54a2e4728
c3187194-83db-41ce-a695-cfae464e3e7c
9fa3a9ed-9574-4c41-a008-57bda5bc0968
a7179a07-c5a7-4051-9862-7031f612de10
e028f030-7202-4b36-9b83-2d4e3546386d
4fdb18d3-4b41-44fd-8d6b-10cc692a67cc
5061387a-e451-4e5e-a8e2-5b857c9f8a54
eb5a382b-3fd0-45f5-9f92-804b16e7cc9c
fd844d69-6426-4d15-9773-890c402849c4
8ad2319c-8661-4de2-a7ce-1e308d6f2ef0
28231f5e-00fc-48d1-9e6f-364c7fdb3c10
70e68842-542a-4eeb-94a2-8d33c38daac3
2ba4de2c-cbb6-49fe-82b8-b3a9b92e5f6a
3ed469e0-8670-48e0-816f-5565c391706e
781d651f-cf97-4232-8b2e-ddc9b8734a76

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)

7e797df0-f1ab-11f0-a2c0-4cf95d479851
7e797e54-f1ab-11f0-a2c0-4cf95d479851
7e797eb8-f1ab-11f0-a2c0-4cf95d479851
7e797f12-f1ab-11f0-a2c0-4cf95d479851
7e797f76-f1ab-11f0-a2c0-4cf95d479851
7e797fd0-f1ab-11f0-a2c0-4cf95d479851
7e798034-f1ab-11f0-a2c0-4cf95d479851
7e7980a2-f1ab-11f0-a2c0-4cf95d479851
7e7980fc-f1ab-11f0-a2c0-4cf95d479851
7e798156-f1ab-11f0-a2c0-4cf95d479851
7e7981c4-f1ab-11f0-a2c0-4cf95d479851
7e798228-f1ab-11f0-a2c0-4cf95d479851
7e798296-f1ab-11f0-a2c0-4cf95d479851
7e7982fa-f1ab-11f0-a2c0-4cf95d479851
7e79835e-f1ab-11f0-a2c0-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)

0ede351f-2e00-8f00-87ea-5ce32bd83b97
8175361f-2e00-8f00-87ea-5ce32bd83b97
93e7371f-2e00-8f00-87ea-5ce32bd83b97
d88f381f-2e00-8f00-87ea-5ce32bd83b97
e1b0391f-2e00-8f00-87ea-5ce32bd83b97
d9bd3a1f-2e00-8f00-87ea-5ce32bd83b97
4aa33b1f-2e00-8f00-87ea-5ce32bd83b97
e2fb3c1f-2e00-8f00-87ea-5ce32bd83b97
7e223d1f-2e00-8f00-87ea-5ce32bd83b97
aa363e1f-2e00-8f00-87ea-5ce32bd83b97
5d973f1f-2e00-8f00-87ea-5ce32bd83b97
6e48401f-2e00-8f00-87ea-5ce32bd83b97
c409411f-2e00-8f00-87ea-5ce32bd83b97
032a431f-2e00-8f00-87ea-5ce32bd83b97
3dd4441f-2e00-8f00-87ea-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

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: