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)

01a0f1a4-f064-72de-8e46-76ce50090767
01a0f1a4-f064-74e2-88b9-21a664654c5c
01a0f1a4-f064-7625-a0c6-6881a8608b0f
01a0f1a4-f064-7748-9a51-27717c2a1b45
01a0f1a4-f064-786b-adda-d56dc8076c39
01a0f1a4-f064-7986-a04f-1d4c41b4bb52
01a0f1a4-f064-7aa0-b0bb-fb4255536e25
01a0f1a4-f064-7bbb-a35a-9054a54bca6f
01a0f1a4-f064-7cd5-9d09-48298e4ac6b3
01a0f1a4-f064-7dec-8e25-56ca9f41ef77
01a0f1a4-f064-7f07-abc1-9751aa102640
01a0f1a4-f065-7021-8172-b05949b0d42f
01a0f1a4-f065-713c-bb4f-734f5c6143f5
01a0f1a4-f065-7257-ac67-fed8af4418ba
01a0f1a4-f065-7371-8b7c-3a39df0c8ed3

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)

1f1bcb14-e6fb-66d4-9d29-4cf95d479851
1f1bcb14-e6fb-68be-9d29-4cf95d479851
1f1bcb14-e6fb-69a4-9d29-4cf95d479851
1f1bcb14-e6fb-6a80-9d29-4cf95d479851
1f1bcb14-e6fb-6b48-9d29-4cf95d479851
1f1bcb14-e6fb-6c1a-9d29-4cf95d479851
1f1bcb14-e6fb-6ce2-9d29-4cf95d479851
1f1bcb14-e6fb-6daa-9d29-4cf95d479851
1f1bcb14-e6fb-6e72-9d29-4cf95d479851
1f1bcb14-e6fb-6f30-9d29-4cf95d479851
1f1bcb14-e6fc-607a-9d29-4cf95d479851
1f1bcb14-e6fc-614c-9d29-4cf95d479851
1f1bcb14-e6fc-6214-9d29-4cf95d479851
1f1bcb14-e6fc-62d2-9d29-4cf95d479851
1f1bcb14-e6fc-639a-9d29-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)

4e6fc46c-bcb1-11f1-9d29-4cf95d479851
4e6fc4d0-bcb1-11f1-9d29-4cf95d479851
4e6fc534-bcb1-11f1-9d29-4cf95d479851
4e6fc58e-bcb1-11f1-9d29-4cf95d479851
4e6fc5f2-bcb1-11f1-9d29-4cf95d479851
4e6fc64c-bcb1-11f1-9d29-4cf95d479851
4e6fc6a6-bcb1-11f1-9d29-4cf95d479851
4e6fc70a-bcb1-11f1-9d29-4cf95d479851
4e6fc76e-bcb1-11f1-9d29-4cf95d479851
4e6fc7c8-bcb1-11f1-9d29-4cf95d479851
4e6fc836-bcb1-11f1-9d29-4cf95d479851
4e6fc89a-bcb1-11f1-9d29-4cf95d479851
4e6fc8f4-bcb1-11f1-9d29-4cf95d479851
4e6fc958-bcb1-11f1-9d29-4cf95d479851
4e6fc9bc-bcb1-11f1-9d29-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)

91bea321-3902-8111-87ea-5ce32bd83b97
67c4a421-3902-8111-87ea-5ce32bd83b97
e804a521-3902-8111-87ea-5ce32bd83b97
4158a621-3902-8111-87ea-5ce32bd83b97
b6d6a721-3902-8111-87ea-5ce32bd83b97
7149a821-3902-8111-87ea-5ce32bd83b97
3000a921-3902-8111-87ea-5ce32bd83b97
346caa21-3902-8111-87ea-5ce32bd83b97
4d51ab21-3902-8111-87ea-5ce32bd83b97
545fac21-3902-8111-87ea-5ce32bd83b97
998bad21-3902-8111-87ea-5ce32bd83b97
b5e5ae21-3902-8111-87ea-5ce32bd83b97
53ccaf21-3902-8111-87ea-5ce32bd83b97
1624b021-3902-8111-87ea-5ce32bd83b97
e6c0b121-3902-8111-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)

4067c518-3f45-411a-b788-1627d39ffff3
897e9a96-d3f0-4f55-9184-d6a935643e4b
31e05112-2de2-4ff5-b343-27b8e1de59f2
44bd8569-cfe0-4f1c-8950-360960e7c456
98a051c0-e5a4-45db-b48f-b9eb9bc61ac8
eafbdd2a-ca46-4ddf-9b56-0221dd98a8a6
55f7eb40-e762-48f6-bc12-aed85560d3c4
7dfa037e-a155-4273-9384-dd11d2ccb8f6
5a23d46e-28ad-4e63-af8b-d38164374338
4c85c420-81f6-4972-a6ba-4efdff926454
13bbddd2-7088-4e7f-a709-29d0fc6ceda7
804dcf16-a1fc-4f7d-bf82-57c1ba8f58f4
2efe812e-adcb-4c90-8915-3b4a7b0c030e
f63aed44-c255-4ccc-b588-8bbbe49311f6
beeeccc8-aa86-43de-a8dc-c2ffb2f9bd06

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: