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)

019b37be-57c0-7134-a2ea-ef79ee1f96cb
019b37be-57c0-72c5-9c9b-c64f50779b79
019b37be-57c0-7405-ab9e-5d0b45ace119
019b37be-57c0-7527-8e71-0fa5088cea64
019b37be-57c0-7642-91d0-ed696ec363a4
019b37be-57c0-7759-9df3-10eac1eb395d
019b37be-57c0-7873-8233-ec03be233c4c
019b37be-57c0-798a-962d-c39a38705b13
019b37be-57c0-7aa0-8faf-46977824fe71
019b37be-57c0-7bb7-b7c1-9c00aec60a89
019b37be-57c0-7cd5-b843-098bcea7e609
019b37be-57c0-7df0-b2f4-14f0dab540d2
019b37be-57c0-7f0b-aa62-dff849ee9a41
019b37be-57c1-7021-866a-2ab898f41a2b
019b37be-57c1-713c-a90a-71e37c46c1ca

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)

1f0dd038-ec52-69d2-9868-4cf95d479851
1f0dd038-ec52-6b58-9868-4cf95d479851
1f0dd038-ec52-6c48-9868-4cf95d479851
1f0dd038-ec52-6d10-9868-4cf95d479851
1f0dd038-ec52-6dce-9868-4cf95d479851
1f0dd038-ec52-6e96-9868-4cf95d479851
1f0dd038-ec52-6f54-9868-4cf95d479851
1f0dd038-ec53-601c-9868-4cf95d479851
1f0dd038-ec53-60da-9868-4cf95d479851
1f0dd038-ec53-61a2-9868-4cf95d479851
1f0dd038-ec53-630a-9868-4cf95d479851
1f0dd038-ec53-6490-9868-4cf95d479851
1f0dd038-ec53-695e-9868-4cf95d479851
1f0dd038-ec53-6a26-9868-4cf95d479851
1f0dd038-ec53-6aee-9868-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)

a2164aa1-ffe2-4b6f-b220-cf619328d425
e99ca2b9-b9d7-4654-851b-c23b3ac65db6
adfd7f5a-4367-4a7f-a75b-354559baccd7
8476c399-55c7-4976-9f7c-61b0ea5303db
43d82aa8-2d4e-4d56-9edc-3df12e52b11d
64c4f588-dd3f-47d0-a389-fe8edde49673
2b9b0728-80d0-45dc-aed1-702f9c05fe7c
4b30567f-6ba5-4a36-99af-477c305e1c91
b6b827de-b0c9-45dc-a810-dadce50cb747
906d818d-ffa0-4d2e-b50d-72ea41159190
4e63c5e4-85ef-4282-a90f-baa139cf7fd4
cfc9a850-4e68-4a0b-8ecb-3606f6bc7e3b
20d42afd-d8c4-41dd-ba45-261359f8a073
93674dea-38c4-48ba-b0ee-8c50127450bc
287b63a3-fe47-4c2e-9931-48bbc44660fd

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)

8ec5400c-dd03-11f0-9868-4cf95d479851
8ec5407a-dd03-11f0-9868-4cf95d479851
8ec540de-dd03-11f0-9868-4cf95d479851
8ec54142-dd03-11f0-9868-4cf95d479851
8ec541b0-dd03-11f0-9868-4cf95d479851
8ec54214-dd03-11f0-9868-4cf95d479851
8ec54278-dd03-11f0-9868-4cf95d479851
8ec542dc-dd03-11f0-9868-4cf95d479851
8ec54336-dd03-11f0-9868-4cf95d479851
8ec543a4-dd03-11f0-9868-4cf95d479851
8ec54412-dd03-11f0-9868-4cf95d479851
8ec5446c-dd03-11f0-9868-4cf95d479851
8ec544d0-dd03-11f0-9868-4cf95d479851
8ec5452a-dd03-11f0-9868-4cf95d479851
8ec5458e-dd03-11f0-9868-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)

2b52d73b-3104-8116-87e9-5ce32bd83b97
db22d83b-3104-8116-87e9-5ce32bd83b97
01c7d93b-3104-8116-87e9-5ce32bd83b97
5df6da3b-3104-8116-87e9-5ce32bd83b97
37e1db3b-3104-8116-87e9-5ce32bd83b97
bf93dc3b-3104-8116-87e9-5ce32bd83b97
fbc1dd3b-3104-8116-87e9-5ce32bd83b97
ca5bde3b-3104-8116-87e9-5ce32bd83b97
30b7df3b-3104-8116-87e9-5ce32bd83b97
5631e03b-3104-8116-87e9-5ce32bd83b97
bf3be13b-3104-8116-87e9-5ce32bd83b97
f95ce23b-3104-8116-87e9-5ce32bd83b97
4348e33b-3104-8116-87e9-5ce32bd83b97
0f54e43b-3104-8116-87e9-5ce32bd83b97
08cae53b-3104-8116-87e9-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

An 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

An UUIDv3 is made out of a MD5 hash and an 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: