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)

01a1ca72-6e0e-76f2-a87a-3896023dc448
01a1ca72-6e0e-789c-976b-bbb75c39da8e
01a1ca72-6e0e-79e0-aaf0-e6405a63f8dc
01a1ca72-6e0e-7b03-8106-e8700385efc9
01a1ca72-6e0e-7c21-bf72-2b0fcde3d4c1
01a1ca72-6e0e-7d3c-a3bc-20ec94f89fcd
01a1ca72-6e0e-7e5b-93ab-098a6c36f178
01a1ca72-6e0e-7f79-8762-eaed7946d154
01a1ca72-6e0f-7098-a92c-1376c623b400
01a1ca72-6e0f-71b7-a10b-615d0350357a
01a1ca72-6e0f-72d5-bc38-e86833e21aa3
01a1ca72-6e0f-73f4-b5af-6d59873280ca
01a1ca72-6e0f-750f-bf09-3470a6840ed0
01a1ca72-6e0f-762e-9686-39e7037a949a
01a1ca72-6e0f-7748-86d4-d064ecab8676

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)

1f1ddc62-96c7-6fee-8710-4cf95d479851
1f1ddc62-96c8-61ba-8710-4cf95d479851
1f1ddc62-96c8-62a0-8710-4cf95d479851
1f1ddc62-96c8-6372-8710-4cf95d479851
1f1ddc62-96c8-6430-8710-4cf95d479851
1f1ddc62-96c8-64f8-8710-4cf95d479851
1f1ddc62-96c8-65c0-8710-4cf95d479851
1f1ddc62-96c8-670a-8710-4cf95d479851
1f1ddc62-96c8-685e-8710-4cf95d479851
1f1ddc62-96c8-69c6-8710-4cf95d479851
1f1ddc62-96c8-6bd8-8710-4cf95d479851
1f1ddc62-96c8-6d54-8710-4cf95d479851
1f1ddc62-96c8-6e62-8710-4cf95d479851
1f1ddc62-96c8-6f2a-8710-4cf95d479851
1f1ddc62-96c8-6fe8-8710-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)

296c90ba-ddc6-11f1-8710-4cf95d479851
296c9128-ddc6-11f1-8710-4cf95d479851
296c918c-ddc6-11f1-8710-4cf95d479851
296c91f0-ddc6-11f1-8710-4cf95d479851
296c9254-ddc6-11f1-8710-4cf95d479851
296c92b8-ddc6-11f1-8710-4cf95d479851
296c9326-ddc6-11f1-8710-4cf95d479851
296c9394-ddc6-11f1-8710-4cf95d479851
296c93f8-ddc6-11f1-8710-4cf95d479851
296c945c-ddc6-11f1-8710-4cf95d479851
296c94c0-ddc6-11f1-8710-4cf95d479851
296c9524-ddc6-11f1-8710-4cf95d479851
296c9588-ddc6-11f1-8710-4cf95d479851
296c95ec-ddc6-11f1-8710-4cf95d479851
296c9646-ddc6-11f1-8710-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)

c359583b-c702-8b13-87ea-5ce32bd83b97
aa2a593b-c702-8b13-87ea-5ce32bd83b97
628a5a3b-c702-8b13-87ea-5ce32bd83b97
f43f5b3b-c702-8b13-87ea-5ce32bd83b97
973d5c3b-c702-8b13-87ea-5ce32bd83b97
02865d3b-c702-8b13-87ea-5ce32bd83b97
7c435e3b-c702-8b13-87ea-5ce32bd83b97
13b55f3b-c702-8b13-87ea-5ce32bd83b97
c0db603b-c702-8b13-87ea-5ce32bd83b97
7c17613b-c702-8b13-87ea-5ce32bd83b97
5aa6623b-c702-8b13-87ea-5ce32bd83b97
89de633b-c702-8b13-87ea-5ce32bd83b97
5c53643b-c702-8b13-87ea-5ce32bd83b97
e156653b-c702-8b13-87ea-5ce32bd83b97
23bb663b-c702-8b13-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)

37c4f06f-2610-4da0-b1b9-ef29f58a9d50
ec168dd8-fbb3-48a7-adfe-49f09014069f
adefb720-bab7-4263-a066-79d9c26cf6e6
a3a1a2f0-7448-40dd-9279-da16e4ded526
a2fbaed6-033f-410e-9610-2e0043bf371a
18a4e3ac-8152-4296-9aa9-e517282790dc
e14aa1bb-fed1-475a-80ca-1b5f096d016b
4248e2be-a483-4fe5-8e47-706146aaece7
0f513688-1adc-4efe-85a5-ffc785c44c7b
5b80656f-1c35-4315-877d-88674f47cecd
70c2b73c-7116-4ac4-9ed9-539b63f9936a
89276a4f-4c5c-414c-b174-872f5a4b819a
bfc903f1-7fb2-42af-98b5-e53c459dcf48
55743265-4f17-40c9-baf1-8008f57e161b
502aad73-f132-467f-b248-1e192afdcea5

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: