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)

01a0dba9-3594-7e6f-9523-166f46911030
01a0dba9-3594-7000-87e2-fe7abdd1ea75
01a0dba9-3595-713c-be3b-1dbdcedd106b
01a0dba9-3595-7257-a3c9-1a0e0bbe554b
01a0dba9-3595-736d-8cf0-70b85ea50da2
01a0dba9-3595-73fc-879c-ba53145caab2
01a0dba9-3595-7517-895d-a6b8880146f6
01a0dba9-3595-762e-87a9-eb8e950f46cb
01a0dba9-3595-7744-bd9d-7bdedf5888fa
01a0dba9-3595-785b-99ef-0a73b3e1a0b5
01a0dba9-3595-7975-99f2-ac399d563f99
01a0dba9-3595-7a88-9808-60cf769daefe
01a0dba9-3595-7b9e-b6bd-d2f291dd7b1f
01a0dba9-3595-7cb5-97dd-ac097a8ef301
01a0dba9-3595-7dc7-9668-37a4a9a06342

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)

1f1b9569-53e7-61b2-b123-4cf95d479851
1f1b9569-53e7-6374-b123-4cf95d479851
1f1b9569-53e7-645a-b123-4cf95d479851
1f1b9569-53e7-6522-b123-4cf95d479851
1f1b9569-53e7-65ea-b123-4cf95d479851
1f1b9569-53e7-66b2-b123-4cf95d479851
1f1b9569-53e7-6770-b123-4cf95d479851
1f1b9569-53e7-682e-b123-4cf95d479851
1f1b9569-53e7-68ec-b123-4cf95d479851
1f1b9569-53e7-69aa-b123-4cf95d479851
1f1b9569-53e7-6b30-b123-4cf95d479851
1f1b9569-53e7-6c98-b123-4cf95d479851
1f1b9569-53e7-6d88-b123-4cf95d479851
1f1b9569-53e7-6e46-b123-4cf95d479851
1f1b9569-53e7-6f0e-b123-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)

953e7ff4-b956-11f1-b123-4cf95d479851
953e8058-b956-11f1-b123-4cf95d479851
953e80bc-b956-11f1-b123-4cf95d479851
953e8120-b956-11f1-b123-4cf95d479851
953e8184-b956-11f1-b123-4cf95d479851
953e81e8-b956-11f1-b123-4cf95d479851
953e8242-b956-11f1-b123-4cf95d479851
953e82b0-b956-11f1-b123-4cf95d479851
953e831e-b956-11f1-b123-4cf95d479851
953e838c-b956-11f1-b123-4cf95d479851
953e83f0-b956-11f1-b123-4cf95d479851
953e8454-b956-11f1-b123-4cf95d479851
953e84ae-b956-11f1-b123-4cf95d479851
953e8512-b956-11f1-b123-4cf95d479851
953e8576-b956-11f1-b123-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)

40c5bd22-b600-8d10-87ea-5ce32bd83b97
6218be22-b600-8d10-87ea-5ce32bd83b97
c266bf22-b600-8d10-87ea-5ce32bd83b97
6280c022-b600-8d10-87ea-5ce32bd83b97
eb80c122-b600-8d10-87ea-5ce32bd83b97
1fbdc322-b600-8d10-87ea-5ce32bd83b97
2ee3c422-b600-8d10-87ea-5ce32bd83b97
9655c522-b600-8d10-87ea-5ce32bd83b97
7219c622-b600-8d10-87ea-5ce32bd83b97
0c63c722-b600-8d10-87ea-5ce32bd83b97
6d6dc822-b600-8d10-87ea-5ce32bd83b97
d0afc922-b600-8d10-87ea-5ce32bd83b97
aba0ca22-b600-8d10-87ea-5ce32bd83b97
2d82cb22-b600-8d10-87ea-5ce32bd83b97
78e6cc22-b600-8d10-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)

19c4d4a6-a340-463c-82e7-c0d51ab80345
239d4483-31ef-4834-8a30-8d102410cd24
b7ab9dc6-e0fd-4ff4-bac5-ffad30f7cd3f
f293140d-1724-4e17-9e61-c6c5f660a5e0
49862223-59cd-42a6-ad50-93956f5e5f26
3a5e27fb-1871-4d94-99d9-72335e816f30
3638b6f9-2002-47b3-8908-bc097d6fb1b5
7709a16c-7d6f-4cd5-9272-0dd9d06ee216
60431fca-c8e8-43a8-8480-857a56b2470f
7bd8e7fe-1620-4122-9835-48a0ec013181
efcd59e8-cd6b-4f70-b822-3f47f1bbfb3f
e18e2935-156a-4d7c-a1e5-fd9f9f0d68c7
5df56ffa-8062-41a8-9496-3a1b7ce4873e
2deac0af-e622-4604-968e-5f956033a0e9
6aedd5b3-7678-4669-b861-dde62c227682

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: