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)

01a0d0b5-1b67-7127-9e43-7059efac45b6
01a0d0b5-1b67-72d5-a889-6eaa3d861aff
01a0d0b5-1b67-7411-80c3-8c75ac4aafe7
01a0d0b5-1b67-7530-8359-b8901802f586
01a0d0b5-1b67-764a-8a81-b7758f89e067
01a0d0b5-1b67-7761-b3fc-fe303399b9fe
01a0d0b5-1b67-7877-aec2-9dfcd3db260a
01a0d0b5-1b67-798e-91de-5f08ffaca267
01a0d0b5-1b67-7aa4-a8b6-0af897af2930
01a0d0b5-1b67-7bb7-8444-05659b566e90
01a0d0b5-1b67-7ccd-a5e6-8d289d02d435
01a0d0b5-1b67-7de4-93f9-3e50705f29f9
01a0d0b5-1b67-7efa-938a-86c7dbca4843
01a0d0b5-1b68-7011-991e-5cd8e71e5278
01a0d0b5-1b68-712c-9eac-ded583cea0e0

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)

1f1b7aab-5ffd-6560-9cf0-4cf95d479851
1f1b7aab-5ffd-6704-9cf0-4cf95d479851
1f1b7aab-5ffd-67ea-9cf0-4cf95d479851
1f1b7aab-5ffd-68bc-9cf0-4cf95d479851
1f1b7aab-5ffd-6984-9cf0-4cf95d479851
1f1b7aab-5ffd-6a4c-9cf0-4cf95d479851
1f1b7aab-5ffd-6b0a-9cf0-4cf95d479851
1f1b7aab-5ffd-6bd2-9cf0-4cf95d479851
1f1b7aab-5ffd-6c9a-9cf0-4cf95d479851
1f1b7aab-5ffd-6d58-9cf0-4cf95d479851
1f1b7aab-5ffd-6eb6-9cf0-4cf95d479851
1f1b7aab-5ffd-6f88-9cf0-4cf95d479851
1f1b7aab-5ffe-6050-9cf0-4cf95d479851
1f1b7aab-5ffe-610e-9cf0-4cf95d479851
1f1b7aab-5ffe-61d6-9cf0-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)

b5ffe2bc-b7aa-11f1-9cf0-4cf95d479851
b5ffe320-b7aa-11f1-9cf0-4cf95d479851
b5ffe37a-b7aa-11f1-9cf0-4cf95d479851
b5ffe3de-b7aa-11f1-9cf0-4cf95d479851
b5ffe438-b7aa-11f1-9cf0-4cf95d479851
b5ffe49c-b7aa-11f1-9cf0-4cf95d479851
b5ffe4f6-b7aa-11f1-9cf0-4cf95d479851
b5ffe550-b7aa-11f1-9cf0-4cf95d479851
b5ffe5b4-b7aa-11f1-9cf0-4cf95d479851
b5ffe618-b7aa-11f1-9cf0-4cf95d479851
b5ffe672-b7aa-11f1-9cf0-4cf95d479851
b5ffe6d6-b7aa-11f1-9cf0-4cf95d479851
b5ffe73a-b7aa-11f1-9cf0-4cf95d479851
b5ffe794-b7aa-11f1-9cf0-4cf95d479851
b5ffe802-b7aa-11f1-9cf0-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)

8755192d-9f05-8a10-87ea-5ce32bd83b97
4b051a2d-9f05-8a10-87ea-5ce32bd83b97
dfd71b2d-9f05-8a10-87ea-5ce32bd83b97
2cf21c2d-9f05-8a10-87ea-5ce32bd83b97
713c1d2d-9f05-8a10-87ea-5ce32bd83b97
49931e2d-9f05-8a10-87ea-5ce32bd83b97
2da51f2d-9f05-8a10-87ea-5ce32bd83b97
e59f202d-9f05-8a10-87ea-5ce32bd83b97
9e13212d-9f05-8a10-87ea-5ce32bd83b97
7e31222d-9f05-8a10-87ea-5ce32bd83b97
64bb232d-9f05-8a10-87ea-5ce32bd83b97
d8be242d-9f05-8a10-87ea-5ce32bd83b97
5134252d-9f05-8a10-87ea-5ce32bd83b97
fa54262d-9f05-8a10-87ea-5ce32bd83b97
7851272d-9f05-8a10-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)

8899645d-43ca-4640-84f1-accc7a82b3ed
6ab4a11d-71d0-4a34-abe2-f022a0bb2ae6
85a8d2c6-6f10-436c-b042-f4ace51dabc0
4509c211-61bc-44b8-a034-14b5ad054a97
e7d68849-dd0e-4b58-b51f-418aa24fb761
66529c9d-217a-4c8f-82eb-e6683b3a8ad3
946d3a9a-7dda-4b94-9df1-f166ba9a62da
435a0c66-221f-4549-aaa9-4a542ef1e9a6
a35a02a3-8b74-4e99-bbbb-47e79a36b784
54a782b4-7e7d-4582-b0ad-e420c97cbc3c
ab698da3-dad9-4f31-88e8-4e3e7fc05cb8
d1297b97-7c4b-4d2d-9f05-aab363c8704b
71999faa-a18d-401c-a701-a46dcb6f519d
85bb7736-6346-4000-80ca-17bd9f565699
394f8af8-56c2-4b9f-a034-930aacf20566

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: