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)

01a2207f-8e5b-7107-8951-51e7fe937b2c
01a2207f-8e5b-72fa-a9ba-4ef3467c39ee
01a2207f-8e5b-7436-9a82-c4d08719af2a
01a2207f-8e5b-7554-8e46-b437d6d8fc1a
01a2207f-8e5b-766b-a5b0-5baab5c11020
01a2207f-8e5b-7782-a15d-66850dc0c648
01a2207f-8e5b-7894-8b72-74706c210eb1
01a2207f-8e5b-79aa-9669-8ee8c834f756
01a2207f-8e5b-7abd-bd91-683d9c34607d
01a2207f-8e5b-7bd3-a5ad-9f89dc101c3b
01a2207f-8e5b-7cea-86ab-9834f184e3b7
01a2207f-8e5b-7e00-9cbb-d52611b83b9d
01a2207f-8e5b-7f17-88cf-1bf5f45a282a
01a2207f-8e5c-702e-8dcf-40de1e598cc9
01a2207f-8e5c-7144-bf5b-e1b1e72f26f2

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)

1f1eae78-a2a3-6140-8c46-4cf95d479851
1f1eae78-a2a3-6316-8c46-4cf95d479851
1f1eae78-a2a3-6406-8c46-4cf95d479851
1f1eae78-a2a3-64e2-8c46-4cf95d479851
1f1eae78-a2a3-65aa-8c46-4cf95d479851
1f1eae78-a2a3-6668-8c46-4cf95d479851
1f1eae78-a2a3-6730-8c46-4cf95d479851
1f1eae78-a2a3-67ee-8c46-4cf95d479851
1f1eae78-a2a3-68b6-8c46-4cf95d479851
1f1eae78-a2a3-6988-8c46-4cf95d479851
1f1eae78-a2a3-6ad2-8c46-4cf95d479851
1f1eae78-a2a3-6ba4-8c46-4cf95d479851
1f1eae78-a2a3-6c62-8c46-4cf95d479851
1f1eae78-a2a3-6d2a-8c46-4cf95d479851
1f1eae78-a2a3-6de8-8c46-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)

8a2a3ec4-eae7-11f1-8c46-4cf95d479851
8a2a3f28-eae7-11f1-8c46-4cf95d479851
8a2a3f96-eae7-11f1-8c46-4cf95d479851
8a2a3ffa-eae7-11f1-8c46-4cf95d479851
8a2a405e-eae7-11f1-8c46-4cf95d479851
8a2a40b8-eae7-11f1-8c46-4cf95d479851
8a2a411c-eae7-11f1-8c46-4cf95d479851
8a2a4176-eae7-11f1-8c46-4cf95d479851
8a2a41da-eae7-11f1-8c46-4cf95d479851
8a2a4234-eae7-11f1-8c46-4cf95d479851
8a2a4298-eae7-11f1-8c46-4cf95d479851
8a2a42fc-eae7-11f1-8c46-4cf95d479851
8a2a4360-eae7-11f1-8c46-4cf95d479851
8a2a43c4-eae7-11f1-8c46-4cf95d479851
8a2a4428-eae7-11f1-8c46-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)

ead72828-2501-8c14-87ea-5ce32bd83b97
ca3b2928-2501-8c14-87ea-5ce32bd83b97
62b92a28-2501-8c14-87ea-5ce32bd83b97
eacb2b28-2501-8c14-87ea-5ce32bd83b97
67d02c28-2501-8c14-87ea-5ce32bd83b97
bbc72d28-2501-8c14-87ea-5ce32bd83b97
11f72e28-2501-8c14-87ea-5ce32bd83b97
c4802f28-2501-8c14-87ea-5ce32bd83b97
d1963028-2501-8c14-87ea-5ce32bd83b97
42fd3128-2501-8c14-87ea-5ce32bd83b97
ebf53228-2501-8c14-87ea-5ce32bd83b97
d7a33328-2501-8c14-87ea-5ce32bd83b97
624a3428-2501-8c14-87ea-5ce32bd83b97
69df3528-2501-8c14-87ea-5ce32bd83b97
51ff3628-2501-8c14-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)

eb8e8edc-ac74-4889-87a0-201e085f56cf
348c4b0e-5529-4aa9-8166-7e75613e8840
56d828b9-da47-4a5f-a49b-fc23e25955ee
342f71b4-bd09-46b6-89f5-adbb4f15fa21
e4ee5761-dc6a-4acf-82f5-ee558cc4f64d
15823fd6-1b95-4700-b849-8c376956d0a8
ae477b40-3fe1-4a0f-a86d-1f0d1e48775e
cc64fd0e-edaf-4d37-b0e0-fd2c16e25a50
e2dbbd54-448f-4a7c-aea2-5cc2193b95db
130e997e-fdb6-4a59-b898-1b8ef3dbb0a5
6515ac44-85fe-462b-b620-84da3323affb
7eea66d2-67d9-4e84-a523-ce508e4dcf9f
1fd2b0f4-cb79-4d94-b432-18bc0a765f09
68d644be-4f6b-4e9a-8e38-6debe0d71192
7a266ebb-576f-45e9-b6d2-700fba65596b

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: