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)

01a199c7-a431-7246-a872-b975cbba0829
01a199c7-a431-7559-84c0-eef229d969c8
01a199c7-a431-76a4-b040-2c4255aa1428
01a199c7-a431-77cb-a2b6-abb779aab33d
01a199c7-a431-78ea-b4a3-6f53c6cd3e1f
01a199c7-a431-7a05-a3e5-df2fcdf3668d
01a199c7-a431-7b1f-afea-01dd6783adc5
01a199c7-a431-7c3a-a0dd-eaf6a4708fd3
01a199c7-a431-7d54-bd6d-7b4fe3295ad5
01a199c7-a431-7e6b-b462-0694dde7a1b7
01a199c7-a431-7f86-a047-5874c4cb383a
01a199c7-a432-709c-8114-5a2c62f55515
01a199c7-a432-71b7-8c3d-d245f7d98082
01a199c7-a432-72d1-932a-ab6b6569e310
01a199c7-a432-73e8-9324-e407d85009c6

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)

1f1d6591-9ff3-6142-b7ae-4cf95d479851
1f1d6591-9ff3-6322-b7ae-4cf95d479851
1f1d6591-9ff3-641c-b7ae-4cf95d479851
1f1d6591-9ff3-64f8-b7ae-4cf95d479851
1f1d6591-9ff3-65c0-b7ae-4cf95d479851
1f1d6591-9ff3-6692-b7ae-4cf95d479851
1f1d6591-9ff3-6764-b7ae-4cf95d479851
1f1d6591-9ff3-6836-b7ae-4cf95d479851
1f1d6591-9ff3-6908-b7ae-4cf95d479851
1f1d6591-9ff3-69da-b7ae-4cf95d479851
1f1d6591-9ff3-6b2e-b7ae-4cf95d479851
1f1d6591-9ff3-6c0a-b7ae-4cf95d479851
1f1d6591-9ff3-6cdc-b7ae-4cf95d479851
1f1d6591-9ff3-6dae-b7ae-4cf95d479851
1f1d6591-9ff3-6e80-b7ae-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)

19ff3f5c-d659-11f1-b7ae-4cf95d479851
19ff3fca-d659-11f1-b7ae-4cf95d479851
19ff402e-d659-11f1-b7ae-4cf95d479851
19ff4088-d659-11f1-b7ae-4cf95d479851
19ff40f6-d659-11f1-b7ae-4cf95d479851
19ff415a-d659-11f1-b7ae-4cf95d479851
19ff41b4-d659-11f1-b7ae-4cf95d479851
19ff420e-d659-11f1-b7ae-4cf95d479851
19ff4272-d659-11f1-b7ae-4cf95d479851
19ff42d6-d659-11f1-b7ae-4cf95d479851
19ff433a-d659-11f1-b7ae-4cf95d479851
19ff439e-d659-11f1-b7ae-4cf95d479851
19ff4402-d659-11f1-b7ae-4cf95d479851
19ff4466-d659-11f1-b7ae-4cf95d479851
19ff44ca-d659-11f1-b7ae-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)

f4d12d28-3f00-8213-87ea-5ce32bd83b97
3c872f28-3f00-8213-87ea-5ce32bd83b97
4eb93028-3f00-8213-87ea-5ce32bd83b97
6efd3128-3f00-8213-87ea-5ce32bd83b97
d4ed3228-3f00-8213-87ea-5ce32bd83b97
ee213328-3f00-8213-87ea-5ce32bd83b97
98353428-3f00-8213-87ea-5ce32bd83b97
12e63528-3f00-8213-87ea-5ce32bd83b97
bffc3628-3f00-8213-87ea-5ce32bd83b97
e0623728-3f00-8213-87ea-5ce32bd83b97
674e3828-3f00-8213-87ea-5ce32bd83b97
0a253928-3f00-8213-87ea-5ce32bd83b97
ead93a28-3f00-8213-87ea-5ce32bd83b97
e8cd3b28-3f00-8213-87ea-5ce32bd83b97
d6353c28-3f00-8213-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)

2bf3076e-dfe2-473f-99a1-95dc88b68e5e
ac7a0da8-5d05-4dc2-9e4d-ccea369315b1
8181ca0a-ea78-48f2-a0e2-8689b0be1fe7
c6df7a27-b23b-4452-9dfc-9db2514c801d
11ba5621-6ec8-4771-ae73-f023771fe597
34f151de-74d1-4922-a817-237ef95c15c7
8a3e7bfe-8841-4c4d-afc9-d3e7259acfe6
2d401d4e-6b52-45d9-909e-4ff00d5334d2
37b815ab-3c3a-4c6b-be1b-3e0eb063288a
7c3473d5-e2d6-4011-a042-b231062576bc
03a5552f-96cf-4b97-a934-4c38e7989ff7
63731683-20de-4840-91e4-db789f88d89e
71031c38-1d85-4e12-a504-b8dc6ff56a73
87769011-3595-4edc-ad10-6267888e0a15
6d91452f-abbb-4ff4-86ec-b7a83f45c8ba

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: