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)

019e708f-70af-7903-bdab-5a978792ccac
019e708f-70af-7a90-ad9d-6cfb03ee997d
019e708f-70af-7bcf-b7c7-c91052d91f9d
019e708f-70af-7cea-9294-1ef53a3cbc4b
019e708f-70af-7e00-a2b2-611dc2a8e576
019e708f-70af-7f17-876c-a7b9c5cc245f
019e708f-70b0-703a-93e8-28b69082344a
019e708f-70b0-719a-922b-a5585f7b1d39
019e708f-70b0-72ea-8e1b-56e94c7712d5
019e708f-70b0-7405-8d1f-e8a8cf6c22be
019e708f-70b0-7517-8a08-06d8d7c34c5c
019e708f-70b0-7629-a9e5-754b567eb5e1
019e708f-70b0-773c-a106-e6c19ec57543
019e708f-70b0-784e-bf77-f538072a1906
019e708f-70b0-795d-9025-235e5eb2ff11

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)

1f15adef-6a33-66ee-8aba-4cf95d479851
1f15adef-6a33-691e-8aba-4cf95d479851
1f15adef-6a33-6a0e-8aba-4cf95d479851
1f15adef-6a33-6ae0-8aba-4cf95d479851
1f15adef-6a33-6ba8-8aba-4cf95d479851
1f15adef-6a33-6c66-8aba-4cf95d479851
1f15adef-6a33-6d24-8aba-4cf95d479851
1f15adef-6a33-6dec-8aba-4cf95d479851
1f15adef-6a33-6eaa-8aba-4cf95d479851
1f15adef-6a33-6f5e-8aba-4cf95d479851
1f15adef-6a34-60b2-8aba-4cf95d479851
1f15adef-6a34-618e-8aba-4cf95d479851
1f15adef-6a34-6256-8aba-4cf95d479851
1f15adef-6a34-631e-8aba-4cf95d479851
1f15adef-6a34-63e6-8aba-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)

f6a344b8-5ade-11f1-8aba-4cf95d479851
f6a34526-5ade-11f1-8aba-4cf95d479851
f6a3458a-5ade-11f1-8aba-4cf95d479851
f6a34602-5ade-11f1-8aba-4cf95d479851
f6a34666-5ade-11f1-8aba-4cf95d479851
f6a346ca-5ade-11f1-8aba-4cf95d479851
f6a3472e-5ade-11f1-8aba-4cf95d479851
f6a3479c-5ade-11f1-8aba-4cf95d479851
f6a3480a-5ade-11f1-8aba-4cf95d479851
f6a34864-5ade-11f1-8aba-4cf95d479851
f6a348c8-5ade-11f1-8aba-4cf95d479851
f6a3492c-5ade-11f1-8aba-4cf95d479851
f6a34990-5ade-11f1-8aba-4cf95d479851
f6a349f4-5ade-11f1-8aba-4cf95d479851
f6a34a58-5ade-11f1-8aba-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)

c48e3b1d-1d05-8409-87ea-5ce32bd83b97
6b953c1d-1d05-8409-87ea-5ce32bd83b97
19693e1d-1d05-8409-87ea-5ce32bd83b97
be743f1d-1d05-8409-87ea-5ce32bd83b97
3072401d-1d05-8409-87ea-5ce32bd83b97
e288411d-1d05-8409-87ea-5ce32bd83b97
9d57421d-1d05-8409-87ea-5ce32bd83b97
1507431d-1d05-8409-87ea-5ce32bd83b97
ad1c441d-1d05-8409-87ea-5ce32bd83b97
fd26451d-1d05-8409-87ea-5ce32bd83b97
5553461d-1d05-8409-87ea-5ce32bd83b97
7085471d-1d05-8409-87ea-5ce32bd83b97
0433481d-1d05-8409-87ea-5ce32bd83b97
5407491d-1d05-8409-87ea-5ce32bd83b97
d65d4a1d-1d05-8409-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)

bb7e6a20-ddb2-4fcc-8ef1-260c1059b972
e1df796a-e26f-409c-b587-ca49b08dad84
17eb5b12-e8d9-4adb-bbf0-20d5c464cf78
c5afeccb-3afa-493e-9661-afb83fcc86ec
5d48baa6-9ff8-4f43-885e-0f74208a4f37
3772e421-511d-49ef-8435-873cf026bf39
c8bb48dc-f795-4853-b1c4-8c9377508648
c4acba14-d68c-4c71-915c-d99a35da90f6
d3d6849f-e1d3-478a-9d78-89d3fd8c7b05
9c6823f9-05c8-4e1c-bb20-0ddad134f1bb
c82aa8b5-2ef3-4e9a-bfe8-e7d552e4e8fd
8333cb09-e80c-40e5-967b-26d894a74406
93cb876b-ffeb-4d09-87c8-ad149ec0b6b5
ef3e7e1e-64d7-48d6-874f-87cb01f4c23f
2f073f88-d616-4367-9d95-6134bad315cc

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: