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)

01a0385a-f676-7971-9700-16f32022b718
01a0385a-f676-7b6d-b6bb-6816e26fc31c
01a0385a-f676-7cb5-a964-e4857efcaca0
01a0385a-f676-7ddc-b8db-de56e8ca8b6a
01a0385a-f676-7efe-b267-8292c1f61e2d
01a0385a-f677-7019-93da-67aabe4195d7
01a0385a-f677-713c-a227-a6354f44230b
01a0385a-f677-725b-a31a-a7807609c10e
01a0385a-f677-737d-b6d3-a3dc05e27404
01a0385a-f677-749c-9aec-531feed0ba02
01a0385a-f677-75bb-9840-481f31bb81cd
01a0385a-f677-76da-b78c-4e4b359cba8e
01a0385a-f677-77f4-b818-9a44a6248c68
01a0385a-f677-7917-87dd-497c7daf52e0
01a0385a-f677-7a36-a467-13f1ada76528

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)

1f1a06b7-4bce-6710-9c6f-4cf95d479851
1f1a06b7-4bce-68d2-9c6f-4cf95d479851
1f1a06b7-4bce-69b8-9c6f-4cf95d479851
1f1a06b7-4bce-6a94-9c6f-4cf95d479851
1f1a06b7-4bce-6b5c-9c6f-4cf95d479851
1f1a06b7-4bce-6c24-9c6f-4cf95d479851
1f1a06b7-4bce-6cec-9c6f-4cf95d479851
1f1a06b7-4bce-6db4-9c6f-4cf95d479851
1f1a06b7-4bce-6e72-9c6f-4cf95d479851
1f1a06b7-4bce-6f30-9c6f-4cf95d479851
1f1a06b7-4bcf-6070-9c6f-4cf95d479851
1f1a06b7-4bcf-6142-9c6f-4cf95d479851
1f1a06b7-4bcf-6200-9c6f-4cf95d479851
1f1a06b7-4bcf-62d2-9c6f-4cf95d479851
1f1a06b7-4bcf-63a4-9c6f-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)

74bcf476-a06b-11f1-9c6f-4cf95d479851
74bcf4ee-a06b-11f1-9c6f-4cf95d479851
74bcf55c-a06b-11f1-9c6f-4cf95d479851
74bcf5c0-a06b-11f1-9c6f-4cf95d479851
74bcf624-a06b-11f1-9c6f-4cf95d479851
74bcf692-a06b-11f1-9c6f-4cf95d479851
74bcf6f6-a06b-11f1-9c6f-4cf95d479851
74bcf75a-a06b-11f1-9c6f-4cf95d479851
74bcf7b4-a06b-11f1-9c6f-4cf95d479851
74bcf818-a06b-11f1-9c6f-4cf95d479851
74bcf872-a06b-11f1-9c6f-4cf95d479851
74bcf8e0-a06b-11f1-9c6f-4cf95d479851
74bcf944-a06b-11f1-9c6f-4cf95d479851
74bcf9a8-a06b-11f1-9c6f-4cf95d479851
74bcfa16-a06b-11f1-9c6f-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)

7b6d9100-5702-8d0e-87ea-5ce32bd83b97
0aac9200-5702-8d0e-87ea-5ce32bd83b97
53959300-5702-8d0e-87ea-5ce32bd83b97
5e529400-5702-8d0e-87ea-5ce32bd83b97
e0cd9500-5702-8d0e-87ea-5ce32bd83b97
b9e59600-5702-8d0e-87ea-5ce32bd83b97
0c299700-5702-8d0e-87ea-5ce32bd83b97
a98e9800-5702-8d0e-87ea-5ce32bd83b97
0fe79900-5702-8d0e-87ea-5ce32bd83b97
0eb09a00-5702-8d0e-87ea-5ce32bd83b97
e4909b00-5702-8d0e-87ea-5ce32bd83b97
a47a9c00-5702-8d0e-87ea-5ce32bd83b97
aab39d00-5702-8d0e-87ea-5ce32bd83b97
ea269f00-5702-8d0e-87ea-5ce32bd83b97
b0aaa000-5702-8d0e-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)

3a76705b-7d8a-4912-b913-40fc9bfaf3b4
cddf548a-d41f-459f-890b-399562f9d0c1
06655f03-aa05-45b0-8310-d66cee98ed78
cd8168ad-0523-42d4-b941-e35a5608ddb0
29b45c2b-94ad-4bd8-b8c4-c85f342ce17e
ba7e6d77-32f0-454d-aa6d-7204e63d4309
6eaf2662-e820-43a8-bb43-8f9a07bf296a
636affc7-52b1-4bbb-bdcb-49cb6f656943
1d8832c8-3553-4c26-b36d-f5619c5d2a44
4b71d95f-302a-4072-b464-65f3c7b40a55
07b5bdd9-7e69-43c8-b8ad-43b44debeb48
ad7cdf20-7895-4f80-bae5-ed0e8904f876
de494633-19ec-4773-a787-1db7bb52b199
16d5a976-33c2-4ccd-9adb-a846386887d8
28bfb183-c128-4b55-972a-d62b333024da

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: