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)

019bbbf8-98f4-74a8-bf76-b7b5b4fbc840
019bbbf8-98f4-7652-a7a3-e0cde7a660ed
019bbbf8-98f4-779a-8cb8-020b8d1e9da5
019bbbf8-98f4-78bd-8baa-408fe73954ec
019bbbf8-98f4-79dc-8f93-80d63fb024b3
019bbbf8-98f4-7afa-9d8d-2d1371a8d9fa
019bbbf8-98f4-7c19-af2f-a7a73638e4cc
019bbbf8-98f4-7d38-bb8c-bb6601a91da3
019bbbf8-98f4-7e5b-9fc4-cf450a02b10f
019bbbf8-98f4-7f79-8e39-ca892cc2eb1d
019bbbf8-98f5-7094-8765-fe36833332a0
019bbbf8-98f5-71af-8117-029c671f802c
019bbbf8-98f5-72d1-b004-3d1e01840d98
019bbbf8-98f5-73f0-a486-7dd46c606da9
019bbbf8-98f5-750b-b716-169d1b6ffc6c

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)

1f0f130b-2583-627c-be2a-4cf95d479851
1f0f130b-2583-6434-be2a-4cf95d479851
1f0f130b-2583-651a-be2a-4cf95d479851
1f0f130b-2583-65e2-be2a-4cf95d479851
1f0f130b-2583-66aa-be2a-4cf95d479851
1f0f130b-2583-6772-be2a-4cf95d479851
1f0f130b-2583-6830-be2a-4cf95d479851
1f0f130b-2583-68f8-be2a-4cf95d479851
1f0f130b-2583-69b6-be2a-4cf95d479851
1f0f130b-2583-6a74-be2a-4cf95d479851
1f0f130b-2583-6c0e-be2a-4cf95d479851
1f0f130b-2583-6d26-be2a-4cf95d479851
1f0f130b-2583-6df8-be2a-4cf95d479851
1f0f130b-2583-6eb6-be2a-4cf95d479851
1f0f130b-2583-6f74-be2a-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)

a2915447-c630-449d-86b8-dff4f67cbc64
794fe3f3-0361-4358-aad8-53edd035d566
17ee83c3-a412-40c6-beb1-939aaa87268a
131f07a4-0972-42a8-a741-a2c5f2b03ba4
c6dfc6ba-01e3-4651-aba5-7b9631db72b4
dd35d5e7-c970-4ed6-a273-d383a41a7b88
b52027c2-2bd5-4870-916e-28c2059898a9
f9f97a3b-a600-4724-92c5-430ac55a3890
e482343c-5064-4e33-9480-fa549e76da80
27fa5318-ba67-4789-9cd9-188547d6efea
8b86cce6-eb48-417b-86ee-50194611ffef
33229131-d0cc-4add-b8d3-d60d4c73a076
bd2b3541-33d8-45a9-8783-6b754cb0d779
44a31a63-3e95-46db-a5fb-6e06c5fb7aa6
b0c8ae29-dc1b-447f-91be-010059cc5f6a

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)

b25844a6-f130-11f0-be2a-4cf95d479851
b2584514-f130-11f0-be2a-4cf95d479851
b25845d2-f130-11f0-be2a-4cf95d479851
b2584640-f130-11f0-be2a-4cf95d479851
b258469a-f130-11f0-be2a-4cf95d479851
b25846fe-f130-11f0-be2a-4cf95d479851
b2584758-f130-11f0-be2a-4cf95d479851
b25847b2-f130-11f0-be2a-4cf95d479851
b2584816-f130-11f0-be2a-4cf95d479851
b2584870-f130-11f0-be2a-4cf95d479851
b25848ca-f130-11f0-be2a-4cf95d479851
b258492e-f130-11f0-be2a-4cf95d479851
b2584988-f130-11f0-be2a-4cf95d479851
b25849ec-f130-11f0-be2a-4cf95d479851
b2584a46-f130-11f0-be2a-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)

d58c221e-5f02-8e00-87ea-5ce32bd83b97
2169231e-5f02-8e00-87ea-5ce32bd83b97
9331241e-5f02-8e00-87ea-5ce32bd83b97
d400251e-5f02-8e00-87ea-5ce32bd83b97
fde0261e-5f02-8e00-87ea-5ce32bd83b97
a4d6271e-5f02-8e00-87ea-5ce32bd83b97
bcc8281e-5f02-8e00-87ea-5ce32bd83b97
45e4291e-5f02-8e00-87ea-5ce32bd83b97
b21f2a1e-5f02-8e00-87ea-5ce32bd83b97
4fdf2b1e-5f02-8e00-87ea-5ce32bd83b97
272b2c1e-5f02-8e00-87ea-5ce32bd83b97
d41c2d1e-5f02-8e00-87ea-5ce32bd83b97
6e342e1e-5f02-8e00-87ea-5ce32bd83b97
fd50301e-5f02-8e00-87ea-5ce32bd83b97
5d52311e-5f02-8e00-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: