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)

019b5bcd-fe31-7c52-bae0-bdda013f945a
019b5bcd-fe31-7df8-8c18-2f69adccc177
019b5bcd-fe31-7f3c-b678-81d12eacb709
019b5bcd-fe32-7073-9cff-2cf3e78daf9d
019b5bcd-fe32-7196-9433-bbdb43fd821b
019b5bcd-fe32-72b1-8f98-229ae24cee0a
019b5bcd-fe32-73cf-8a80-ecf0ec506c5a
019b5bcd-fe32-74ea-b4d6-b33d44aea27b
019b5bcd-fe32-7600-80b5-9f152e2ef428
019b5bcd-fe32-771b-80e9-dddf16c6f1af
019b5bcd-fe32-783a-bfcc-64ba45d22ebf
019b5bcd-fe32-7954-9448-7d01f2985535
019b5bcd-fe32-7a73-b6f7-68bad60bfb6e
019b5bcd-fe32-7b8a-914c-820560d66f95
019b5bcd-fe32-7ca4-965f-7308ec4b71a8

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)

1f0e2843-21ae-63da-ac3f-4cf95d479851
1f0e2843-21ae-656a-ac3f-4cf95d479851
1f0e2843-21ae-6650-ac3f-4cf95d479851
1f0e2843-21ae-6722-ac3f-4cf95d479851
1f0e2843-21ae-67ea-ac3f-4cf95d479851
1f0e2843-21ae-68b2-ac3f-4cf95d479851
1f0e2843-21ae-6984-ac3f-4cf95d479851
1f0e2843-21ae-6a4c-ac3f-4cf95d479851
1f0e2843-21ae-6b0a-ac3f-4cf95d479851
1f0e2843-21ae-6bd2-ac3f-4cf95d479851
1f0e2843-21ae-6d12-ac3f-4cf95d479851
1f0e2843-21ae-6de4-ac3f-4cf95d479851
1f0e2843-21ae-6eac-ac3f-4cf95d479851
1f0e2843-21ae-6f74-ac3f-4cf95d479851
1f0e2843-21af-603c-ac3f-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)

873bf198-7259-46fc-9d21-8a7e98772c93
84b6ef81-76b1-46d9-82e8-9875fad2e181
8b32925c-f129-4b6f-a539-9f5306052844
1f4f5097-cdd5-468f-ba67-5fdffe2ef61f
ff0bba4f-db77-46f9-bfdc-62944c491ca1
761fcd4a-0b9d-4f7c-9ed6-3fc19d97fd38
05992d7a-27a8-4d36-aada-63e7e96cda6e
cd8c1722-443b-42de-af6f-706a4c494296
50e3144a-1162-493b-8a6e-604dcb67bdf2
08d2bd50-9dac-4145-a7c2-b12004b8a6c4
7235d426-fcb9-4e4a-8bb8-e69b43e754d4
0edf1d43-7f37-44e1-9c36-54307885295b
9669a8a2-a315-4011-9c7f-a860a6b33a5b
c3aeea90-3376-4fad-a328-2b5773fcaf22
68ac9468-232d-43b7-9082-667f562d31ac

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)

321af564-e284-11f0-ac3f-4cf95d479851
321af5c8-e284-11f0-ac3f-4cf95d479851
321af62c-e284-11f0-ac3f-4cf95d479851
321af690-e284-11f0-ac3f-4cf95d479851
321af6fe-e284-11f0-ac3f-4cf95d479851
321af762-e284-11f0-ac3f-4cf95d479851
321af7da-e284-11f0-ac3f-4cf95d479851
321af83e-e284-11f0-ac3f-4cf95d479851
321af898-e284-11f0-ac3f-4cf95d479851
321af8fc-e284-11f0-ac3f-4cf95d479851
321af960-e284-11f0-ac3f-4cf95d479851
321af9c4-e284-11f0-ac3f-4cf95d479851
321afa28-e284-11f0-ac3f-4cf95d479851
321afa8c-e284-11f0-ac3f-4cf95d479851
321afaf0-e284-11f0-ac3f-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)

21b04419-3504-8816-87e9-5ce32bd83b97
57f34519-3504-8816-87e9-5ce32bd83b97
58414619-3504-8816-87e9-5ce32bd83b97
a8544719-3504-8816-87e9-5ce32bd83b97
14a14819-3504-8816-87e9-5ce32bd83b97
7e104919-3504-8816-87e9-5ce32bd83b97
ef7c4a19-3504-8816-87e9-5ce32bd83b97
83204c19-3504-8816-87e9-5ce32bd83b97
8e934d19-3504-8816-87e9-5ce32bd83b97
c7fb4e19-3504-8816-87e9-5ce32bd83b97
73f34f19-3504-8816-87e9-5ce32bd83b97
93bc5019-3504-8816-87e9-5ce32bd83b97
66ca5119-3504-8816-87e9-5ce32bd83b97
05e15219-3504-8816-87e9-5ce32bd83b97
62bf5319-3504-8816-87e9-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: