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)

01a163e7-9ae5-78a4-b895-f61c5526b50a
01a163e7-9ae5-7aa4-b762-4919c2827bd5
01a163e7-9ae5-7be4-a6b3-7652e9631aca
01a163e7-9ae5-7d03-8aad-c93aeefaf306
01a163e7-9ae5-7e19-8c01-f7f8b6b81b82
01a163e7-9ae5-7f2c-87bc-29e80d28c7ed
01a163e7-9ae6-7042-996f-ebfc2f600502
01a163e7-9ae6-7159-bbbd-7b33e1786123
01a163e7-9ae6-726b-b00f-000739311237
01a163e7-9ae6-7386-88f2-5e9afc82278a
01a163e7-9ae6-749c-999c-1d53b69264c2
01a163e7-9ae6-75b3-b230-a7e07b3bb025
01a163e7-9ae6-76c5-9c52-87c047f3f519
01a163e7-9ae6-77dc-87d9-e95ebcb693f7
01a163e7-9ae6-78ee-8aab-8110625b52d0

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)

1f1ce209-a941-6278-aabf-4cf95d479851
1f1ce209-a941-64c6-aabf-4cf95d479851
1f1ce209-a941-65ac-aabf-4cf95d479851
1f1ce209-a941-667e-aabf-4cf95d479851
1f1ce209-a941-6746-aabf-4cf95d479851
1f1ce209-a941-6804-aabf-4cf95d479851
1f1ce209-a941-68cc-aabf-4cf95d479851
1f1ce209-a941-6994-aabf-4cf95d479851
1f1ce209-a941-6a52-aabf-4cf95d479851
1f1ce209-a941-6b10-aabf-4cf95d479851
1f1ce209-a941-6c6e-aabf-4cf95d479851
1f1ce209-a941-6d40-aabf-4cf95d479851
1f1ce209-a941-6dfe-aabf-4cf95d479851
1f1ce209-a941-6ed0-aabf-4cf95d479851
1f1ce209-a941-6f98-aabf-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)

9a942074-ce20-11f1-aabf-4cf95d479851
9a9420d8-ce20-11f1-aabf-4cf95d479851
9a94213c-ce20-11f1-aabf-4cf95d479851
9a9421a0-ce20-11f1-aabf-4cf95d479851
9a942204-ce20-11f1-aabf-4cf95d479851
9a942268-ce20-11f1-aabf-4cf95d479851
9a9422cc-ce20-11f1-aabf-4cf95d479851
9a942330-ce20-11f1-aabf-4cf95d479851
9a942394-ce20-11f1-aabf-4cf95d479851
9a9423ee-ce20-11f1-aabf-4cf95d479851
9a942452-ce20-11f1-aabf-4cf95d479851
9a9424b6-ce20-11f1-aabf-4cf95d479851
9a942524-ce20-11f1-aabf-4cf95d479851
9a94257e-ce20-11f1-aabf-4cf95d479851
9a9425e2-ce20-11f1-aabf-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)

6d154905-4703-8712-87ea-5ce32bd83b97
10d94a05-4703-8712-87ea-5ce32bd83b97
97bb4b05-4703-8712-87ea-5ce32bd83b97
f7514c05-4703-8712-87ea-5ce32bd83b97
aa654d05-4703-8712-87ea-5ce32bd83b97
904e4e05-4703-8712-87ea-5ce32bd83b97
05004f05-4703-8712-87ea-5ce32bd83b97
7fd35005-4703-8712-87ea-5ce32bd83b97
beb95205-4703-8712-87ea-5ce32bd83b97
54175305-4703-8712-87ea-5ce32bd83b97
95ab5405-4703-8712-87ea-5ce32bd83b97
12555505-4703-8712-87ea-5ce32bd83b97
fb235605-4703-8712-87ea-5ce32bd83b97
62875705-4703-8712-87ea-5ce32bd83b97
9cb15805-4703-8712-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)

67179966-e8d7-421b-badc-2c8231bd7e1c
0f929170-f4af-4af9-ba9f-bbaf91cb8d0b
7bbc2d06-541a-4019-ad16-6124c48286f9
a9b95342-1927-4887-9a31-c560c75d3497
eb492867-6de5-4390-8093-01699cd8f093
b1f0c64a-76b8-44fd-880b-e1ed5ce093b4
e1206fcb-9dd6-4ee7-afd2-ccfe3d12a576
6e2f2d5b-2260-474b-a027-2283456564c6
9c5c4793-22e2-4318-bd7c-2e5c2518b463
1272dac4-8744-4976-b2a8-c475cf5350c3
742ffbce-4d1c-4ebf-ab0f-0647461b8a04
b45652c4-baa5-4348-b50a-976fdb7d1ede
41f97ef8-7d01-4806-a92e-63941fc350bc
9b07933c-2695-4673-a92f-caff982f631e
acf4c7bc-b5fa-4399-9f06-846d48b6e61a

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: