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)

01a0afff-1a95-7ea4-b073-6b1ba959587d
01a0afff-1a96-705b-93f8-618704341471
01a0afff-1a96-719a-aec4-12f10d401264
01a0afff-1a96-72b5-b71d-46b810cd652a
01a0afff-1a96-73d8-9634-946a2537981d
01a0afff-1a96-74ee-9e09-5f8c5da9692a
01a0afff-1a96-7605-bbf3-438e4ab2c144
01a0afff-1a96-771b-bcaf-fc081674ece4
01a0afff-1a96-782e-9090-c9031c0e4f1e
01a0afff-1a96-7940-9a92-ca4336f70910
01a0afff-1a96-7a52-a35c-a5a44f556759
01a0afff-1a96-7b69-b603-3f34f4e2a24d
01a0afff-1a96-7c7b-a45f-f65d93cc8550
01a0afff-1a96-7d92-bea1-abbe8c087c9d
01a0afff-1a96-7ea4-9ea7-d08d4a13c598

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)

1f1b2acf-07fe-6b9c-b73e-4cf95d479851
1f1b2acf-07fe-6d9a-b73e-4cf95d479851
1f1b2acf-07fe-6f48-b73e-4cf95d479851
1f1b2acf-07ff-60e2-b73e-4cf95d479851
1f1b2acf-07ff-6268-b73e-4cf95d479851
1f1b2acf-07ff-63e4-b73e-4cf95d479851
1f1b2acf-07ff-6560-b73e-4cf95d479851
1f1b2acf-07ff-66c8-b73e-4cf95d479851
1f1b2acf-07ff-6830-b73e-4cf95d479851
1f1b2acf-07ff-69a2-b73e-4cf95d479851
1f1b2acf-07ff-6bb4-b73e-4cf95d479851
1f1b2acf-07ff-6d30-b73e-4cf95d479851
1f1b2acf-07ff-6eac-b73e-4cf95d479851
1f1b2acf-0800-601e-b73e-4cf95d479851
1f1b2acf-0800-6190-b73e-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)

f0800320-b2ac-11f1-b73e-4cf95d479851
f08003c0-b2ac-11f1-b73e-4cf95d479851
f0800456-b2ac-11f1-b73e-4cf95d479851
f08004f6-b2ac-11f1-b73e-4cf95d479851
f08005a0-b2ac-11f1-b73e-4cf95d479851
f0800636-b2ac-11f1-b73e-4cf95d479851
f08006d6-b2ac-11f1-b73e-4cf95d479851
f080078a-b2ac-11f1-b73e-4cf95d479851
f0800834-b2ac-11f1-b73e-4cf95d479851
f08008d4-b2ac-11f1-b73e-4cf95d479851
f0800974-b2ac-11f1-b73e-4cf95d479851
f0800a14-b2ac-11f1-b73e-4cf95d479851
f0800aaa-b2ac-11f1-b73e-4cf95d479851
f0800b54-b2ac-11f1-b73e-4cf95d479851
f0800bf4-b2ac-11f1-b73e-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)

1f8c6c06-a503-8410-87ea-5ce32bd83b97
b4386d06-a503-8410-87ea-5ce32bd83b97
8bf16e06-a503-8410-87ea-5ce32bd83b97
1e096f06-a503-8410-87ea-5ce32bd83b97
4c2c7006-a503-8410-87ea-5ce32bd83b97
af547106-a503-8410-87ea-5ce32bd83b97
eb807206-a503-8410-87ea-5ce32bd83b97
6fa47306-a503-8410-87ea-5ce32bd83b97
5c957406-a503-8410-87ea-5ce32bd83b97
0f547506-a503-8410-87ea-5ce32bd83b97
7b3a7606-a503-8410-87ea-5ce32bd83b97
b3ed7706-a503-8410-87ea-5ce32bd83b97
d0a17906-a503-8410-87ea-5ce32bd83b97
52b77a06-a503-8410-87ea-5ce32bd83b97
61087b06-a503-8410-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)

ad9eb3df-7809-4c43-92cc-96bf278d708f
30034d5c-ac7f-424a-9e7e-71e1a2f9391b
0bcf7d87-3a82-4d7c-adaa-3bede71abb24
648ec937-cdb4-4d98-a4c0-6c06947c9bd0
58e9d324-fdd6-4bc9-912c-6e66a816d3c5
33084e8d-9e66-4efe-81e5-2d30c5896382
bcfd273f-8810-424c-89a5-6d62d088ed14
2d5bb0ee-9858-4743-bcd5-060fe0e48756
f9bd2f55-b312-46ed-9db5-8eca97aa63a4
9724ce94-a977-4e14-b203-0415c3dc6a67
ae8012c1-5f12-46b7-abf9-258b07b3558b
bdef586b-78d8-40a2-8b89-af3dd4437cd2
89e3fac0-db07-4be6-a138-394994412dff
98dfc3bb-e4b5-4b5b-9d3e-4f642f9c4233
3eb2ebb4-b835-4d70-9ce7-ca8f09915248

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: