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)

01a069c3-7e78-778a-a46c-78813e7fec59
01a069c3-7e78-7940-a9bc-a00c61ae8fbb
01a069c3-7e78-7a7b-85e4-4dd77a92a811
01a069c3-7e78-7b96-9343-9b849d908aef
01a069c3-7e78-7cad-a309-331d7273c124
01a069c3-7e78-7dbf-8447-54941b4b7107
01a069c3-7e78-7ed1-b7a8-635c59bdbdf2
01a069c3-7e78-7fe4-90c4-1688086b8875
01a069c3-7e79-70f6-9804-818ad6bb1f25
01a069c3-7e79-720d-a93f-2344cac7196d
01a069c3-7e79-731b-9fab-addb25a32fe0
01a069c3-7e79-747f-8f27-81e30fdcc103
01a069c3-7e79-75af-93a6-2d12952ee113
01a069c3-7e79-76c5-8c07-bfd0f38c4005
01a069c3-7e79-77d8-90c5-d80efbdf40d8

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)

1f1a7f57-7fda-6f4a-a647-4cf95d479851
1f1a7f57-7fdb-60ee-a647-4cf95d479851
1f1a7f57-7fdb-61d4-a647-4cf95d479851
1f1a7f57-7fdb-62a6-a647-4cf95d479851
1f1a7f57-7fdb-6364-a647-4cf95d479851
1f1a7f57-7fdb-6422-a647-4cf95d479851
1f1a7f57-7fdb-64e0-a647-4cf95d479851
1f1a7f57-7fdb-659e-a647-4cf95d479851
1f1a7f57-7fdb-6666-a647-4cf95d479851
1f1a7f57-7fdb-6738-a647-4cf95d479851
1f1a7f57-7fdb-6882-a647-4cf95d479851
1f1a7f57-7fdb-695e-a647-4cf95d479851
1f1a7f57-7fdb-6a3a-a647-4cf95d479851
1f1a7f57-7fdb-6b02-a647-4cf95d479851
1f1a7f57-7fdb-6bc0-a647-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)

77fdbc92-a7f5-11f1-a647-4cf95d479851
77fdbcf6-a7f5-11f1-a647-4cf95d479851
77fdbd64-a7f5-11f1-a647-4cf95d479851
77fdbdbe-a7f5-11f1-a647-4cf95d479851
77fdbe22-a7f5-11f1-a647-4cf95d479851
77fdbe86-a7f5-11f1-a647-4cf95d479851
77fdbee0-a7f5-11f1-a647-4cf95d479851
77fdbf4e-a7f5-11f1-a647-4cf95d479851
77fdbfb2-a7f5-11f1-a647-4cf95d479851
77fdc016-a7f5-11f1-a647-4cf95d479851
77fdc07a-a7f5-11f1-a647-4cf95d479851
77fdc0e8-a7f5-11f1-a647-4cf95d479851
77fdc14c-a7f5-11f1-a647-4cf95d479851
77fdc1a6-a7f5-11f1-a647-4cf95d479851
77fdc20a-a7f5-11f1-a647-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)

9b77b622-0e00-870f-87ea-5ce32bd83b97
b746b722-0e00-870f-87ea-5ce32bd83b97
c337b822-0e00-870f-87ea-5ce32bd83b97
9938b922-0e00-870f-87ea-5ce32bd83b97
8316ba22-0e00-870f-87ea-5ce32bd83b97
b276bb22-0e00-870f-87ea-5ce32bd83b97
5018bc22-0e00-870f-87ea-5ce32bd83b97
ed8cbd22-0e00-870f-87ea-5ce32bd83b97
275bbe22-0e00-870f-87ea-5ce32bd83b97
1375c022-0e00-870f-87ea-5ce32bd83b97
b8e5c122-0e00-870f-87ea-5ce32bd83b97
dbc9c222-0e00-870f-87ea-5ce32bd83b97
7c64c322-0e00-870f-87ea-5ce32bd83b97
a213c422-0e00-870f-87ea-5ce32bd83b97
3d8fc522-0e00-870f-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)

02e68708-3d4f-472e-8782-a4fde5493ebc
616bf560-34f9-4ace-8c6c-1f11db5cc8ed
b884a143-12bd-4eda-b217-8caaff7d0d3c
e68a960d-361e-462a-85a2-782355e56218
c5599299-f949-4d01-995f-ae5d9d39d69f
3c273c92-7d99-4bab-8f79-8ed1bb317439
6d54e6ec-f27a-46ad-b8a0-ed6f3c2afa88
c0f75f73-fc52-43fa-95f6-79f137d66d4f
b07d5b3c-9495-4eda-b183-a140bda1a6ed
583e4c51-c0d5-480f-8c72-e1be46e62b85
a32112ef-4be1-47cc-93f3-a7788362b57c
95a3b8ee-84c4-485d-90a2-30afa4b75b8b
3129433b-048e-4104-bcad-75c893f6a41c
da4bff65-d930-4c77-9e25-9aa676b52f6f
cd39aecc-501f-4cea-9cb8-591a39ce6902

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: