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)

019bdca5-919a-7ec1-b1d5-54000df81234
019bdca5-919b-705f-9a44-580d0f1b3cb4
019bdca5-919b-71a2-afa6-0d95b73da31a
019bdca5-919b-72c1-b3ca-5d0c481a8608
019bdca5-919b-73e0-ae1d-e9aebfad8642
019bdca5-919b-74f6-a72d-2cad2888be8a
019bdca5-919b-7611-bd9a-c3945e0354ae
019bdca5-919b-7727-8f76-f6484b0a0355
019bdca5-919b-7842-a5a1-70d971b405e7
019bdca5-919b-795d-a2f6-9b19f1bcbe50
019bdca5-919b-7a77-851b-d5196bb3b502
019bdca5-919b-7b92-a61e-b54fd1d60711
019bdca5-919b-7ca8-98f5-1d43a9956120
019bdca5-919b-7dbf-bccf-7296f76d2719
019bdca5-919b-7ede-91fa-71cbe73d496f

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)

1f0f62d1-7092-6054-9262-4cf95d479851
1f0f62d1-7092-61f8-9262-4cf95d479851
1f0f62d1-7092-62e8-9262-4cf95d479851
1f0f62d1-7092-63b0-9262-4cf95d479851
1f0f62d1-7092-6482-9262-4cf95d479851
1f0f62d1-7092-6540-9262-4cf95d479851
1f0f62d1-7092-6608-9262-4cf95d479851
1f0f62d1-7092-66c6-9262-4cf95d479851
1f0f62d1-7092-6784-9262-4cf95d479851
1f0f62d1-7092-6842-9262-4cf95d479851
1f0f62d1-7092-6978-9262-4cf95d479851
1f0f62d1-7092-6a4a-9262-4cf95d479851
1f0f62d1-7092-6b08-9262-4cf95d479851
1f0f62d1-7092-6bd0-9262-4cf95d479851
1f0f62d1-7092-6cb6-9262-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)

02f5ef60-1fc8-44bc-9862-a9c2867f0768
b29407c1-2899-40e8-bff3-f9b9078fb4cb
c490b97b-3ff2-458b-8bce-33f1452a3a78
7d8bdb9a-a323-4777-9f5f-7fef50c29c0b
56bfdd0a-f2bb-42dd-b51d-40de61bc7c1c
1e6e0c2d-8c3c-46ae-8715-ecb580588f77
3588b175-659b-4fc3-9bbc-a243af70a28c
d8cc4b71-fb85-4a53-ae58-ae999cf9ab89
83573a32-1c95-4810-97b1-5a390c804d07
50d06c59-e190-4061-a904-ef826057fb7e
ef273fb6-956f-4f43-8ffe-658aca8f9ccd
a9c34f4d-2575-4d2c-b12a-1c5122159c75
05b99cfc-4957-432a-b2f4-5e4f533b9ce7
1a77fc58-417d-4cb7-b38e-6885c65b5358
1fc010ec-d24b-4cdb-b08d-d3e08008d9cb

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)

170931ca-f62d-11f0-9262-4cf95d479851
17093238-f62d-11f0-9262-4cf95d479851
170932a6-f62d-11f0-9262-4cf95d479851
1709330a-f62d-11f0-9262-4cf95d479851
17093378-f62d-11f0-9262-4cf95d479851
1709345e-f62d-11f0-9262-4cf95d479851
170934cc-f62d-11f0-9262-4cf95d479851
17093530-f62d-11f0-9262-4cf95d479851
17093594-f62d-11f0-9262-4cf95d479851
170935f8-f62d-11f0-9262-4cf95d479851
1709365c-f62d-11f0-9262-4cf95d479851
170936b6-f62d-11f0-9262-4cf95d479851
1709371a-f62d-11f0-9262-4cf95d479851
1709377e-f62d-11f0-9262-4cf95d479851
170937ec-f62d-11f0-9262-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)

04d2e410-5004-8401-87ea-5ce32bd83b97
5418e510-5004-8401-87ea-5ce32bd83b97
4451e610-5004-8401-87ea-5ce32bd83b97
77fde710-5004-8401-87ea-5ce32bd83b97
f99de810-5004-8401-87ea-5ce32bd83b97
8f39e910-5004-8401-87ea-5ce32bd83b97
3fe4ea10-5004-8401-87ea-5ce32bd83b97
d75feb10-5004-8401-87ea-5ce32bd83b97
9cf0ec10-5004-8401-87ea-5ce32bd83b97
6c09ed10-5004-8401-87ea-5ce32bd83b97
8dcfee10-5004-8401-87ea-5ce32bd83b97
fc10ef10-5004-8401-87ea-5ce32bd83b97
0e6ff010-5004-8401-87ea-5ce32bd83b97
00b6f110-5004-8401-87ea-5ce32bd83b97
97e4f210-5004-8401-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: