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)

018f13d3-a428-73f4-a9ed-1ba7ee6d6b61
018f13d3-a428-7575-a5ab-5293c216fc38
018f13d3-a428-76b9-a31c-dbfa0a26370a
018f13d3-a428-77dc-b752-1c9fe3796a56
018f13d3-a428-78fe-8c1e-dfbd34f64d44
018f13d3-a428-7a19-b178-d1b1971ed512
018f13d3-a428-7b38-b6c1-26e05290dda6
018f13d3-a428-7c52-a9cd-8647b27f85f4
018f13d3-a428-7d71-8230-a50ee9f0e648
018f13d3-a428-7e8c-81cd-ee926cd09359
018f13d3-a428-7faf-9d69-b41bfb42a933
018f13d3-a429-7077-816f-63866ef76565
018f13d3-a429-719a-a7b8-ee0a1358f6df
018f13d3-a429-72bd-90a5-f056773b3d75
018f13d3-a429-73dc-83f4-5ba415970677

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)

1ef02c88-ebdc-6ef6-a944-4cf95d479851
1ef02c88-ebdd-60a4-a944-4cf95d479851
1ef02c88-ebdd-6180-a944-4cf95d479851
1ef02c88-ebdd-6252-a944-4cf95d479851
1ef02c88-ebdd-631a-a944-4cf95d479851
1ef02c88-ebdd-63d8-a944-4cf95d479851
1ef02c88-ebdd-64a0-a944-4cf95d479851
1ef02c88-ebdd-655e-a944-4cf95d479851
1ef02c88-ebdd-661c-a944-4cf95d479851
1ef02c88-ebdd-66da-a944-4cf95d479851
1ef02c88-ebdd-687e-a944-4cf95d479851
1ef02c88-ebdd-69f0-a944-4cf95d479851
1ef02c88-ebdd-6b30-a944-4cf95d479851
1ef02c88-ebdd-6c66-a944-4cf95d479851
1ef02c88-ebdd-6da6-a944-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)

81c8b524-f90b-430d-bb63-c8dbc5832430
e604f375-48ad-467f-805a-4a437950b0bd
9e16f5e8-7485-445b-81c9-cea926553b40
7e3ea9a8-9dda-4b34-bfa6-ea731734d79b
b6ed469d-7117-4807-abf2-02cd5e8e94d3
752ffc45-8326-45e5-8f6d-39c02defe09e
5c7c4f4e-8dc0-4be2-a577-274197fa57a8
50e92292-978d-48db-bb50-e480c02950d1
8bbbc6a7-a46a-40b3-8a40-79c33bb63097
16c94c76-d5ce-4487-bfbb-dc915a402431
972b5717-1eaf-4924-b16e-dac6249f133f
87aaf2cd-4c15-4767-b67a-b5adbc8a78cb
8d32f777-baaf-431e-9c70-b9671ab77bf4
126f788e-c47a-4ac0-a5cc-9fc67a85ded4
1c671dfe-ef14-4005-aebb-0018f8905789

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)

8ebde3f0-02c8-11ef-a944-4cf95d479851
8ebde454-02c8-11ef-a944-4cf95d479851
8ebde4b8-02c8-11ef-a944-4cf95d479851
8ebde526-02c8-11ef-a944-4cf95d479851
8ebde580-02c8-11ef-a944-4cf95d479851
8ebde5e4-02c8-11ef-a944-4cf95d479851
8ebde648-02c8-11ef-a944-4cf95d479851
8ebde6ac-02c8-11ef-a944-4cf95d479851
8ebde710-02c8-11ef-a944-4cf95d479851
8ebde76a-02c8-11ef-a944-4cf95d479851
8ebde7d8-02c8-11ef-a944-4cf95d479851
8ebde832-02c8-11ef-a944-4cf95d479851
8ebde8a0-02c8-11ef-a944-4cf95d479851
8ebde904-02c8-11ef-a944-4cf95d479851
8ebde968-02c8-11ef-a944-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)

3c92541c-0165-8074-87e8-5ce32bd83b96
5636551c-0165-8074-87e8-5ce32bd83b96
9f8f561c-0165-8074-87e8-5ce32bd83b96
6c1c571c-0165-8074-87e8-5ce32bd83b96
74c6581c-0165-8074-87e8-5ce32bd83b96
5da1591c-0165-8074-87e8-5ce32bd83b96
0e115a1c-0165-8074-87e8-5ce32bd83b96
2f295b1c-0165-8074-87e8-5ce32bd83b96
d6ae5c1c-0165-8074-87e8-5ce32bd83b96
3fbe5d1c-0165-8074-87e8-5ce32bd83b96
df8f5e1c-0165-8074-87e8-5ce32bd83b96
b1245f1c-0165-8074-87e8-5ce32bd83b96
ab24611c-0165-8074-87e8-5ce32bd83b96
94b8621c-0165-8074-87e8-5ce32bd83b96
5e62631c-0165-8074-87e8-5ce32bd83b96

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

An 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

An UUIDv3 is made out of a MD5 hash and an 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: