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)

019f6538-740c-7a05-aa47-c5ad63f285fa
019f6538-740c-7bbb-b071-be03a88286ab
019f6538-740c-7d0b-afab-a9ada2aae8b8
019f6538-740c-7e32-a826-315eb2fc733b
019f6538-740c-7f54-a4ac-8ae56f015338
019f6538-740d-7077-91c5-4c4f35495fe0
019f6538-740d-719a-8799-f9aba32f9e28
019f6538-740d-72b9-ba55-f62094e92b85
019f6538-740d-73d8-9365-801eb20de69d
019f6538-740d-74f6-9427-1c123f33f544
019f6538-740d-7615-a05a-045fea449639
019f6538-740d-7734-982e-5870b1416aef
019f6538-740d-7852-83d7-7c5e535a110f
019f6538-740d-7971-ab92-1801dcba179d
019f6538-740d-7a90-b1d6-3ff32536603f

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)

1f180340-0b69-69ee-9f25-4cf95d479851
1f180340-0b69-6bce-9f25-4cf95d479851
1f180340-0b69-6cb4-9f25-4cf95d479851
1f180340-0b69-6d86-9f25-4cf95d479851
1f180340-0b69-6e58-9f25-4cf95d479851
1f180340-0b69-6f20-9f25-4cf95d479851
1f180340-0b69-6fe8-9f25-4cf95d479851
1f180340-0b6a-60a6-9f25-4cf95d479851
1f180340-0b6a-616e-9f25-4cf95d479851
1f180340-0b6a-622c-9f25-4cf95d479851
1f180340-0b6a-638a-9f25-4cf95d479851
1f180340-0b6a-6466-9f25-4cf95d479851
1f180340-0b6a-652e-9f25-4cf95d479851
1f180340-0b6a-65f6-9f25-4cf95d479851
1f180340-0b6a-66be-9f25-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)

00b6a79a-8034-11f1-9f25-4cf95d479851
00b6a7fe-8034-11f1-9f25-4cf95d479851
00b6a86c-8034-11f1-9f25-4cf95d479851
00b6a8c6-8034-11f1-9f25-4cf95d479851
00b6a934-8034-11f1-9f25-4cf95d479851
00b6a9a2-8034-11f1-9f25-4cf95d479851
00b6aa10-8034-11f1-9f25-4cf95d479851
00b6aa74-8034-11f1-9f25-4cf95d479851
00b6aae2-8034-11f1-9f25-4cf95d479851
00b6ab46-8034-11f1-9f25-4cf95d479851
00b6abb4-8034-11f1-9f25-4cf95d479851
00b6ac22-8034-11f1-9f25-4cf95d479851
00b6ac86-8034-11f1-9f25-4cf95d479851
00b6acea-8034-11f1-9f25-4cf95d479851
00b6ad4e-8034-11f1-9f25-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)

ce5b621a-5902-840c-87ea-5ce32bd83b97
d1b4631a-5902-840c-87ea-5ce32bd83b97
36f2641a-5902-840c-87ea-5ce32bd83b97
9d0d651a-5902-840c-87ea-5ce32bd83b97
d349661a-5902-840c-87ea-5ce32bd83b97
bb7d671a-5902-840c-87ea-5ce32bd83b97
abe0681a-5902-840c-87ea-5ce32bd83b97
d09b691a-5902-840c-87ea-5ce32bd83b97
96b26a1a-5902-840c-87ea-5ce32bd83b97
b00e6b1a-5902-840c-87ea-5ce32bd83b97
468d6c1a-5902-840c-87ea-5ce32bd83b97
4ef06d1a-5902-840c-87ea-5ce32bd83b97
79e66e1a-5902-840c-87ea-5ce32bd83b97
53a76f1a-5902-840c-87ea-5ce32bd83b97
a0eb701a-5902-840c-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)

4ebcac02-1a32-4475-ac50-106c12151fdd
8fc0433b-e379-4a3e-b7d4-96eb822da139
4b06bff6-1166-4a10-917c-f227fc9d1267
9e17277a-2ade-4f98-91fd-372f733c374b
338771c9-a722-4db6-9c49-5c6fececc4b5
ac921376-cfb4-42b8-a3f9-2f0ae0fd52aa
534712f3-bb26-462a-bc06-2ad65d72c005
7b83cadd-f02d-4a04-8f7f-d0187b550067
1ebf341a-0fbe-4ea0-afaa-914c2af1f14e
73bf68ba-7828-4865-accb-9624d323df6e
2c624686-d912-413e-8cae-9945c5959029
1b4fdb60-8365-486d-ba30-cecca8b5f037
d26bce31-e530-44e6-93b3-17c906a9f887
0f949cb3-7d2c-45b8-b6e8-60ff40c77b15
4ef5d2c6-adfc-412c-9bf4-935a7704dd6c

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: