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)

019c8b82-c247-7877-b2b1-f1fde978d4bc
019c8b82-c247-7a1d-9dfd-b6f65cdaef6b
019c8b82-c247-7b65-834e-ae3e03c0b7ae
019c8b82-c247-7c88-822e-d35fbbc5fb86
019c8b82-c247-7da2-83c1-55f370dad673
019c8b82-c247-7eb9-b23a-381f4de121b3
019c8b82-c247-7fdc-9b35-721b3c78ae1b
019c8b82-c248-70f2-be41-5d84b5dc5da0
019c8b82-c248-720d-a828-6bbd330fe47d
019c8b82-c248-7327-9b26-27fca3641abb
019c8b82-c248-743e-8c7f-fb4294b8fb94
019c8b82-c248-7559-ba89-69044eface7d
019c8b82-c248-766f-8420-530c4176539b
019c8b82-c248-7786-a3b2-a4bf00d47197
019c8b82-c248-789c-a62d-8920912222f5

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)

1f110dbb-7467-6576-bbdd-4cf95d479851
1f110dbb-7467-6760-bbdd-4cf95d479851
1f110dbb-7467-6850-bbdd-4cf95d479851
1f110dbb-7467-692c-bbdd-4cf95d479851
1f110dbb-7467-69fe-bbdd-4cf95d479851
1f110dbb-7467-6ad0-bbdd-4cf95d479851
1f110dbb-7467-6ba2-bbdd-4cf95d479851
1f110dbb-7467-6c74-bbdd-4cf95d479851
1f110dbb-7467-6d3c-bbdd-4cf95d479851
1f110dbb-7467-6e0e-bbdd-4cf95d479851
1f110dbb-7467-6f76-bbdd-4cf95d479851
1f110dbb-7468-605c-bbdd-4cf95d479851
1f110dbb-7468-6124-bbdd-4cf95d479851
1f110dbb-7468-61ec-bbdd-4cf95d479851
1f110dbb-7468-62b4-bbdd-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)

acf0ecee-a55b-4707-a245-b7c782a091ce
d4e9e85d-0245-4b67-a452-2115526be1c3
84b89ac6-dc27-4d96-b3d8-a06bb2ac7846
1224e6e0-166b-43c3-9dd2-79068353dcc7
175a23e3-4d70-4dea-b14f-01d4571c96b5
2082958b-710f-41be-8830-26f16d55b27c
c91dbdec-c4b0-44d8-8fe0-b664ba934def
be1f0cf4-bed0-41f5-b5a5-0ab8661bcf82
1b564829-f162-401f-a6be-9374b5cd9de0
989115d1-064c-4777-b967-39015e0825e6
993cf405-e4c2-4111-b332-553079ef02af
9d02c4dd-048a-4019-acba-98a19b3adc84
0423362f-2993-4541-866c-f83e9bd64f02
b812142c-9518-42b6-a53a-990e18648e84
6a2a1418-9a27-453a-8282-2507c0d5cf80

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)

b74687f0-10db-11f1-bbdd-4cf95d479851
b746885e-10db-11f1-bbdd-4cf95d479851
b74688c2-10db-11f1-bbdd-4cf95d479851
b746893a-10db-11f1-bbdd-4cf95d479851
b74689a8-10db-11f1-bbdd-4cf95d479851
b7468a16-10db-11f1-bbdd-4cf95d479851
b7468a7a-10db-11f1-bbdd-4cf95d479851
b7468ade-10db-11f1-bbdd-4cf95d479851
b7468b4c-10db-11f1-bbdd-4cf95d479851
b7468bb0-10db-11f1-bbdd-4cf95d479851
b7468c1e-10db-11f1-bbdd-4cf95d479851
b7468c82-10db-11f1-bbdd-4cf95d479851
b7468cf0-10db-11f1-bbdd-4cf95d479851
b7468d68-10db-11f1-bbdd-4cf95d479851
b7468dd6-10db-11f1-bbdd-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)

69b56430-0f04-8603-87ea-5ce32bd83b97
b75f6530-0f04-8603-87ea-5ce32bd83b97
21fc6630-0f04-8603-87ea-5ce32bd83b97
737e6730-0f04-8603-87ea-5ce32bd83b97
4b256830-0f04-8603-87ea-5ce32bd83b97
e1206930-0f04-8603-87ea-5ce32bd83b97
ead96a30-0f04-8603-87ea-5ce32bd83b97
cf3d6b30-0f04-8603-87ea-5ce32bd83b97
7ae96c30-0f04-8603-87ea-5ce32bd83b97
92f36e30-0f04-8603-87ea-5ce32bd83b97
c5cd6f30-0f04-8603-87ea-5ce32bd83b97
5f8f7030-0f04-8603-87ea-5ce32bd83b97
8f287130-0f04-8603-87ea-5ce32bd83b97
77ed7230-0f04-8603-87ea-5ce32bd83b97
10e47330-0f04-8603-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: