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)

019f3aff-a082-7bd3-b0dc-9e5d512ff0b2
019f3aff-a082-7d71-afae-1255c4f89ab6
019f3aff-a082-7eb5-9435-4fff22770c24
019f3aff-a082-7fd3-ae72-01578568e416
019f3aff-a083-70ee-abb3-669e38ae6f7d
019f3aff-a083-720d-bd85-fe864c0905a3
019f3aff-a083-7323-a6d1-a2c79a9308a1
019f3aff-a083-743a-8414-f7947512c2f7
019f3aff-a083-7550-b424-ed3c95c4b5eb
019f3aff-a083-7667-a638-fb48100151a1
019f3aff-a083-777d-9d02-0819424f572c
019f3aff-a083-7898-be60-7e0941fe08a3
019f3aff-a083-79bb-b458-0a30ad1f98f8
019f3aff-a083-7ad5-b565-9ca72433017a
019f3aff-a083-7bf0-bdf4-713856f1f31c

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)

1f179c2b-4ef5-6fb8-9aff-4cf95d479851
1f179c2b-4ef6-6166-9aff-4cf95d479851
1f179c2b-4ef6-6256-9aff-4cf95d479851
1f179c2b-4ef6-631e-9aff-4cf95d479851
1f179c2b-4ef6-63f0-9aff-4cf95d479851
1f179c2b-4ef6-64c2-9aff-4cf95d479851
1f179c2b-4ef6-658a-9aff-4cf95d479851
1f179c2b-4ef6-6648-9aff-4cf95d479851
1f179c2b-4ef6-671a-9aff-4cf95d479851
1f179c2b-4ef6-67ec-9aff-4cf95d479851
1f179c2b-4ef6-6940-9aff-4cf95d479851
1f179c2b-4ef6-6a1c-9aff-4cf95d479851
1f179c2b-4ef6-6ae4-9aff-4cf95d479851
1f179c2b-4ef6-6bac-9aff-4cf95d479851
1f179c2b-4ef6-6c74-9aff-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)

b4ef6d50-79c2-11f1-9aff-4cf95d479851
b4ef6db4-79c2-11f1-9aff-4cf95d479851
b4ef6e18-79c2-11f1-9aff-4cf95d479851
b4ef6e7c-79c2-11f1-9aff-4cf95d479851
b4ef6ee0-79c2-11f1-9aff-4cf95d479851
b4ef6f44-79c2-11f1-9aff-4cf95d479851
b4ef6fb2-79c2-11f1-9aff-4cf95d479851
b4ef7016-79c2-11f1-9aff-4cf95d479851
b4ef7084-79c2-11f1-9aff-4cf95d479851
b4ef70de-79c2-11f1-9aff-4cf95d479851
b4ef7142-79c2-11f1-9aff-4cf95d479851
b4ef71b0-79c2-11f1-9aff-4cf95d479851
b4ef7214-79c2-11f1-9aff-4cf95d479851
b4ef7278-79c2-11f1-9aff-4cf95d479851
b4ef72e6-79c2-11f1-9aff-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)

74502413-3b01-8c0b-87ea-5ce32bd83b97
af012513-3b01-8c0b-87ea-5ce32bd83b97
a55c2613-3b01-8c0b-87ea-5ce32bd83b97
e3d02713-3b01-8c0b-87ea-5ce32bd83b97
81422813-3b01-8c0b-87ea-5ce32bd83b97
fede2913-3b01-8c0b-87ea-5ce32bd83b97
810d2a13-3b01-8c0b-87ea-5ce32bd83b97
5ca72b13-3b01-8c0b-87ea-5ce32bd83b97
74db2c13-3b01-8c0b-87ea-5ce32bd83b97
1f4c2d13-3b01-8c0b-87ea-5ce32bd83b97
85f02e13-3b01-8c0b-87ea-5ce32bd83b97
7bff2f13-3b01-8c0b-87ea-5ce32bd83b97
cc253013-3b01-8c0b-87ea-5ce32bd83b97
302a3113-3b01-8c0b-87ea-5ce32bd83b97
991d3213-3b01-8c0b-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)

fcdf3f2b-b190-44ba-bea7-5f259c79e698
004aad1b-5393-4129-8928-7884c59584f3
30f25969-f256-40c6-a68e-4d7c22d9dffb
39bd3e25-79ea-4f9d-be27-513a8a8bc815
9cc5a135-e471-44ac-a6e3-a9526ce13c22
7f19603e-4a3a-4739-9345-b41acdf1ea6b
a7e65bec-caf0-401f-b293-b81b73e1afc0
dc5082a2-e40c-4b78-8836-268a680309fd
5d3d3dbf-f46e-4ca4-b749-69b854b72b92
482884d0-1b05-4c88-a5ef-ad1fb03c941a
3055a94d-4785-47d1-b369-723f6add569c
65714710-71f3-41c7-b793-4f8ca7223bab
4b9c1b67-3dce-4da0-8cdd-38a90e4f5edc
a4ce1249-7ab1-48d8-bcb3-ff4c411e2727
61c1a517-0071-47c8-b1e3-04c230fe318a

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: