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)

019abc59-3a21-7196-a270-dc14277e03c9
019abc59-3a21-7344-af5b-f10b691242a0
019abc59-3a21-7490-af31-9bdfbfb1f648
019abc59-3a21-75b3-821a-4b5a8da58e62
019abc59-3a21-76cd-a3b8-64606a917c0a
019abc59-3a21-77e8-b6a3-775e30eb935b
019abc59-3a21-7903-b9cc-973a2e070ed6
019abc59-3a21-7a05-af95-d80b5e45fade
019abc59-3a21-7b1f-8775-8dedbce56a86
019abc59-3a21-7c3a-aae9-85b95efd3956
019abc59-3a21-7d50-91f2-5fb67d20832e
019abc59-3a21-7e67-b2c0-0223b7310f58
019abc59-3a21-7f82-b430-38109d6a7910
019abc59-3a22-709c-a050-2e55c72ed97a
019abc59-3a22-71b7-a052-16087b816aa5

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)

1f0ca2f7-0f01-69c6-a038-4cf95d479851
1f0ca2f7-0f01-6b56-a038-4cf95d479851
1f0ca2f7-0f01-6c3c-a038-4cf95d479851
1f0ca2f7-0f01-6d0e-a038-4cf95d479851
1f0ca2f7-0f01-6dd6-a038-4cf95d479851
1f0ca2f7-0f01-6e94-a038-4cf95d479851
1f0ca2f7-0f01-6f52-a038-4cf95d479851
1f0ca2f7-0f02-6010-a038-4cf95d479851
1f0ca2f7-0f02-60ce-a038-4cf95d479851
1f0ca2f7-0f02-618c-a038-4cf95d479851
1f0ca2f7-0f02-62cc-a038-4cf95d479851
1f0ca2f7-0f02-638a-a038-4cf95d479851
1f0ca2f7-0f02-6448-a038-4cf95d479851
1f0ca2f7-0f02-6510-a038-4cf95d479851
1f0ca2f7-0f02-65c4-a038-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)

b2f338ee-98aa-41a3-ac59-8bb4b86b53e5
1a47b58d-e54c-4901-b50d-71df20dbe74d
10d55bce-6398-48cd-afcc-a87aa5da1abb
ecdad559-8dac-40a5-a88f-ce5065858135
8e2badee-01bf-49ee-a9ac-b241dcf92071
e9917bba-59f5-439b-9f1f-449eaafbdcdf
33b89346-fc1d-4e7f-8749-60320418c9f3
7ca8e8d6-c81a-4bd1-897d-41ca09f6e07a
a9e0fc10-0931-4d68-ac8b-4461b81e7ce5
2f70e091-acc5-4c5a-9bcb-a2daffafa865
3614a9d9-27d0-4676-84fb-de460b471025
8355d128-5c9f-43e0-a1c7-fc6bb3a84b8c
b2e5e8a6-4da7-416f-90b0-f00728c39e1e
13862a3e-7d06-4774-ace1-1246066170eb
af92b7e2-ecd9-4ba3-a43a-c7731ae9dd29

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)

70f02ace-ca2f-11f0-a038-4cf95d479851
70f02b32-ca2f-11f0-a038-4cf95d479851
70f02b8c-ca2f-11f0-a038-4cf95d479851
70f02be6-ca2f-11f0-a038-4cf95d479851
70f02c4a-ca2f-11f0-a038-4cf95d479851
70f02ca4-ca2f-11f0-a038-4cf95d479851
70f02d08-ca2f-11f0-a038-4cf95d479851
70f02d6c-ca2f-11f0-a038-4cf95d479851
70f02dc6-ca2f-11f0-a038-4cf95d479851
70f02e20-ca2f-11f0-a038-4cf95d479851
70f02e84-ca2f-11f0-a038-4cf95d479851
70f02ef2-ca2f-11f0-a038-4cf95d479851
70f02f56-ca2f-11f0-a038-4cf95d479851
70f02fc4-ca2f-11f0-a038-4cf95d479851
70f03028-ca2f-11f0-a038-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)

871e8d0f-6a04-8914-87e9-5ce32bd83b97
58268e0f-6a04-8914-87e9-5ce32bd83b97
9deb900f-6a04-8914-87e9-5ce32bd83b97
90e9910f-6a04-8914-87e9-5ce32bd83b97
4560920f-6a04-8914-87e9-5ce32bd83b97
b8a7930f-6a04-8914-87e9-5ce32bd83b97
dc53940f-6a04-8914-87e9-5ce32bd83b97
1e7f950f-6a04-8914-87e9-5ce32bd83b97
4b3c960f-6a04-8914-87e9-5ce32bd83b97
f349970f-6a04-8914-87e9-5ce32bd83b97
2444980f-6a04-8914-87e9-5ce32bd83b97
e866990f-6a04-8914-87e9-5ce32bd83b97
f7b29a0f-6a04-8914-87e9-5ce32bd83b97
89059b0f-6a04-8914-87e9-5ce32bd83b97
c6049c0f-6a04-8914-87e9-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

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: