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)

019cef0d-f527-7faa-be91-79401d70b648
019cef0d-f528-71d8-b8da-d8dc1a128235
019cef0d-f528-732c-8d71-458aeb625f20
019cef0d-f528-744e-8bc8-1e61846ec5ef
019cef0d-f528-7571-8f6d-49022eacec0f
019cef0d-f528-7690-92d6-75a9255543e1
019cef0d-f528-77af-b983-b2aa9eb7da02
019cef0d-f528-78c9-914d-c0f52baa4526
019cef0d-f528-79e8-a51a-b2b663cb03e5
019cef0d-f528-7b07-8440-fc53c2fa3f13
019cef0d-f528-7c25-80d7-48c80106c3db
019cef0d-f528-7d48-a4ef-a4fc13629f2e
019cef0d-f528-7e67-8bfb-353804eb8d50
019cef0d-f528-7f82-9851-539b728b877f
019cef0d-f529-70a0-b3e7-3693c601cf7d

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)

1f1200c2-4b9d-6758-a987-4cf95d479851
1f1200c2-4b9d-6956-a987-4cf95d479851
1f1200c2-4b9d-6a46-a987-4cf95d479851
1f1200c2-4b9d-6b18-a987-4cf95d479851
1f1200c2-4b9d-6be0-a987-4cf95d479851
1f1200c2-4b9d-6ca8-a987-4cf95d479851
1f1200c2-4b9d-6d70-a987-4cf95d479851
1f1200c2-4b9d-6e2e-a987-4cf95d479851
1f1200c2-4b9d-6ef6-a987-4cf95d479851
1f1200c2-4b9d-6fbe-a987-4cf95d479851
1f1200c2-4b9e-6130-a987-4cf95d479851
1f1200c2-4b9e-620c-a987-4cf95d479851
1f1200c2-4b9e-62ca-a987-4cf95d479851
1f1200c2-4b9e-6388-a987-4cf95d479851
1f1200c2-4b9e-6450-a987-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)

b617a4ce-2f77-4645-adb1-63bf939b245b
09ea20d6-ef0b-4a0b-9659-db55d46ac289
2460eeee-dca4-4810-9382-b9839d47d75d
56ef6cf5-6bd7-4194-9b18-64bd9c1d5e86
3b07dd12-e09e-433d-84ec-cc5d125b7d7a
bcd50b1f-5242-4954-b536-84369b54c4a9
e56d2528-6334-4c54-beb2-ab69f199f498
d2bb798e-49d9-48a3-9330-9eb55e685893
a61ad0fa-a2e5-4cf0-8d64-e3d46503dcd3
7d31c7d4-108d-4996-b79b-0f2cf18ad2a2
3dfa68df-0d64-4827-a504-363d66f759cc
e008f86a-6b8f-4e0d-8c32-c1e8348cb9b0
119115ba-3cd7-4c99-87f5-7cc415cd913d
1616286b-02b8-43e8-9e7e-50c487220f2a
e4eb6fe0-a81e-4a4a-9b96-6df1e75f027b

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)

24b9ea04-200c-11f1-a987-4cf95d479851
24b9ea68-200c-11f1-a987-4cf95d479851
24b9eac2-200c-11f1-a987-4cf95d479851
24b9eb1c-200c-11f1-a987-4cf95d479851
24b9eb80-200c-11f1-a987-4cf95d479851
24b9ebda-200c-11f1-a987-4cf95d479851
24b9ec3e-200c-11f1-a987-4cf95d479851
24b9ec8e-200c-11f1-a987-4cf95d479851
24b9ecf2-200c-11f1-a987-4cf95d479851
24b9ed4c-200c-11f1-a987-4cf95d479851
24b9eda6-200c-11f1-a987-4cf95d479851
24b9ee00-200c-11f1-a987-4cf95d479851
24b9ee5a-200c-11f1-a987-4cf95d479851
24b9eebe-200c-11f1-a987-4cf95d479851
24b9ef18-200c-11f1-a987-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)

be3a4e0f-4a00-8a04-87ea-5ce32bd83b97
03c94f0f-4a00-8a04-87ea-5ce32bd83b97
17c9500f-4a00-8a04-87ea-5ce32bd83b97
b064510f-4a00-8a04-87ea-5ce32bd83b97
037c520f-4a00-8a04-87ea-5ce32bd83b97
05b0530f-4a00-8a04-87ea-5ce32bd83b97
09b4540f-4a00-8a04-87ea-5ce32bd83b97
05b4550f-4a00-8a04-87ea-5ce32bd83b97
5d9f560f-4a00-8a04-87ea-5ce32bd83b97
2b2b570f-4a00-8a04-87ea-5ce32bd83b97
ad9f580f-4a00-8a04-87ea-5ce32bd83b97
cec9590f-4a00-8a04-87ea-5ce32bd83b97
bffc5a0f-4a00-8a04-87ea-5ce32bd83b97
a4df5b0f-4a00-8a04-87ea-5ce32bd83b97
f67f5c0f-4a00-8a04-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: