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)

01950bd9-09f5-790f-9531-7b49f45c8dc6
01950bd9-09f5-7aa4-b435-871e7b3cf627
01950bd9-09f5-7bfc-8dc1-9b6eebb16685
01950bd9-09f5-7d1f-9200-dbe540ea9fc1
01950bd9-09f5-7e3e-836b-8a10f4bec944
01950bd9-09f5-7f59-8088-14e5d9c64a3a
01950bd9-09f6-7073-8f16-e43cfc783f3c
01950bd9-09f6-718e-9258-0e7993444b75
01950bd9-09f6-72a8-ae11-725ff06ddec2
01950bd9-09f6-73bf-8161-20a0701509f3
01950bd9-09f6-74da-a0dd-6ede464a375e
01950bd9-09f6-75f4-aa25-9a070163bfd1
01950bd9-09f6-770f-b0e9-624e250c85e3
01950bd9-09f6-7829-8658-e34455d07999
01950bd9-09f6-7940-a584-cc1e4bb33fa3

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)

1efebf0e-1967-6526-9b38-4cf95d479851
1efebf0e-1967-69a4-9b38-4cf95d479851
1efebf0e-1967-6aa8-9b38-4cf95d479851
1efebf0e-1967-6b84-9b38-4cf95d479851
1efebf0e-1967-6c42-9b38-4cf95d479851
1efebf0e-1967-6d0a-9b38-4cf95d479851
1efebf0e-1967-6dd2-9b38-4cf95d479851
1efebf0e-1967-6e90-9b38-4cf95d479851
1efebf0e-1967-6f4e-9b38-4cf95d479851
1efebf0e-1968-600c-9b38-4cf95d479851
1efebf0e-1968-6160-9b38-4cf95d479851
1efebf0e-1968-6232-9b38-4cf95d479851
1efebf0e-1968-62f0-9b38-4cf95d479851
1efebf0e-1968-63ae-9b38-4cf95d479851
1efebf0e-1968-646c-9b38-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)

aac50143-8d4f-48c7-8b49-b495f8b127e0
0b52a194-9045-4530-b92d-340e29c5b2de
bdcda1f9-38c6-4306-962e-9d493e56707d
5b9b5938-7582-4d01-95e3-d4677941c941
ef3647cc-f3e2-4839-878d-b196ae42a770
045981cc-47dc-4382-a52b-724293163e09
90ca1db0-2df7-41f0-81b9-f32799bdfca3
a424947a-fc2e-4db9-b196-f39026a45dd5
5a066f38-6ff8-469b-a84a-1cbb505c1c44
5e4ed5a7-46fc-4d5e-bb9b-d02e376cdab8
32b6498c-217f-46b9-8e09-33c3e8fee49d
2e35e648-3985-4bd4-afeb-495f35092dbe
1596af9b-a45c-4781-b2fb-89d2c20d89d7
0ff4d955-d6ce-41c6-be5c-b07c65128fa8
b16f55af-eef2-4e94-9a36-7a9b90b6565d

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)

e1968980-ebf0-11ef-9b38-4cf95d479851
e19689ee-ebf0-11ef-9b38-4cf95d479851
e1968a48-ebf0-11ef-9b38-4cf95d479851
e1968ab6-ebf0-11ef-9b38-4cf95d479851
e1968b1a-ebf0-11ef-9b38-4cf95d479851
e1968b7e-ebf0-11ef-9b38-4cf95d479851
e1968bd8-ebf0-11ef-9b38-4cf95d479851
e1968c32-ebf0-11ef-9b38-4cf95d479851
e1968c96-ebf0-11ef-9b38-4cf95d479851
e1968cf0-ebf0-11ef-9b38-4cf95d479851
e1968d54-ebf0-11ef-9b38-4cf95d479851
e1968db8-ebf0-11ef-9b38-4cf95d479851
e1968e1c-ebf0-11ef-9b38-4cf95d479851
e1968e80-ebf0-11ef-9b38-4cf95d479851
e1968eda-ebf0-11ef-9b38-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)

3d201e08-0567-802e-87e9-5ce32bd83b96
60211f08-0567-802e-87e9-5ce32bd83b96
a3192008-0567-802e-87e9-5ce32bd83b96
5bbd2108-0567-802e-87e9-5ce32bd83b96
0d522208-0567-802e-87e9-5ce32bd83b96
0e092308-0567-802e-87e9-5ce32bd83b96
68742508-0567-802e-87e9-5ce32bd83b96
3c1b2608-0567-802e-87e9-5ce32bd83b96
55862708-0567-802e-87e9-5ce32bd83b96
e10f2808-0567-802e-87e9-5ce32bd83b96
c22a2908-0567-802e-87e9-5ce32bd83b96
f4602a08-0567-802e-87e9-5ce32bd83b96
71f42b08-0567-802e-87e9-5ce32bd83b96
378e2c08-0567-802e-87e9-5ce32bd83b96
14292d08-0567-802e-87e9-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: