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)

019af918-e31f-77e0-bf43-ce54607baf6e
019af918-e31f-7971-a025-d9eb9c4140c6
019af918-e31f-7ab5-8ec3-b825266cf2ca
019af918-e31f-7bd8-b0af-29b4ab49e1a3
019af918-e31f-7cf2-9c63-000efeabd458
019af918-e31f-7e0d-8296-05a39e2ef119
019af918-e31f-7f27-b462-10367398ce01
019af918-e320-7042-a0a9-d9b64f0b87ac
019af918-e320-7161-925e-6b88d5922129
019af918-e320-727b-bf36-f2c783ae9623
019af918-e320-7396-89e4-ecd96818aede
019af918-e320-74b5-b833-afd2f44c1b41
019af918-e320-75cf-b4c5-7b9444e3f652
019af918-e320-76ea-b511-87f7fd6c6f83
019af918-e320-7805-919c-b1217cde0cf4

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)

1f0d3746-fa96-6966-a0cf-4cf95d479851
1f0d3746-fa96-6b14-a0cf-4cf95d479851
1f0d3746-fa96-6bfa-a0cf-4cf95d479851
1f0d3746-fa96-6cd6-a0cf-4cf95d479851
1f0d3746-fa96-6d9e-a0cf-4cf95d479851
1f0d3746-fa96-6e66-a0cf-4cf95d479851
1f0d3746-fa96-6f2e-a0cf-4cf95d479851
1f0d3746-fa96-6ff6-a0cf-4cf95d479851
1f0d3746-fa97-60be-a0cf-4cf95d479851
1f0d3746-fa97-6186-a0cf-4cf95d479851
1f0d3746-fa97-62c6-a0cf-4cf95d479851
1f0d3746-fa97-6398-a0cf-4cf95d479851
1f0d3746-fa97-6460-a0cf-4cf95d479851
1f0d3746-fa97-6528-a0cf-4cf95d479851
1f0d3746-fa97-65f0-a0cf-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)

a91f1513-08a9-49a2-b9e5-2e5362dba7e6
586b1efe-bed7-4d38-9e9a-cd80ebb922e5
36fc46bb-892c-4527-a543-f88e68a327e7
3c54fee2-0da8-4411-8ee2-ca40a83205f2
fc43e48d-d4ea-4638-a2a9-94755a267364
546e3a4e-9bb6-43cd-bd5c-b7f60783177a
361affb0-bb8a-4df6-9c7b-93afc0342f55
f140d1e2-a303-4385-9bcf-df22ed5cb9b3
215d752f-be3a-459e-a32d-bec1882b2702
b5e5141c-cab1-4454-8130-f85127d9905b
0511c9a6-758f-4efa-84c6-1faf1413187d
9008063f-b3b2-44b4-b740-95823354ebef
01d38a5d-84e4-46f9-8330-25540e295e86
2651e30c-aa98-4abb-99f4-6a46641a8c57
d7a3a0b2-e51e-47c1-908b-04edbec56a4c

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)

6fa97b18-d374-11f0-a0cf-4cf95d479851
6fa97b86-d374-11f0-a0cf-4cf95d479851
6fa97bf4-d374-11f0-a0cf-4cf95d479851
6fa97c58-d374-11f0-a0cf-4cf95d479851
6fa97cc6-d374-11f0-a0cf-4cf95d479851
6fa97d2a-d374-11f0-a0cf-4cf95d479851
6fa97d8e-d374-11f0-a0cf-4cf95d479851
6fa97df2-d374-11f0-a0cf-4cf95d479851
6fa97e56-d374-11f0-a0cf-4cf95d479851
6fa97eba-d374-11f0-a0cf-4cf95d479851
6fa97f1e-d374-11f0-a0cf-4cf95d479851
6fa97f78-d374-11f0-a0cf-4cf95d479851
6fa97fd2-d374-11f0-a0cf-4cf95d479851
6fa98036-d374-11f0-a0cf-4cf95d479851
6fa9809a-d374-11f0-a0cf-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)

7a3a2731-4403-8515-87e9-5ce32bd83b97
78a82831-4403-8515-87e9-5ce32bd83b97
cbf72931-4403-8515-87e9-5ce32bd83b97
b65e2a31-4403-8515-87e9-5ce32bd83b97
c6592b31-4403-8515-87e9-5ce32bd83b97
9a2c2c31-4403-8515-87e9-5ce32bd83b97
77092d31-4403-8515-87e9-5ce32bd83b97
956a2e31-4403-8515-87e9-5ce32bd83b97
db302f31-4403-8515-87e9-5ce32bd83b97
c8a63031-4403-8515-87e9-5ce32bd83b97
750e3131-4403-8515-87e9-5ce32bd83b97
39e43331-4403-8515-87e9-5ce32bd83b97
88eb3431-4403-8515-87e9-5ce32bd83b97
9d1d3531-4403-8515-87e9-5ce32bd83b97
38403631-4403-8515-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: