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)

019f9c20-3482-7c5b-9033-7a7360cc01ed
019f9c20-3482-7e5f-931c-17130dbdd31d
019f9c20-3482-7fa6-b9f2-13272224b991
019f9c20-3483-70c5-a6c8-c05d85dcb71f
019f9c20-3483-71e0-b273-76443846b388
019f9c20-3483-72fa-981e-6d1215034e8c
019f9c20-3483-7411-a081-28334f4e69a3
019f9c20-3483-752c-b9e9-a4bb2671593b
019f9c20-3483-763e-82cc-b9dd37fe08b6
019f9c20-3483-7754-b6fc-f00d6e80dbfa
019f9c20-3483-786f-9c59-b96dc3d5808c
019f9c20-3483-7986-bf2e-94a9b3003637
019f9c20-3483-7aa4-8535-72c0b7adbc79
019f9c20-3483-7bd3-b896-ec11bff5e2d7
019f9c20-3483-7d13-bdd9-c7d5085fc118

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)

1f18894b-d84a-62ce-8fb3-4cf95d479851
1f18894b-d84a-6576-8fb3-4cf95d479851
1f18894b-d84a-66f2-8fb3-4cf95d479851
1f18894b-d84a-683c-8fb3-4cf95d479851
1f18894b-d84a-6972-8fb3-4cf95d479851
1f18894b-d84a-6a94-8fb3-4cf95d479851
1f18894b-d84a-6ba2-8fb3-4cf95d479851
1f18894b-d84a-6cb0-8fb3-4cf95d479851
1f18894b-d84a-6dd2-8fb3-4cf95d479851
1f18894b-d84a-6f1c-8fb3-4cf95d479851
1f18894b-d84b-611a-8fb3-4cf95d479851
1f18894b-d84b-626e-8fb3-4cf95d479851
1f18894b-d84b-63ae-8fb3-4cf95d479851
1f18894b-d84b-64f8-8fb3-4cf95d479851
1f18894b-d84b-6642-8fb3-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)

bd84b7aa-8894-11f1-8fb3-4cf95d479851
bd84b836-8894-11f1-8fb3-4cf95d479851
bd84b8b8-8894-11f1-8fb3-4cf95d479851
bd84b944-8894-11f1-8fb3-4cf95d479851
bd84b9d0-8894-11f1-8fb3-4cf95d479851
bd84ba5c-8894-11f1-8fb3-4cf95d479851
bd84baf2-8894-11f1-8fb3-4cf95d479851
bd84bb74-8894-11f1-8fb3-4cf95d479851
bd84bc00-8894-11f1-8fb3-4cf95d479851
bd84bc8c-8894-11f1-8fb3-4cf95d479851
bd84bd22-8894-11f1-8fb3-4cf95d479851
bd84bdb8-8894-11f1-8fb3-4cf95d479851
bd84be44-8894-11f1-8fb3-4cf95d479851
bd84beda-8894-11f1-8fb3-4cf95d479851
bd84bf70-8894-11f1-8fb3-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)

5b6d2204-7200-8f0c-87ea-5ce32bd83b97
b78e2304-7200-8f0c-87ea-5ce32bd83b97
83442404-7200-8f0c-87ea-5ce32bd83b97
fcd42504-7200-8f0c-87ea-5ce32bd83b97
9d562604-7200-8f0c-87ea-5ce32bd83b97
16d72704-7200-8f0c-87ea-5ce32bd83b97
3bfc2804-7200-8f0c-87ea-5ce32bd83b97
52032904-7200-8f0c-87ea-5ce32bd83b97
db812a04-7200-8f0c-87ea-5ce32bd83b97
ec382b04-7200-8f0c-87ea-5ce32bd83b97
e7ef2c04-7200-8f0c-87ea-5ce32bd83b97
f6f72d04-7200-8f0c-87ea-5ce32bd83b97
a4be2e04-7200-8f0c-87ea-5ce32bd83b97
ae7f2f04-7200-8f0c-87ea-5ce32bd83b97
f0803004-7200-8f0c-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)

0eff08a0-0234-43f1-9c46-0d08537b0712
24bc459a-bb2e-4526-bc82-c64df5f0dcaf
ea042f15-fbf1-4391-ba91-90c2a71432fd
cb6cf253-ae47-4e58-b12c-b52e7656cb0d
01a490b2-bae6-467b-9373-e680f602464c
2b5dfde8-c71a-4174-baae-1068271848a7
46b1c104-1300-4592-a052-4d54c3d6e64f
50a044e8-10f0-4c95-b8d0-3625bc2c3a6f
7d966462-aeb5-4de3-a4d7-9960a276eb82
a366e7f8-961f-4b18-b87e-53b30768ad95
51660b1e-212c-4e63-b2a4-98ce01d8181f
bd0f624e-e992-46ef-9d6f-520d196354af
aa052daf-9283-4c99-a7dd-82c3c71b7c1f
dbde766a-10c8-4f2a-abcb-25f204c9a093
5db0f128-e680-459f-8965-a1ac1c99c28c

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: