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)

01a15453-0533-7e4e-8280-2ebb17351830
01a15453-0533-7fdc-9dc6-429ffbc64e9a
01a15453-0534-7117-a70e-7ed8709e882f
01a15453-0534-7232-8f2e-f239a29ace22
01a15453-0534-7348-a8e3-83d9b33a3692
01a15453-0534-745b-b96f-5ab86429a1c3
01a15453-0534-756d-a985-1403d750758d
01a15453-0534-767f-9dbc-08388157ad7b
01a15453-0534-7792-ba75-0ee87676cee2
01a15453-0534-78a0-987e-1ca1f5cac72d
01a15453-0534-79bf-ae3a-7d73e6771692
01a15453-0534-7ad1-ba78-9e2378b897a3
01a15453-0534-7be8-adca-8e7b412aba22
01a15453-0534-7cfa-92ad-490cae39a79b
01a15453-0534-7e0d-b2bb-5884c1779de4

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)

1f1cbbff-e7ca-65ce-9e7c-4cf95d479851
1f1cbbff-e7ca-6786-9e7c-4cf95d479851
1f1cbbff-e7ca-6862-9e7c-4cf95d479851
1f1cbbff-e7ca-692a-9e7c-4cf95d479851
1f1cbbff-e7ca-69f2-9e7c-4cf95d479851
1f1cbbff-e7ca-6ab0-9e7c-4cf95d479851
1f1cbbff-e7ca-6b6e-9e7c-4cf95d479851
1f1cbbff-e7ca-6c2c-9e7c-4cf95d479851
1f1cbbff-e7ca-6cea-9e7c-4cf95d479851
1f1cbbff-e7ca-6da8-9e7c-4cf95d479851
1f1cbbff-e7ca-6efc-9e7c-4cf95d479851
1f1cbbff-e7cb-606e-9e7c-4cf95d479851
1f1cbbff-e7cb-6122-9e7c-4cf95d479851
1f1cbbff-e7cb-61e0-9e7c-4cf95d479851
1f1cbbff-e7cb-629e-9e7c-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)

fe7cb370-cbbf-11f1-9e7c-4cf95d479851
fe7cb3d4-cbbf-11f1-9e7c-4cf95d479851
fe7cb442-cbbf-11f1-9e7c-4cf95d479851
fe7cb4a6-cbbf-11f1-9e7c-4cf95d479851
fe7cb514-cbbf-11f1-9e7c-4cf95d479851
fe7cb578-cbbf-11f1-9e7c-4cf95d479851
fe7cb5d2-cbbf-11f1-9e7c-4cf95d479851
fe7cb636-cbbf-11f1-9e7c-4cf95d479851
fe7cb69a-cbbf-11f1-9e7c-4cf95d479851
fe7cb6fe-cbbf-11f1-9e7c-4cf95d479851
fe7cb762-cbbf-11f1-9e7c-4cf95d479851
fe7cb7bc-cbbf-11f1-9e7c-4cf95d479851
fe7cb82a-cbbf-11f1-9e7c-4cf95d479851
fe7cb88e-cbbf-11f1-9e7c-4cf95d479851
fe7cb8fc-cbbf-11f1-9e7c-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)

b278651d-2203-8412-87ea-5ce32bd83b97
97c4661d-2203-8412-87ea-5ce32bd83b97
3961671d-2203-8412-87ea-5ce32bd83b97
8a0c681d-2203-8412-87ea-5ce32bd83b97
2501691d-2203-8412-87ea-5ce32bd83b97
20216b1d-2203-8412-87ea-5ce32bd83b97
ccd26c1d-2203-8412-87ea-5ce32bd83b97
71836d1d-2203-8412-87ea-5ce32bd83b97
a0486e1d-2203-8412-87ea-5ce32bd83b97
e9d26f1d-2203-8412-87ea-5ce32bd83b97
047c701d-2203-8412-87ea-5ce32bd83b97
9dc4711d-2203-8412-87ea-5ce32bd83b97
d497721d-2203-8412-87ea-5ce32bd83b97
ea7d731d-2203-8412-87ea-5ce32bd83b97
adcb741d-2203-8412-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)

99b6a893-24fd-455c-a85b-54df48b5352a
292d6a63-c252-49c0-a089-fbdaf96c32fb
3f0cafa6-f4f5-4cf2-ae0b-c6e6b2c16eb8
ad4d3b93-bb67-4887-baa4-71dae8bc34c6
242dc3e7-6dbd-4670-a12e-ed3cab2d8547
da6655dc-af7a-4e64-aef9-8ed39ca33e77
c40423dd-9d79-419b-9c5d-84744b303601
f15164e1-405e-49b7-9994-7ff26de3d11e
9d018f96-82b7-4f6a-bd41-d0d6eb852a4b
6d86d634-b04a-4e50-a777-a89f13cc1647
b41bf22d-02d6-4e91-a267-3a849bf20970
21ccae82-b805-424f-b397-fa3bfa7ea1ed
738f0d51-2330-4b50-b586-ca6fc0eafcc9
ca4add78-f34b-443c-8b96-a3072ce4090f
ca5904ad-026c-4d4d-9798-60e885087adf

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: