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)

01a16f11-e1dd-7667-b9ec-71bc4807d2db
01a16f11-e1dd-77e4-8dd6-8f8c49478c57
01a16f11-e1dd-7917-a052-3c9a273363f7
01a16f11-e1dd-7a2e-9ba8-73d39fab438f
01a16f11-e1dd-7b44-8010-e61ba30c8e4f
01a16f11-e1dd-7c77-a715-48ee219d141f
01a16f11-e1dd-7dc7-a161-2982768f104c
01a16f11-e1dd-7f07-a45e-e230bcb3c453
01a16f11-e1de-704e-8ae6-91bdba5e70df
01a16f11-e1de-7186-b25a-95fdd9303727
01a16f11-e1de-72c5-b824-5e6ed972ea26
01a16f11-e1de-7400-9a8f-bd506b2a8342
01a16f11-e1de-7540-80c7-2863da9dbbb2
01a16f11-e1de-767b-827e-bc377ee363e2
01a16f11-e1de-77b7-8794-76f041f82a4e

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)

1f1cfd4b-e084-66f6-855c-4cf95d479851
1f1cfd4b-e084-6944-855c-4cf95d479851
1f1cfd4b-e084-6aca-855c-4cf95d479851
1f1cfd4b-e084-6c3c-855c-4cf95d479851
1f1cfd4b-e084-6d90-855c-4cf95d479851
1f1cfd4b-e084-6ee4-855c-4cf95d479851
1f1cfd4b-e085-6038-855c-4cf95d479851
1f1cfd4b-e085-618c-855c-4cf95d479851
1f1cfd4b-e085-62e0-855c-4cf95d479851
1f1cfd4b-e085-6452-855c-4cf95d479851
1f1cfd4b-e085-6678-855c-4cf95d479851
1f1cfd4b-e085-6826-855c-4cf95d479851
1f1cfd4b-e085-69c0-855c-4cf95d479851
1f1cfd4b-e085-6ab0-855c-4cf95d479851
1f1cfd4b-e085-6b82-855c-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)

be085c68-cfd4-11f1-855c-4cf95d479851
be085ccc-cfd4-11f1-855c-4cf95d479851
be085d30-cfd4-11f1-855c-4cf95d479851
be085d8a-cfd4-11f1-855c-4cf95d479851
be085dee-cfd4-11f1-855c-4cf95d479851
be085e48-cfd4-11f1-855c-4cf95d479851
be085eac-cfd4-11f1-855c-4cf95d479851
be085f10-cfd4-11f1-855c-4cf95d479851
be085f74-cfd4-11f1-855c-4cf95d479851
be085fd8-cfd4-11f1-855c-4cf95d479851
be08603c-cfd4-11f1-855c-4cf95d479851
be086096-cfd4-11f1-855c-4cf95d479851
be0860f0-cfd4-11f1-855c-4cf95d479851
be086154-cfd4-11f1-855c-4cf95d479851
be0861ae-cfd4-11f1-855c-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)

8fd45805-3904-8912-87ea-5ce32bd83b97
26795905-3904-8912-87ea-5ce32bd83b97
ef9e5a05-3904-8912-87ea-5ce32bd83b97
cc5c5b05-3904-8912-87ea-5ce32bd83b97
7ba35c05-3904-8912-87ea-5ce32bd83b97
3ec15d05-3904-8912-87ea-5ce32bd83b97
a63f5e05-3904-8912-87ea-5ce32bd83b97
1bea5f05-3904-8912-87ea-5ce32bd83b97
23866005-3904-8912-87ea-5ce32bd83b97
788b6105-3904-8912-87ea-5ce32bd83b97
bddd6205-3904-8912-87ea-5ce32bd83b97
c3d06305-3904-8912-87ea-5ce32bd83b97
94206405-3904-8912-87ea-5ce32bd83b97
39656505-3904-8912-87ea-5ce32bd83b97
ea196605-3904-8912-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)

ce0d4eb0-3ce5-43a8-990c-9d6821e90453
5c59144a-d2a1-4d11-8983-86e23089a0d5
e55cf975-b604-42fb-9e0b-e8eb2a7ba770
b74c6ac3-aefd-4cbe-8e58-3470df7b5fb4
07abe3b9-fbe0-4dfc-bac1-3b32fee69b13
f8033a62-2930-4952-b9b3-61a82e392a8d
9ff72c71-c8dc-4d0b-9e0d-94cd5e2ee924
94e7fd77-ff54-4b40-b6d0-7fdf57790d89
115d07b6-17e8-491a-9560-d4607c1b950c
1d74b309-90b9-49f8-a747-e5aba905e2e1
5f5dfb03-5ea0-4a14-ada8-2c3467674f49
d9243bc2-4bf9-46ef-a369-356b7346f2c0
787d13a2-9ca2-4b0d-9871-e83026ce63bb
fa7ef45c-54b7-461c-a126-4678fb064af5
8d899a28-0aa3-44ef-b830-9db9c6ce3879

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: