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)

019c9d8b-d68e-7690-ba79-320451169a0f
019c9d8b-d68e-78b1-a87f-46cc4069deac
019c9d8b-d68e-7a1d-b11a-a5234312e0f7
019c9d8b-d68e-7b44-b693-6c4e87ddbca5
019c9d8b-d68e-7c63-ba39-b6b485a30e2a
019c9d8b-d68e-7d7d-bc0c-476aed92df2c
019c9d8b-d68e-7e98-969d-6e03e1dbced6
019c9d8b-d68e-7fb3-bd71-e078c393a5e6
019c9d8b-d68f-70d1-8af0-0715d701f685
019c9d8b-d68f-71ec-93de-8100a7218a5b
019c9d8b-d68f-7307-bdec-e9cec33843fb
019c9d8b-d68f-7421-b6df-3095efa1518b
019c9d8b-d68f-753c-af98-60ac96635093
019c9d8b-d68f-765b-8922-7218f9d6dec0
019c9d8b-d68f-7775-89fb-c9c50b36734f

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)

1f1139c3-9ee8-687a-86f5-4cf95d479851
1f1139c3-9ee8-6a32-86f5-4cf95d479851
1f1139c3-9ee8-6b18-86f5-4cf95d479851
1f1139c3-9ee8-6be0-86f5-4cf95d479851
1f1139c3-9ee8-6ca8-86f5-4cf95d479851
1f1139c3-9ee8-6d70-86f5-4cf95d479851
1f1139c3-9ee8-6e2e-86f5-4cf95d479851
1f1139c3-9ee8-6eec-86f5-4cf95d479851
1f1139c3-9ee8-6faa-86f5-4cf95d479851
1f1139c3-9ee9-6068-86f5-4cf95d479851
1f1139c3-9ee9-61c6-86f5-4cf95d479851
1f1139c3-9ee9-628e-86f5-4cf95d479851
1f1139c3-9ee9-634c-86f5-4cf95d479851
1f1139c3-9ee9-640a-86f5-4cf95d479851
1f1139c3-9ee9-64be-86f5-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)

1b3a3b4a-b156-48fb-94cf-21bc07c20fb5
d9fad243-328e-4e7b-a44a-f32f7055d0fa
d9ea0bdb-55ed-453e-ba09-edf1dbc9c08c
79b6247c-305c-46a5-9a84-8dc5ec2a441f
b4da644f-c350-43bb-b183-8442da4d5eaa
4e8c2b8e-67e0-4d63-8aa5-12302c29ffc0
1f027141-8df1-422d-bc4f-c82ff50dae6c
89b1e1eb-62b5-4fe9-a5e5-f6d11d26af33
64173557-7f01-43ee-9230-a866ca3b9dd2
0628dade-6882-4ad5-ab7c-0031a3dd625b
55a87364-8e98-443a-a41a-863e05ef3bab
6eedaaad-744b-45ea-ace1-aa2a387737c8
4ed333a4-53af-4473-8b2f-8385bd726f1f
8b998132-2fac-47ec-a392-a4583c4bfe7e
5b191c44-b1e8-4e07-a173-856b4c1b9d9f

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)

39ee99f0-139c-11f1-86f5-4cf95d479851
39ee9a54-139c-11f1-86f5-4cf95d479851
39ee9aae-139c-11f1-86f5-4cf95d479851
39ee9b12-139c-11f1-86f5-4cf95d479851
39ee9b6c-139c-11f1-86f5-4cf95d479851
39ee9bc6-139c-11f1-86f5-4cf95d479851
39ee9c2a-139c-11f1-86f5-4cf95d479851
39ee9c84-139c-11f1-86f5-4cf95d479851
39ee9cde-139c-11f1-86f5-4cf95d479851
39ee9d42-139c-11f1-86f5-4cf95d479851
39ee9db0-139c-11f1-86f5-4cf95d479851
39ee9e14-139c-11f1-86f5-4cf95d479851
39ee9e78-139c-11f1-86f5-4cf95d479851
39ee9edc-139c-11f1-86f5-4cf95d479851
39ee9f40-139c-11f1-86f5-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)

4e724c35-4201-8a03-87ea-5ce32bd83b97
7a1f4d35-4201-8a03-87ea-5ce32bd83b97
9bae4e35-4201-8a03-87ea-5ce32bd83b97
312c4f35-4201-8a03-87ea-5ce32bd83b97
fcec5035-4201-8a03-87ea-5ce32bd83b97
d2c65135-4201-8a03-87ea-5ce32bd83b97
723b5235-4201-8a03-87ea-5ce32bd83b97
11745335-4201-8a03-87ea-5ce32bd83b97
d5975435-4201-8a03-87ea-5ce32bd83b97
51535535-4201-8a03-87ea-5ce32bd83b97
6e485635-4201-8a03-87ea-5ce32bd83b97
46fc5735-4201-8a03-87ea-5ce32bd83b97
aaae5835-4201-8a03-87ea-5ce32bd83b97
0e385935-4201-8a03-87ea-5ce32bd83b97
0b435a35-4201-8a03-87ea-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

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: