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)

019cd11a-e461-7f8e-a1a8-93bf1ae5ba8b
019cd11a-e462-711b-8c24-96da42819bdf
019cd11a-e462-725b-b353-74fe0a910696
019cd11a-e462-7379-8013-9a303182b644
019cd11a-e462-7494-8532-43dbf649c962
019cd11a-e462-75b7-8547-b3ed5173ade3
019cd11a-e462-76d5-8b43-5006c67eb68e
019cd11a-e462-77ec-bcbb-d2fe8df76ca2
019cd11a-e462-7907-98fa-0f8262906130
019cd11a-e462-7a21-958a-7703bd489e7d
019cd11a-e462-7b38-a5c8-7c698afa44ba
019cd11a-e462-7c52-a90f-7c967b990e09
019cd11a-e462-7d6d-9910-2c70103e2210
019cd11a-e462-7e15-b171-af03dde82b92
019cd11a-e462-7f30-bbf2-9ee579c53543

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)

1f11b7a3-dfa9-6d2e-bd7e-4cf95d479851
1f11b7a3-dfa9-6eb4-bd7e-4cf95d479851
1f11b7a3-dfa9-6fa4-bd7e-4cf95d479851
1f11b7a3-dfaa-6080-bd7e-4cf95d479851
1f11b7a3-dfaa-6152-bd7e-4cf95d479851
1f11b7a3-dfaa-621a-bd7e-4cf95d479851
1f11b7a3-dfaa-62e2-bd7e-4cf95d479851
1f11b7a3-dfaa-63b4-bd7e-4cf95d479851
1f11b7a3-dfaa-647c-bd7e-4cf95d479851
1f11b7a3-dfaa-6544-bd7e-4cf95d479851
1f11b7a3-dfaa-668e-bd7e-4cf95d479851
1f11b7a3-dfaa-676a-bd7e-4cf95d479851
1f11b7a3-dfaa-6832-bd7e-4cf95d479851
1f11b7a3-dfaa-68fa-bd7e-4cf95d479851
1f11b7a3-dfaa-69c2-bd7e-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)

273085a1-35f1-46b8-a362-6703e8b69012
8645792a-e7b9-4258-9d16-15ba7884c49e
6f0c3370-5f1e-4ed7-8bbb-0c81b30f454a
8383236d-4e2f-4b4b-ba93-53fe1901004b
1d116672-38fd-4a2e-8453-a17d27c2e2a1
7845680d-f0fb-4248-9d7c-dbdc465a2980
4b9cdb0c-7c49-4d68-8a5a-d58b9e3a55c8
4ce8be4e-c187-4ba3-9b07-cbc10075068b
d3696942-c390-4788-8a3d-769a2400fe46
bb022067-2a8c-44e5-a5f7-5843ac31e59f
9a3f36a9-e7c6-40a3-9134-5940b9264618
16df062d-4f11-45e0-b188-f20dd4f3b95f
e5d50b25-a5ac-4ad3-bc46-422470a3b438
6b6b902a-85e0-4def-9c78-26c1bbfa2b52
5a9b41ba-8e23-45f8-83a6-b1538b2599bc

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)

3dfaaeea-1b7a-11f1-bd7e-4cf95d479851
3dfaaf4e-1b7a-11f1-bd7e-4cf95d479851
3dfaafb2-1b7a-11f1-bd7e-4cf95d479851
3dfab00c-1b7a-11f1-bd7e-4cf95d479851
3dfab070-1b7a-11f1-bd7e-4cf95d479851
3dfab0ca-1b7a-11f1-bd7e-4cf95d479851
3dfab12e-1b7a-11f1-bd7e-4cf95d479851
3dfab188-1b7a-11f1-bd7e-4cf95d479851
3dfab1f6-1b7a-11f1-bd7e-4cf95d479851
3dfab264-1b7a-11f1-bd7e-4cf95d479851
3dfab2c8-1b7a-11f1-bd7e-4cf95d479851
3dfab32c-1b7a-11f1-bd7e-4cf95d479851
3dfab390-1b7a-11f1-bd7e-4cf95d479851
3dfab3ea-1b7a-11f1-bd7e-4cf95d479851
3dfab444-1b7a-11f1-bd7e-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)

b3807f2e-5301-8404-87ea-5ce32bd83b97
f13a802e-5301-8404-87ea-5ce32bd83b97
510c812e-5301-8404-87ea-5ce32bd83b97
afa9822e-5301-8404-87ea-5ce32bd83b97
752f842e-5301-8404-87ea-5ce32bd83b97
a086852e-5301-8404-87ea-5ce32bd83b97
8456862e-5301-8404-87ea-5ce32bd83b97
28ef872e-5301-8404-87ea-5ce32bd83b97
681f882e-5301-8404-87ea-5ce32bd83b97
5745892e-5301-8404-87ea-5ce32bd83b97
e7f98a2e-5301-8404-87ea-5ce32bd83b97
9cb38b2e-5301-8404-87ea-5ce32bd83b97
14578c2e-5301-8404-87ea-5ce32bd83b97
74f68d2e-5301-8404-87ea-5ce32bd83b97
db7a8e2e-5301-8404-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: