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)

019f8c39-ccf3-7171-be7a-815999d311f6
019f8c39-ccf3-732c-a711-918f4320cb5c
019f8c39-ccf3-7463-b24c-d3b26d5ed7b8
019f8c39-ccf3-7582-b00e-80beaaef2ddc
019f8c39-ccf3-7694-9522-cba71956e732
019f8c39-ccf3-77a2-b379-213efd865b0a
019f8c39-ccf3-78b5-9c4c-71b810b3ea6e
019f8c39-ccf3-79c7-b49c-bf0ba584672b
019f8c39-ccf3-7ada-8957-15a40df7c066
019f8c39-ccf3-7bec-8b4b-7cb76662f5bd
019f8c39-ccf3-7cfe-acdb-1ca0d45fa500
019f8c39-ccf3-7e11-aa40-e1241568cda3
019f8c39-ccf3-7f23-8097-03f68177386d
019f8c39-ccf4-7036-b0cb-5454668007fb
019f8c39-ccf4-7148-99ee-3edb31e47bbf

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)

1f18627a-5574-63d8-b45c-4cf95d479851
1f18627a-5574-657c-b45c-4cf95d479851
1f18627a-5574-6662-b45c-4cf95d479851
1f18627a-5574-672a-b45c-4cf95d479851
1f18627a-5574-67f2-b45c-4cf95d479851
1f18627a-5574-68ba-b45c-4cf95d479851
1f18627a-5574-6978-b45c-4cf95d479851
1f18627a-5574-6a36-b45c-4cf95d479851
1f18627a-5574-6af4-b45c-4cf95d479851
1f18627a-5574-6bb2-b45c-4cf95d479851
1f18627a-5574-6d10-b45c-4cf95d479851
1f18627a-5574-6de2-b45c-4cf95d479851
1f18627a-5574-6ea0-b45c-4cf95d479851
1f18627a-5574-6f5e-b45c-4cf95d479851
1f18627a-5575-6012-b45c-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)

a55750e4-8627-11f1-b45c-4cf95d479851
a5575148-8627-11f1-b45c-4cf95d479851
a55751a2-8627-11f1-b45c-4cf95d479851
a55751fc-8627-11f1-b45c-4cf95d479851
a5575260-8627-11f1-b45c-4cf95d479851
a55752ba-8627-11f1-b45c-4cf95d479851
a5575328-8627-11f1-b45c-4cf95d479851
a5575396-8627-11f1-b45c-4cf95d479851
a55753fa-8627-11f1-b45c-4cf95d479851
a5575468-8627-11f1-b45c-4cf95d479851
a55754cc-8627-11f1-b45c-4cf95d479851
a557553a-8627-11f1-b45c-4cf95d479851
a557559e-8627-11f1-b45c-4cf95d479851
a5575602-8627-11f1-b45c-4cf95d479851
a5575666-8627-11f1-b45c-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)

1fc71a06-9405-8b0c-87ea-5ce32bd83b97
9d641b06-9405-8b0c-87ea-5ce32bd83b97
8c591c06-9405-8b0c-87ea-5ce32bd83b97
511f1d06-9405-8b0c-87ea-5ce32bd83b97
9c101e06-9405-8b0c-87ea-5ce32bd83b97
bac21f06-9405-8b0c-87ea-5ce32bd83b97
edb52006-9405-8b0c-87ea-5ce32bd83b97
1df52106-9405-8b0c-87ea-5ce32bd83b97
627c2206-9405-8b0c-87ea-5ce32bd83b97
fabc2306-9405-8b0c-87ea-5ce32bd83b97
65912406-9405-8b0c-87ea-5ce32bd83b97
e0ff2506-9405-8b0c-87ea-5ce32bd83b97
bb2f2606-9405-8b0c-87ea-5ce32bd83b97
900a2706-9405-8b0c-87ea-5ce32bd83b97
0f652806-9405-8b0c-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)

0f9cfcf9-7d01-42ad-b236-ac120dc3a212
9348a05d-e350-43f4-8966-9e22c8525338
cd6ad1c8-d6e4-4020-9f0c-6e24a9441fda
2c7727df-c597-484e-84c1-384d205bf81e
7fed8d7b-dcd1-4a05-8085-f31b0c380f74
31f44508-eda3-4aa8-bc69-8902672fc2f8
2159b652-c538-439e-8ebe-89d33f8c2c6c
704487d9-34e4-4c84-8691-ad6d37a4519e
77ba10e9-a069-4743-afdd-e0e9593b5b9e
4b99d208-a38e-45f9-a127-11bd0673c45c
c9a3f601-7415-417e-9659-4b5977759410
53493723-87f8-4f56-96a9-811bd7740d5c
3d04fe2b-cc47-44d0-be8f-b6b8d7f83625
14e05536-5e60-498e-9fb9-c2e95f50ff6b
4edbc110-4276-4df8-a6e3-5e2268ede83b

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: