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)

019bfb1f-9c7b-7a57-9cfc-586946a61bc0
019bfb1f-9c7b-7bf0-bd5f-0159dc29b821
019bfb1f-9c7b-7d59-914d-773efa0bfb09
019bfb1f-9c7b-7eb9-8483-09903c044b05
019bfb1f-9c7b-7009-8ae6-996eadb00dd6
019bfb1f-9c7c-712c-9e8d-ed9cd2f7e61c
019bfb1f-9c7c-7246-b08a-43564f87122c
019bfb1f-9c7c-7361-bcdc-032cc84c6566
019bfb1f-9c7c-7494-a866-28360340d5fb
019bfb1f-9c7c-75e4-a02f-965a39accca2
019bfb1f-9c7c-7738-b647-8bf7bd7fb40f
019bfb1f-9c7c-785f-8890-f27f3461c91a
019bfb1f-9c7c-7979-92cc-2f9dfb0cd933
019bfb1f-9c7c-7ab1-ac4a-311e7cd20259
019bfb1f-9c7c-7bfc-b19d-6e86fdef4dde

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)

1f0fad39-6520-6d80-bda2-4cf95d479851
1f0fad39-6521-600a-bda2-4cf95d479851
1f0fad39-6521-61ae-bda2-4cf95d479851
1f0fad39-6521-62da-bda2-4cf95d479851
1f0fad39-6521-63ac-bda2-4cf95d479851
1f0fad39-6521-6474-bda2-4cf95d479851
1f0fad39-6521-6532-bda2-4cf95d479851
1f0fad39-6521-65fa-bda2-4cf95d479851
1f0fad39-6521-66b8-bda2-4cf95d479851
1f0fad39-6521-6780-bda2-4cf95d479851
1f0fad39-6521-68b6-bda2-4cf95d479851
1f0fad39-6521-6988-bda2-4cf95d479851
1f0fad39-6521-6a50-bda2-4cf95d479851
1f0fad39-6521-6b0e-bda2-4cf95d479851
1f0fad39-6521-6be0-bda2-4cf95d479851

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)

7ac941af-e568-4032-853f-801cb325a7c5
56d255fc-ab53-4ef1-a505-2ef3fa117a85
2cb4e3b5-a9b5-4399-8027-e8e29d0e1119
c550b0be-9bb1-402a-a3cd-d88709123639
c1f4aae7-3686-4433-86c2-ee989fa0afb4
2e3829f3-4465-4c4b-ad21-1f9fc68bd40c
0431c6bc-7b3b-467f-978e-b96d49d8522e
62f140cb-09af-4abd-9130-9935d63c5a24
a5a48d17-9392-4e41-9d55-27fa8aae9fd0
3faa9d4c-f663-4108-83bc-0d2e84553f7b
3a400ccf-c123-4dce-a052-0767240244ec
b1a89fd1-e81f-41c2-92bb-85b73ed1fb48
e6815e52-378d-40ef-9ff0-e7f3dadf15dd
a31eadb1-46d6-44ee-9fcb-4a7c235eceb6
87287056-fd5a-47a5-a2de-d335a0301cb3

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)

9652231a-fad3-11f0-bda2-4cf95d479851
965223c4-fad3-11f0-bda2-4cf95d479851
9652245a-fad3-11f0-bda2-4cf95d479851
965224f0-fad3-11f0-bda2-4cf95d479851
96522590-fad3-11f0-bda2-4cf95d479851
96522608-fad3-11f0-bda2-4cf95d479851
9652266c-fad3-11f0-bda2-4cf95d479851
965226da-fad3-11f0-bda2-4cf95d479851
9652273e-fad3-11f0-bda2-4cf95d479851
965227a2-fad3-11f0-bda2-4cf95d479851
96522806-fad3-11f0-bda2-4cf95d479851
96522874-fad3-11f0-bda2-4cf95d479851
965228ce-fad3-11f0-bda2-4cf95d479851
96522932-fad3-11f0-bda2-4cf95d479851
96522996-fad3-11f0-bda2-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)

9d9c8c0b-da03-8a01-87ea-5ce32bd83b97
0a708d0b-da03-8a01-87ea-5ce32bd83b97
2f228e0b-da03-8a01-87ea-5ce32bd83b97
ad978f0b-da03-8a01-87ea-5ce32bd83b97
fae1900b-da03-8a01-87ea-5ce32bd83b97
1344910b-da03-8a01-87ea-5ce32bd83b97
e8d8930b-da03-8a01-87ea-5ce32bd83b97
1f50940b-da03-8a01-87ea-5ce32bd83b97
d38b950b-da03-8a01-87ea-5ce32bd83b97
137b960b-da03-8a01-87ea-5ce32bd83b97
f36a970b-da03-8a01-87ea-5ce32bd83b97
bd99980b-da03-8a01-87ea-5ce32bd83b97
b103990b-da03-8a01-87ea-5ce32bd83b97
689c9a0b-da03-8a01-87ea-5ce32bd83b97
b5889b0b-da03-8a01-87ea-5ce32bd83b97

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: