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)

01a00da1-0703-7dc3-abb5-7c00aa2a7f2e
01a00da1-0703-7fe0-840c-e7bf359a621b
01a00da1-0704-714c-b894-54aa0cbf5276
01a00da1-0704-7294-8195-42f9f2f72817
01a00da1-0704-73cf-adf5-f641e52002ee
01a00da1-0704-750f-bed8-eb2e07cb8f30
01a00da1-0704-7646-8063-06bdfe2795ad
01a00da1-0704-7786-9646-0999d1c3c106
01a00da1-0704-78c5-acba-79f96071376a
01a00da1-0704-7a00-9eb1-febbe2a79ced
01a00da1-0704-7b40-bfab-591a3cc9a20f
01a00da1-0704-7c7b-bfb0-4781e99b63b0
01a00da1-0704-7dbf-84cd-5b5131f30294
01a00da1-0704-7efe-b48b-8f37884fcabe
01a00da1-0705-703e-ae8c-e0aa75968e94

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)

1f199e67-5a37-6c6a-8658-4cf95d479851
1f199e67-5a37-6efe-8658-4cf95d479851
1f199e67-5a38-608e-8658-4cf95d479851
1f199e67-5a38-61f6-8658-4cf95d479851
1f199e67-5a38-6354-8658-4cf95d479851
1f199e67-5a38-64b2-8658-4cf95d479851
1f199e67-5a38-6610-8658-4cf95d479851
1f199e67-5a38-676e-8658-4cf95d479851
1f199e67-5a38-68c2-8658-4cf95d479851
1f199e67-5a38-6a20-8658-4cf95d479851
1f199e67-5a38-6c5a-8658-4cf95d479851
1f199e67-5a38-6dcc-8658-4cf95d479851
1f199e67-5a38-6f20-8658-4cf95d479851
1f199e67-5a39-6074-8658-4cf95d479851
1f199e67-5a39-61dc-8658-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)

75a3934e-99e6-11f1-8658-4cf95d479851
75a393ee-99e6-11f1-8658-4cf95d479851
75a39484-99e6-11f1-8658-4cf95d479851
75a3951a-99e6-11f1-8658-4cf95d479851
75a395ce-99e6-11f1-8658-4cf95d479851
75a39678-99e6-11f1-8658-4cf95d479851
75a3970e-99e6-11f1-8658-4cf95d479851
75a397ae-99e6-11f1-8658-4cf95d479851
75a39844-99e6-11f1-8658-4cf95d479851
75a398da-99e6-11f1-8658-4cf95d479851
75a39970-99e6-11f1-8658-4cf95d479851
75a39a10-99e6-11f1-8658-4cf95d479851
75a39aa6-99e6-11f1-8658-4cf95d479851
75a39b3c-99e6-11f1-8658-4cf95d479851
75a39bd2-99e6-11f1-8658-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)

bc830a34-ab00-850e-87ea-5ce32bd83b97
ae780b34-ab00-850e-87ea-5ce32bd83b97
17e20c34-ab00-850e-87ea-5ce32bd83b97
11740d34-ab00-850e-87ea-5ce32bd83b97
d7950e34-ab00-850e-87ea-5ce32bd83b97
47510f34-ab00-850e-87ea-5ce32bd83b97
75911034-ab00-850e-87ea-5ce32bd83b97
84541134-ab00-850e-87ea-5ce32bd83b97
46951234-ab00-850e-87ea-5ce32bd83b97
36e31334-ab00-850e-87ea-5ce32bd83b97
92581434-ab00-850e-87ea-5ce32bd83b97
bf211534-ab00-850e-87ea-5ce32bd83b97
7b861634-ab00-850e-87ea-5ce32bd83b97
78a91734-ab00-850e-87ea-5ce32bd83b97
a5011834-ab00-850e-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)

97982bc9-e7ce-4a46-a384-253e2c66bf82
259f4ac2-f12e-4a59-9fbe-4de6a1828e06
15825941-3f13-44b7-a20e-e935bdf07b15
5b4cf0ed-9361-4a35-a6ee-dfe3aeb5f1f0
2845c8b7-aace-4ad0-a1e2-292720506811
4252b8c9-d214-40c0-bb24-812086d54fdd
35910860-4d02-483c-9c0d-e5d3c4721a4d
de2353d7-ff60-4366-9a30-92f0be65279c
cdd3676f-d100-4878-ae1a-4528f1adf838
e9c54619-2e28-4e36-8ae3-abd5562487ca
74aac5c8-de10-42b9-81aa-ca4f16a60480
adf58b7d-a6e1-4a16-966b-a401d359089d
7175ccd3-bb32-4a04-890e-4876f8db93b8
d6f36b9f-f919-4579-adcf-f8bb710102dc
d0e2e68f-148f-4bdb-beeb-a1f1f9323a8d

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: