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)

01a15eb6-8743-74bd-af14-4e53183d1293
01a15eb6-8743-769c-9f39-8232bf0f77e3
01a15eb6-8743-77e4-bec2-8d6bbb4884c7
01a15eb6-8743-7903-afb3-804efdd5f2b6
01a15eb6-8743-7a1d-a1b0-3791e5ffcceb
01a15eb6-8743-7b3c-9ea9-fa9dd999f5aa
01a15eb6-8743-7c57-a4e5-94a23e2a12d7
01a15eb6-8743-7d6d-b048-569a9403d19e
01a15eb6-8743-7e84-8e14-af99eb751f18
01a15eb6-8743-7f9a-a130-c10c78301c51
01a15eb6-8744-70b1-b21d-48e2314a2c7c
01a15eb6-8744-71cb-b9de-80334d95d47b
01a15eb6-8744-72e6-bccf-bd320bc00574
01a15eb6-8744-740d-9c2d-f1babbb55ec1
01a15eb6-8744-7527-a22c-0fb28b2bb95e

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)

1f1cd55c-d852-64d6-b89a-4cf95d479851
1f1cd55c-d852-66f2-b89a-4cf95d479851
1f1cd55c-d852-67d8-b89a-4cf95d479851
1f1cd55c-d852-68b4-b89a-4cf95d479851
1f1cd55c-d852-6990-b89a-4cf95d479851
1f1cd55c-d852-6a4e-b89a-4cf95d479851
1f1cd55c-d852-6b16-b89a-4cf95d479851
1f1cd55c-d852-6bde-b89a-4cf95d479851
1f1cd55c-d852-6c9c-b89a-4cf95d479851
1f1cd55c-d852-6d5a-b89a-4cf95d479851
1f1cd55c-d852-6f1c-b89a-4cf95d479851
1f1cd55c-d853-6070-b89a-4cf95d479851
1f1cd55c-d853-61c4-b89a-4cf95d479851
1f1cd55c-d853-62aa-b89a-4cf95d479851
1f1cd55c-d853-6368-b89a-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)

cd85344e-cd55-11f1-b89a-4cf95d479851
cd8534b2-cd55-11f1-b89a-4cf95d479851
cd853516-cd55-11f1-b89a-4cf95d479851
cd85357a-cd55-11f1-b89a-4cf95d479851
cd8535de-cd55-11f1-b89a-4cf95d479851
cd85364c-cd55-11f1-b89a-4cf95d479851
cd8536ba-cd55-11f1-b89a-4cf95d479851
cd85371e-cd55-11f1-b89a-4cf95d479851
cd85378c-cd55-11f1-b89a-4cf95d479851
cd8537f0-cd55-11f1-b89a-4cf95d479851
cd853854-cd55-11f1-b89a-4cf95d479851
cd8538b8-cd55-11f1-b89a-4cf95d479851
cd853912-cd55-11f1-b89a-4cf95d479851
cd853980-cd55-11f1-b89a-4cf95d479851
cd8539e4-cd55-11f1-b89a-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)

61ebea16-3b03-8612-87ea-5ce32bd83b97
4d32eb16-3b03-8612-87ea-5ce32bd83b97
f758ec16-3b03-8612-87ea-5ce32bd83b97
fed1ed16-3b03-8612-87ea-5ce32bd83b97
4a2dee16-3b03-8612-87ea-5ce32bd83b97
f757ef16-3b03-8612-87ea-5ce32bd83b97
ea8af016-3b03-8612-87ea-5ce32bd83b97
2bd8f116-3b03-8612-87ea-5ce32bd83b97
ea25f216-3b03-8612-87ea-5ce32bd83b97
d88cf416-3b03-8612-87ea-5ce32bd83b97
fd53f516-3b03-8612-87ea-5ce32bd83b97
3c81f616-3b03-8612-87ea-5ce32bd83b97
6828f716-3b03-8612-87ea-5ce32bd83b97
e251f816-3b03-8612-87ea-5ce32bd83b97
fdd9f916-3b03-8612-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)

44487e63-5e7b-4e69-9c71-e924bd4b76c5
cf3b228f-ca08-4ca5-a2b7-68fb2fb6d48e
34ef253f-e9cb-44f5-a495-cfe73fb76b46
a4b01323-4f7c-4451-9b8e-3ff1216b37c4
da961403-5bca-4d94-be92-fa0f133c5c67
82b24aa5-499f-4906-a8ac-0b4d89f4c863
9329d3cc-f8b1-4f93-b531-67c98be8c1e6
da100103-4d80-41f0-abd8-046dcd4b6a07
91ebf543-510b-4ff1-9fd4-5f410ca2a6d0
619fe467-1262-4c95-910d-f8c2689c558a
30c9d0be-2f88-4391-bb6f-22f219acfbd9
6ffcfbb3-5d18-4d1e-83a5-c0e8f9be8ee4
f10e7988-a6a9-4d86-b896-0a10f1e5db06
5bd7ba74-a271-4730-9a42-c1b4a9b0aefb
5dc6d341-3a96-487a-bd67-fedaa8bbcda1

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: