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)

01a09a1c-bf8a-784a-91bf-61df214159e3
01a09a1c-bf8a-79cf-b61a-6329eaaf5c43
01a09a1c-bf8a-7b0b-9408-b966fc40a970
01a09a1c-bf8a-7c25-9d5d-77f5883daf91
01a09a1c-bf8a-7d38-8f88-ef662f937467
01a09a1c-bf8a-7e4e-bb55-fb3a4eb54dbb
01a09a1c-bf8a-7f61-a740-d3f10d1099aa
01a09a1c-bf8b-7073-9c0b-e1342c79901e
01a09a1c-bf8b-718a-aa29-6fe9a0e0658a
01a09a1c-bf8b-72a0-8b48-2703394929bb
01a09a1c-bf8b-73b3-9006-a20abd481ed8
01a09a1c-bf8b-74c5-8509-a0f8bf9c8cde
01a09a1c-bf8b-75d8-b3e5-695bd43615ee
01a09a1c-bf8b-76ea-9005-a0ea1f7d0809
01a09a1c-bf8b-77fc-a1cd-731afbe6c50e

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)

1f1af561-67b7-6cee-8a55-4cf95d479851
1f1af561-67b7-6e74-8a55-4cf95d479851
1f1af561-67b7-6f5a-8a55-4cf95d479851
1f1af561-67b8-602c-8a55-4cf95d479851
1f1af561-67b8-60ea-8a55-4cf95d479851
1f1af561-67b8-61b2-8a55-4cf95d479851
1f1af561-67b8-6270-8a55-4cf95d479851
1f1af561-67b8-6338-8a55-4cf95d479851
1f1af561-67b8-6400-8a55-4cf95d479851
1f1af561-67b8-64be-8a55-4cf95d479851
1f1af561-67b8-6626-8a55-4cf95d479851
1f1af561-67b8-66f8-8a55-4cf95d479851
1f1af561-67b8-67b6-8a55-4cf95d479851
1f1af561-67b8-6874-8a55-4cf95d479851
1f1af561-67b8-6932-8a55-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)

167b8a0e-af56-11f1-8a55-4cf95d479851
167b8a7c-af56-11f1-8a55-4cf95d479851
167b8ae0-af56-11f1-8a55-4cf95d479851
167b8b4e-af56-11f1-8a55-4cf95d479851
167b8bb2-af56-11f1-8a55-4cf95d479851
167b8c20-af56-11f1-8a55-4cf95d479851
167b8c8e-af56-11f1-8a55-4cf95d479851
167b8cfc-af56-11f1-8a55-4cf95d479851
167b8d60-af56-11f1-8a55-4cf95d479851
167b8dc4-af56-11f1-8a55-4cf95d479851
167b8e32-af56-11f1-8a55-4cf95d479851
167b8e96-af56-11f1-8a55-4cf95d479851
167b8efa-af56-11f1-8a55-4cf95d479851
167b8f68-af56-11f1-8a55-4cf95d479851
167b8fcc-af56-11f1-8a55-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)

6b277132-3d02-8010-87ea-5ce32bd83b97
d3e17232-3d02-8010-87ea-5ce32bd83b97
71607332-3d02-8010-87ea-5ce32bd83b97
36f77432-3d02-8010-87ea-5ce32bd83b97
b6d27532-3d02-8010-87ea-5ce32bd83b97
2ec67632-3d02-8010-87ea-5ce32bd83b97
b4c67732-3d02-8010-87ea-5ce32bd83b97
2bb37832-3d02-8010-87ea-5ce32bd83b97
a9c17a32-3d02-8010-87ea-5ce32bd83b97
601f7b32-3d02-8010-87ea-5ce32bd83b97
7d967c32-3d02-8010-87ea-5ce32bd83b97
75417d32-3d02-8010-87ea-5ce32bd83b97
e0ce7e32-3d02-8010-87ea-5ce32bd83b97
30d17f32-3d02-8010-87ea-5ce32bd83b97
e4db8032-3d02-8010-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)

64e01396-fb45-409a-9c15-13b303d66a39
ca6fb516-92ff-4a87-a728-e5e2f00aceaa
c4c8dbb1-af9a-40ed-86f6-068ea57e05ac
dbb10163-a9d6-40b9-9fcc-af563a921bb6
bfd14638-b14b-4c88-a415-89f2749407bc
f6767af5-e7d1-443a-8638-3e2e32ec0796
c4cefcc5-e5d2-410e-9c1f-bdb448ef18d3
ef426c15-b3dc-42a2-a382-d19b0300681f
e5ae655f-fc67-4e5c-a66c-67a8e71590e9
f0dcac5b-c306-443e-b24e-acf9a36b7af4
b04684e1-7d85-4dc4-a97c-77948895960e
5630741e-2713-44f7-8373-d86da4d1d1b2
22f0db60-0d4e-4d18-9090-f180ba76f724
bcb4d448-64e5-4dd2-99c9-40d7698e3c1d
119c27b1-c3d3-4832-b5f9-1eae48fbbee1

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: