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)

01a18f70-7c9d-7842-954a-01ea10c894b7
01a18f70-7c9d-7a63-b6fe-e67416a5b9bc
01a18f70-7c9d-7bb7-a33b-bf991c027579
01a18f70-7c9d-7cda-a844-0856dbd06baa
01a18f70-7c9d-7df8-85ad-146f883f10d4
01a18f70-7c9d-7f13-be61-6d16f7a7f5ce
01a18f70-7c9e-7036-9129-63a9982ce358
01a18f70-7c9e-7150-95c1-49d447d26f50
01a18f70-7c9e-726b-adf1-a9ebabfd838f
01a18f70-7c9e-7386-97f2-e97ee5108b84
01a18f70-7c9e-7503-9f45-8e5409417e79
01a18f70-7c9e-7657-b158-c99756993c5f
01a18f70-7c9e-7775-bf3f-05424e42280c
01a18f70-7c9e-788c-8c7e-8fcdc2c9fd15
01a18f70-7c9e-79a2-9138-83a16306225d

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)

1f1d4c52-da85-6006-95e6-4cf95d479851
1f1d4c52-da85-643e-95e6-4cf95d479851
1f1d4c52-da85-654c-95e6-4cf95d479851
1f1d4c52-da85-6628-95e6-4cf95d479851
1f1d4c52-da85-66fa-95e6-4cf95d479851
1f1d4c52-da85-67c2-95e6-4cf95d479851
1f1d4c52-da85-6894-95e6-4cf95d479851
1f1d4c52-da85-6966-95e6-4cf95d479851
1f1d4c52-da85-6a2e-95e6-4cf95d479851
1f1d4c52-da85-6af6-95e6-4cf95d479851
1f1d4c52-da85-6c68-95e6-4cf95d479851
1f1d4c52-da85-6d44-95e6-4cf95d479851
1f1d4c52-da85-6e16-95e6-4cf95d479851
1f1d4c52-da85-6ed4-95e6-4cf95d479851
1f1d4c52-da85-6f9c-95e6-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)

2da86096-d4c5-11f1-95e6-4cf95d479851
2da860fa-d4c5-11f1-95e6-4cf95d479851
2da8615e-d4c5-11f1-95e6-4cf95d479851
2da861c2-d4c5-11f1-95e6-4cf95d479851
2da86226-d4c5-11f1-95e6-4cf95d479851
2da86280-d4c5-11f1-95e6-4cf95d479851
2da862e4-d4c5-11f1-95e6-4cf95d479851
2da8633e-d4c5-11f1-95e6-4cf95d479851
2da863ac-d4c5-11f1-95e6-4cf95d479851
2da86410-d4c5-11f1-95e6-4cf95d479851
2da864f6-d4c5-11f1-95e6-4cf95d479851
2da8656e-d4c5-11f1-95e6-4cf95d479851
2da865dc-d4c5-11f1-95e6-4cf95d479851
2da8664a-d4c5-11f1-95e6-4cf95d479851
2da866b8-d4c5-11f1-95e6-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)

07027c10-3400-8013-87ea-5ce32bd83b97
1b167d10-3400-8013-87ea-5ce32bd83b97
c5e27e10-3400-8013-87ea-5ce32bd83b97
0af57f10-3400-8013-87ea-5ce32bd83b97
adca8010-3400-8013-87ea-5ce32bd83b97
06eb8110-3400-8013-87ea-5ce32bd83b97
f3c78210-3400-8013-87ea-5ce32bd83b97
d5548310-3400-8013-87ea-5ce32bd83b97
85358410-3400-8013-87ea-5ce32bd83b97
54358510-3400-8013-87ea-5ce32bd83b97
c0098610-3400-8013-87ea-5ce32bd83b97
c88d8710-3400-8013-87ea-5ce32bd83b97
e4708810-3400-8013-87ea-5ce32bd83b97
8a538910-3400-8013-87ea-5ce32bd83b97
f36f8a10-3400-8013-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)

f09161f4-7a7e-4d03-9b8c-e7145f667279
fb0ba3cf-1876-4eff-908a-14d175604e32
2f2f6c5c-c3a5-4f86-b5a8-1b8805ef220e
11198fab-8c98-43e9-b150-ed6798ea3134
a13926ac-3756-469d-9186-287e8a5de9bc
f03a2d62-3ccb-4e12-a396-b67eca8be066
a4677f95-6701-44ee-a2db-71763a8270ca
ec64794b-850d-49c5-b82a-ea1a0a198a6a
9826e464-6b4f-4063-9bed-a009d0bf7701
ca0087ae-5b52-4176-bfc2-c4e58dc87468
265b249e-b942-4ef7-9498-7bdff84c2d74
1b87e4ea-4962-402d-8bda-cc07f8cbfea2
e3b0a104-8413-468e-8756-0e05d8efd9b6
481b645d-e191-4fb7-a046-cd4658130813
b3ce1641-4c55-4274-a911-37571f34ef6c

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: