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)

01a10199-083c-7140-be2e-f662f61e9755
01a10199-083d-7361-b5e2-45d4648ad41f
01a10199-083d-7405-99cf-7d3e436dad0d
01a10199-083d-752c-9401-9ffbea8bb59d
01a10199-083d-764a-9fbe-1a2954fccd68
01a10199-083d-7769-b2b7-f04a6c955781
01a10199-083d-7888-bb39-9fb4faef2623
01a10199-083d-79a2-9c95-afc4779ce4ed
01a10199-083d-7ac1-89d9-01f279af7787
01a10199-083d-7bdc-a55e-9f0573368c19
01a10199-083d-7cfa-ad3a-1288edbd2747
01a10199-083d-7e15-9c39-9a2d2caef5fd
01a10199-083d-7f34-a567-6ff9da19cedf
01a10199-083e-704e-b1e0-fe81486399cf
01a10199-083e-716d-9ea6-8ffbfd96165c

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)

1f1bf207-d533-6fe0-b268-4cf95d479851
1f1bf207-d534-61a2-b268-4cf95d479851
1f1bf207-d534-6288-b268-4cf95d479851
1f1bf207-d534-635a-b268-4cf95d479851
1f1bf207-d534-6418-b268-4cf95d479851
1f1bf207-d534-64d6-b268-4cf95d479851
1f1bf207-d534-6594-b268-4cf95d479851
1f1bf207-d534-6652-b268-4cf95d479851
1f1bf207-d534-6710-b268-4cf95d479851
1f1bf207-d534-67ce-b268-4cf95d479851
1f1bf207-d534-6918-b268-4cf95d479851
1f1bf207-d534-69ea-b268-4cf95d479851
1f1bf207-d534-6ab2-b268-4cf95d479851
1f1bf207-d534-6b7a-b268-4cf95d479851
1f1bf207-d534-6c42-b268-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)

7d534d14-bf20-11f1-b268-4cf95d479851
7d534d82-bf20-11f1-b268-4cf95d479851
7d534de6-bf20-11f1-b268-4cf95d479851
7d534e4a-bf20-11f1-b268-4cf95d479851
7d534ea4-bf20-11f1-b268-4cf95d479851
7d534f08-bf20-11f1-b268-4cf95d479851
7d534f6c-bf20-11f1-b268-4cf95d479851
7d534fda-bf20-11f1-b268-4cf95d479851
7d535048-bf20-11f1-b268-4cf95d479851
7d5350ac-bf20-11f1-b268-4cf95d479851
7d53511a-bf20-11f1-b268-4cf95d479851
7d53517e-bf20-11f1-b268-4cf95d479851
7d5351d8-bf20-11f1-b268-4cf95d479851
7d53523c-bf20-11f1-b268-4cf95d479851
7d5352a0-bf20-11f1-b268-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)

88ccc41c-c602-8411-87ea-5ce32bd83b97
baddc51c-c602-8411-87ea-5ce32bd83b97
137dc61c-c602-8411-87ea-5ce32bd83b97
df81c71c-c602-8411-87ea-5ce32bd83b97
586dc81c-c602-8411-87ea-5ce32bd83b97
e08ec91c-c602-8411-87ea-5ce32bd83b97
ff72ca1c-c602-8411-87ea-5ce32bd83b97
5db6cb1c-c602-8411-87ea-5ce32bd83b97
df25cc1c-c602-8411-87ea-5ce32bd83b97
42dccd1c-c602-8411-87ea-5ce32bd83b97
ac59ce1c-c602-8411-87ea-5ce32bd83b97
d6cecf1c-c602-8411-87ea-5ce32bd83b97
052ad01c-c602-8411-87ea-5ce32bd83b97
7bd0d11c-c602-8411-87ea-5ce32bd83b97
321cd21c-c602-8411-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)

824b423c-6b6c-454b-ad41-f01be57cd146
216b325e-f9fd-4b96-a498-9c986f9e6b8a
26e1a14a-1b2a-436c-a20f-83bceae94ddd
248fd678-ccd9-4512-a090-0b835595b9f6
8e1a9aca-5850-439d-af45-e1dbbce38b57
89e591fb-45fb-4abf-9c92-24a91eea16a7
65097847-7eaf-4ea5-8a04-57e6f0d9c997
a7d24f03-6a34-49f8-abb4-2a0be2ffd277
03038150-b4b2-48a8-9d85-f8bc2c8c5e7a
4ae51912-e3ae-4a78-a054-81668648d8df
a804f44d-d33b-471e-beb7-3e5cd6dc12af
16f0f9d2-6495-4525-b5e3-ff55c6f109dc
257a2121-7537-4995-ae2c-16f820724a60
3ab236b4-aa6d-4177-8c21-50d92efecedc
134c038a-4bae-4b34-b095-3f5aed9bf6c2

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: