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)

019d9d4f-fb50-7175-98b2-e4639ed0cd10
019d9d4f-fb50-733c-916c-e55a4031d065
019d9d4f-fb50-74b1-88fa-05f4ee0a6729
019d9d4f-fb50-7632-a261-02670c4c8912
019d9d4f-fb50-7786-b512-1f50157fe822
019d9d4f-fb50-78a8-8110-0e3f1950f166
019d9d4f-fb50-79c3-819f-24acd42a5667
019d9d4f-fb50-7ae2-b0bf-c0ce46ccb6a7
019d9d4f-fb50-7bfc-8ff6-bb8f948a27b7
019d9d4f-fb50-7d17-90de-530a937d28f5
019d9d4f-fb50-7e32-bbc5-00bde1903b43
019d9d4f-fb50-7f4c-a7bb-cd5e392b3015
019d9d4f-fb51-7067-9323-49cd40e26ac7
019d9d4f-fb51-7186-91c5-6dae70c9b6f2
019d9d4f-fb51-72a0-bead-451f6dab4d5b

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)

1f13aa31-7ca5-6656-8c0d-4cf95d479851
1f13aa31-7ca5-67fa-8c0d-4cf95d479851
1f13aa31-7ca5-68e0-8c0d-4cf95d479851
1f13aa31-7ca5-69a8-8c0d-4cf95d479851
1f13aa31-7ca5-6a70-8c0d-4cf95d479851
1f13aa31-7ca5-6b38-8c0d-4cf95d479851
1f13aa31-7ca5-6bf6-8c0d-4cf95d479851
1f13aa31-7ca5-6cb4-8c0d-4cf95d479851
1f13aa31-7ca5-6d72-8c0d-4cf95d479851
1f13aa31-7ca5-6e3a-8c0d-4cf95d479851
1f13aa31-7ca5-6f70-8c0d-4cf95d479851
1f13aa31-7ca6-6038-8c0d-4cf95d479851
1f13aa31-7ca6-60ec-8c0d-4cf95d479851
1f13aa31-7ca6-61aa-8c0d-4cf95d479851
1f13aa31-7ca6-6268-8c0d-4cf95d479851

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)

e7228f13-665e-4a61-b9be-40b9ae1a2b98
5fab5813-5402-46e2-a07d-299270abf3b9
7014553f-1439-4f5e-be1a-595ffc42afeb
f8e737d9-7a6f-4bf8-ba02-2b05b0b02e07
14c3ffdf-2a35-4fc4-8064-46962f2d0753
4e073d8f-0068-45b0-b5c8-7a3f3c25c175
ca6efefa-e54c-432e-a5ca-706955050bc9
be766b8c-4d33-4382-91e3-ee2cec361305
af311557-101e-4df5-b987-543bef189009
a1c8a70a-d9ce-4aa4-bdb4-66f6e3442d1d
323cdb7a-1898-43f8-bcaf-a7c967759a61
a2406a3c-061d-4cc1-808d-a100c6557f9a
3c941ac4-2794-4e0a-86aa-f72415bce611
839ca714-3c77-46c4-a74e-9cd372b02889
8574602d-0e60-46b4-93d9-7c4d06153fb2

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)

17ca6786-3aa3-11f1-8c0d-4cf95d479851
17ca67f4-3aa3-11f1-8c0d-4cf95d479851
17ca6858-3aa3-11f1-8c0d-4cf95d479851
17ca68bc-3aa3-11f1-8c0d-4cf95d479851
17ca6916-3aa3-11f1-8c0d-4cf95d479851
17ca697a-3aa3-11f1-8c0d-4cf95d479851
17ca69de-3aa3-11f1-8c0d-4cf95d479851
17ca6a38-3aa3-11f1-8c0d-4cf95d479851
17ca6a9c-3aa3-11f1-8c0d-4cf95d479851
17ca6af6-3aa3-11f1-8c0d-4cf95d479851
17ca6b5a-3aa3-11f1-8c0d-4cf95d479851
17ca6bbe-3aa3-11f1-8c0d-4cf95d479851
17ca6c22-3aa3-11f1-8c0d-4cf95d479851
17ca6c90-3aa3-11f1-8c0d-4cf95d479851
17ca6cea-3aa3-11f1-8c0d-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)

1df4d711-0005-8b06-87ea-5ce32bd83b97
8161d811-0005-8b06-87ea-5ce32bd83b97
e2d9d911-0005-8b06-87ea-5ce32bd83b97
e8cdda11-0005-8b06-87ea-5ce32bd83b97
f6e5db11-0005-8b06-87ea-5ce32bd83b97
a20fdc11-0005-8b06-87ea-5ce32bd83b97
8cfedd11-0005-8b06-87ea-5ce32bd83b97
7493de11-0005-8b06-87ea-5ce32bd83b97
7e72df11-0005-8b06-87ea-5ce32bd83b97
46dee011-0005-8b06-87ea-5ce32bd83b97
4275e111-0005-8b06-87ea-5ce32bd83b97
d0fce211-0005-8b06-87ea-5ce32bd83b97
3329e311-0005-8b06-87ea-5ce32bd83b97
35afe411-0005-8b06-87ea-5ce32bd83b97
d6cee511-0005-8b06-87ea-5ce32bd83b97

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: