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)

01a024e0-53f7-7ade-bc16-2279f8868fbb
01a024e0-53f7-7cda-a087-c8e765fbe3f0
01a024e0-53f7-7e19-a7a8-b9ef0368ee91
01a024e0-53f7-7f34-9b90-fddd194669a9
01a024e0-53f8-704a-baa0-88662412fecb
01a024e0-53f8-7161-8b6d-1898a19f2a4e
01a024e0-53f8-7273-9e8c-60102ef57345
01a024e0-53f8-738a-b4a3-c2e92a0ef47a
01a024e0-53f8-74a0-9ef2-bec414a9e3fe
01a024e0-53f8-75b3-82f2-4cd8d3204931
01a024e0-53f8-76c9-b0f1-6371454aa019
01a024e0-53f8-77e0-8530-562b36718a50
01a024e0-53f8-78f2-a49d-87fad6f9a435
01a024e0-53f8-7a05-abd2-2ec690eb7957
01a024e0-53f8-7b17-b60c-5c0036aca137

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)

1f19d728-e516-68a0-a0f5-4cf95d479851
1f19d728-e516-6a6c-a0f5-4cf95d479851
1f19d728-e516-6b52-a0f5-4cf95d479851
1f19d728-e516-6c24-a0f5-4cf95d479851
1f19d728-e516-6cec-a0f5-4cf95d479851
1f19d728-e516-6daa-a0f5-4cf95d479851
1f19d728-e516-6e68-a0f5-4cf95d479851
1f19d728-e516-6f30-a0f5-4cf95d479851
1f19d728-e516-6fee-a0f5-4cf95d479851
1f19d728-e517-60ac-a0f5-4cf95d479851
1f19d728-e517-61f6-a0f5-4cf95d479851
1f19d728-e517-62c8-a0f5-4cf95d479851
1f19d728-e517-6386-a0f5-4cf95d479851
1f19d728-e517-6444-a0f5-4cf95d479851
1f19d728-e517-6502-a0f5-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)

8e5175de-9d72-11f1-a0f5-4cf95d479851
8e51764c-9d72-11f1-a0f5-4cf95d479851
8e5176ba-9d72-11f1-a0f5-4cf95d479851
8e517728-9d72-11f1-a0f5-4cf95d479851
8e5177f0-9d72-11f1-a0f5-4cf95d479851
8e517872-9d72-11f1-a0f5-4cf95d479851
8e5178e0-9d72-11f1-a0f5-4cf95d479851
8e517944-9d72-11f1-a0f5-4cf95d479851
8e5179bc-9d72-11f1-a0f5-4cf95d479851
8e517a20-9d72-11f1-a0f5-4cf95d479851
8e517a8e-9d72-11f1-a0f5-4cf95d479851
8e517af2-9d72-11f1-a0f5-4cf95d479851
8e517b60-9d72-11f1-a0f5-4cf95d479851
8e517bc4-9d72-11f1-a0f5-4cf95d479851
8e517c28-9d72-11f1-a0f5-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)

910c7910-9003-890e-87ea-5ce32bd83b97
38807a10-9003-890e-87ea-5ce32bd83b97
95657b10-9003-890e-87ea-5ce32bd83b97
82f27c10-9003-890e-87ea-5ce32bd83b97
1bd57d10-9003-890e-87ea-5ce32bd83b97
a76f7e10-9003-890e-87ea-5ce32bd83b97
29bb7f10-9003-890e-87ea-5ce32bd83b97
06c28010-9003-890e-87ea-5ce32bd83b97
d95e8110-9003-890e-87ea-5ce32bd83b97
a7718210-9003-890e-87ea-5ce32bd83b97
17d68310-9003-890e-87ea-5ce32bd83b97
29b78410-9003-890e-87ea-5ce32bd83b97
cbc08510-9003-890e-87ea-5ce32bd83b97
41f38610-9003-890e-87ea-5ce32bd83b97
6cd28710-9003-890e-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)

a2886299-f1ae-4fc2-9b8a-6dd52c4dcc41
a0487721-5f69-49ff-a67e-4822452c9df5
68609be9-ea18-4672-a154-a9f0d8f450d7
83cccaf9-f62c-40b5-9a71-c89be4b5f7d8
df72bf1c-245e-4bbf-a46c-536086f7a03b
bd0de496-364c-44df-8586-4cbca8ee5c25
1043b4b7-76ae-4e6a-8804-79988d444e76
4c11765d-15a5-4b60-ab9e-fce0b49d5faf
335c5816-965f-4053-a181-f519caf72c4f
719a84cc-d455-44d7-a74f-58feb644badc
521197b9-1b1f-4b0d-9beb-e75d9d4d64b0
dd26c714-8d14-4e25-9e93-086582521000
6bd56836-ffb0-4d28-9ac0-c7b2fb76ed3b
02f68deb-ff61-4e37-94fa-f9e755691324
066cedd3-6764-4c21-9d4a-ed98665be5e6

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: