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)

01a21480-7ec8-71f4-b134-3d55debdca9a
01a21480-7ec8-7409-b69a-4b478e6a00fb
01a21480-7ec8-7561-998e-e9c23ce4194b
01a21480-7ec8-7684-90c6-a8b8673d6fd1
01a21480-7ec8-779a-ad4c-2df29b9def77
01a21480-7ec8-78ad-aa27-f8b372bccc60
01a21480-7ec8-79bf-96e2-2efa407dc114
01a21480-7ec8-7ad5-9505-0b0f1fd02eb8
01a21480-7ec8-7be8-885d-f10c41991407
01a21480-7ec8-7cfa-ab3c-69721c61c33b
01a21480-7ec8-7e11-ab8d-b8dcf558c334
01a21480-7ec8-7f23-a478-caa6d8a9d33b
01a21480-7ec9-703a-acdb-d9ab050cab39
01a21480-7ec9-7150-818b-0c6330523cc7
01a21480-7ec9-7267-b159-92225c3c13b8

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)

1f1e912e-ed9d-65ea-8d31-4cf95d479851
1f1e912e-ed9d-67c0-8d31-4cf95d479851
1f1e912e-ed9d-68b0-8d31-4cf95d479851
1f1e912e-ed9d-698c-8d31-4cf95d479851
1f1e912e-ed9d-6a5e-8d31-4cf95d479851
1f1e912e-ed9d-6b30-8d31-4cf95d479851
1f1e912e-ed9d-6bf8-8d31-4cf95d479851
1f1e912e-ed9d-6cca-8d31-4cf95d479851
1f1e912e-ed9d-6d92-8d31-4cf95d479851
1f1e912e-ed9d-6e64-8d31-4cf95d479851
1f1e912e-ed9d-6fae-8d31-4cf95d479851
1f1e912e-ed9e-608a-8d31-4cf95d479851
1f1e912e-ed9e-615c-8d31-4cf95d479851
1f1e912e-ed9e-622e-8d31-4cf95d479851
1f1e912e-ed9e-6300-8d31-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)

eed9e3dc-e912-11f1-8d31-4cf95d479851
eed9e44a-e912-11f1-8d31-4cf95d479851
eed9e4b8-e912-11f1-8d31-4cf95d479851
eed9e526-e912-11f1-8d31-4cf95d479851
eed9e58a-e912-11f1-8d31-4cf95d479851
eed9e5f8-e912-11f1-8d31-4cf95d479851
eed9e666-e912-11f1-8d31-4cf95d479851
eed9e6ca-e912-11f1-8d31-4cf95d479851
eed9e724-e912-11f1-8d31-4cf95d479851
eed9e792-e912-11f1-8d31-4cf95d479851
eed9e7f6-e912-11f1-8d31-4cf95d479851
eed9e850-e912-11f1-8d31-4cf95d479851
eed9e8b4-e912-11f1-8d31-4cf95d479851
eed9e936-e912-11f1-8d31-4cf95d479851
eed9e990-e912-11f1-8d31-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)

d0c71d0f-eb04-8914-87ea-5ce32bd83b97
3bae1e0f-eb04-8914-87ea-5ce32bd83b97
020a1f0f-eb04-8914-87ea-5ce32bd83b97
5aa4200f-eb04-8914-87ea-5ce32bd83b97
a79d210f-eb04-8914-87ea-5ce32bd83b97
0bfd220f-eb04-8914-87ea-5ce32bd83b97
962c230f-eb04-8914-87ea-5ce32bd83b97
17d6240f-eb04-8914-87ea-5ce32bd83b97
e0b9250f-eb04-8914-87ea-5ce32bd83b97
52f8260f-eb04-8914-87ea-5ce32bd83b97
c0ea270f-eb04-8914-87ea-5ce32bd83b97
f83c280f-eb04-8914-87ea-5ce32bd83b97
b7d8290f-eb04-8914-87ea-5ce32bd83b97
88a92a0f-eb04-8914-87ea-5ce32bd83b97
ebff2b0f-eb04-8914-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)

7f0074a6-4d9b-4013-b204-19157e501d0e
13737523-9900-4bb0-9055-52a0ef3fa309
ff724bec-84f2-4029-854c-960b8848e40f
1c526fc3-3d6b-49ba-a290-37edd9eb1efa
60895a40-e7fd-497b-aa89-d9a6095fbc19
c8bc8c28-9c79-4ed1-9584-2de6d022ce17
11ed53a8-0e46-4e5a-b249-aec498f79310
ede2613f-86d6-405a-8ce7-c5b3c3b48b1d
9a42bd33-7440-411b-88fe-037e5117c8cb
2ca80650-4f6c-4b58-bc8f-2b6104694963
4b5a6dc9-aac9-497b-b828-6a2b685a929e
dd735ed5-6171-4cc7-b2b7-b5c3260fdce4
c3daf19f-8c9f-402d-a926-764e7404d8c5
17ee0060-f085-4715-bddb-56155028bef2
f43271c5-9568-44be-9bb6-706bf272b222

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: