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)

019c5c64-a304-7969-8b55-83bfc399215e
019c5c64-a304-7b2c-a740-7cbb52eeb4e0
019c5c64-a304-7c73-9e99-11ff9890e2aa
019c5c64-a304-7d96-99cb-b0ed63854897
019c5c64-a304-7eb5-92e1-802c4314594f
019c5c64-a304-7fd3-b552-193b71537097
019c5c64-a305-70ee-a31a-31cf559c7d88
019c5c64-a305-720d-ac61-ca7aaf4b841d
019c5c64-a305-732c-b181-01f41c9c225b
019c5c64-a305-7446-bd64-a93b0663da06
019c5c64-a305-7561-8ea5-f7017f234a0c
019c5c64-a305-767f-a0e8-da3a91471b50
019c5c64-a305-779e-b90e-95c7584c1b9b
019c5c64-a305-78c1-9b75-359fd830606f
019c5c64-a305-79dc-8306-7c8a1ea9198d

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)

1f109ab2-ea14-6f5c-ad4a-4cf95d479851
1f109ab2-ea15-611e-ad4a-4cf95d479851
1f109ab2-ea15-620e-ad4a-4cf95d479851
1f109ab2-ea15-62e0-ad4a-4cf95d479851
1f109ab2-ea15-63b2-ad4a-4cf95d479851
1f109ab2-ea15-647a-ad4a-4cf95d479851
1f109ab2-ea15-6542-ad4a-4cf95d479851
1f109ab2-ea15-6614-ad4a-4cf95d479851
1f109ab2-ea15-66d2-ad4a-4cf95d479851
1f109ab2-ea15-679a-ad4a-4cf95d479851
1f109ab2-ea15-6902-ad4a-4cf95d479851
1f109ab2-ea15-69de-ad4a-4cf95d479851
1f109ab2-ea15-6ab0-ad4a-4cf95d479851
1f109ab2-ea15-6b82-ad4a-4cf95d479851
1f109ab2-ea15-6c4a-ad4a-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)

8f8cfbde-915e-426f-81ae-2b9f0c89bb85
aedee17a-9d06-4608-9fbc-78ee340091cb
80d5276b-a974-4759-8861-34d0eeec0192
c694a674-b88d-4a13-9009-c6243fc65e19
ae06bb73-2624-4d10-a4e9-edc6f18737c8
441f542c-5d00-4764-b18b-20df839a07f4
34d8cc74-9376-49dc-9755-8fa317487cb4
9d63f0cd-24e7-45ab-bd56-d9d0a4142875
b10c741e-2dc7-4e02-8325-75d948ce6359
60cf0bca-41cc-4998-8e17-b6fdef2c48bf
14526278-ec2e-418f-84a9-a4276f206097
132b2c76-e884-4c7a-8b5b-b77a42a6b1fb
9da3afc6-597c-4723-975a-479c3df45a9c
648c96b4-b830-4f5c-96de-2a6d521ca152
404bf223-9cc8-48a2-9c2b-6ece5ef22bbe

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)

2ea1617c-09ab-11f1-ad4a-4cf95d479851
2ea161ea-09ab-11f1-ad4a-4cf95d479851
2ea1624e-09ab-11f1-ad4a-4cf95d479851
2ea162b2-09ab-11f1-ad4a-4cf95d479851
2ea16316-09ab-11f1-ad4a-4cf95d479851
2ea1637a-09ab-11f1-ad4a-4cf95d479851
2ea163de-09ab-11f1-ad4a-4cf95d479851
2ea16442-09ab-11f1-ad4a-4cf95d479851
2ea164a6-09ab-11f1-ad4a-4cf95d479851
2ea1650a-09ab-11f1-ad4a-4cf95d479851
2ea1656e-09ab-11f1-ad4a-4cf95d479851
2ea165dc-09ab-11f1-ad4a-4cf95d479851
2ea1664a-09ab-11f1-ad4a-4cf95d479851
2ea166ae-09ab-11f1-ad4a-4cf95d479851
2ea16726-09ab-11f1-ad4a-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)

988e282d-3803-8d02-87ea-5ce32bd83b97
0e0c292d-3803-8d02-87ea-5ce32bd83b97
96032a2d-3803-8d02-87ea-5ce32bd83b97
0b342b2d-3803-8d02-87ea-5ce32bd83b97
37f42c2d-3803-8d02-87ea-5ce32bd83b97
7c972d2d-3803-8d02-87ea-5ce32bd83b97
6b822e2d-3803-8d02-87ea-5ce32bd83b97
e4c12f2d-3803-8d02-87ea-5ce32bd83b97
fb16312d-3803-8d02-87ea-5ce32bd83b97
09ed322d-3803-8d02-87ea-5ce32bd83b97
ffb8332d-3803-8d02-87ea-5ce32bd83b97
1cbd342d-3803-8d02-87ea-5ce32bd83b97
3f21352d-3803-8d02-87ea-5ce32bd83b97
2d6e362d-3803-8d02-87ea-5ce32bd83b97
e0f9372d-3803-8d02-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: