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)

019a87a8-ad68-7f2c-94a9-51ec2d3bb33b
019a87a8-ad69-713c-bb1b-267a9971e1e7
019a87a8-ad69-72de-98f9-24682746d690
019a87a8-ad69-7442-b476-94cde2b1d46e
019a87a8-ad69-7596-9ec6-650bc4b25340
019a87a8-ad69-76ee-80f3-9f90f63a018d
019a87a8-ad69-783a-9eb1-fa6008e8b9b1
019a87a8-ad69-7982-b85b-74ea8c439635
019a87a8-ad69-7ac9-bff9-a4ae107b6a7c
019a87a8-ad69-7c09-ac46-9c6099b3f1e2
019a87a8-ad69-7d54-b530-c8e16eaca8ec
019a87a8-ad69-7e98-97e2-06399bac99a7
019a87a8-ad69-7fe0-9aa2-3d3a2b5a9499
019a87a8-ad6a-7127-908f-b969832fab99
019a87a8-ad6a-726f-8c02-c6089ebbcb0a

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)

1f0c2254-0774-6736-a884-4cf95d479851
1f0c2254-0774-69c0-a884-4cf95d479851
1f0c2254-0774-6b64-a884-4cf95d479851
1f0c2254-0774-6cd6-a884-4cf95d479851
1f0c2254-0774-6e48-a884-4cf95d479851
1f0c2254-0774-6f9c-a884-4cf95d479851
1f0c2254-0775-6104-a884-4cf95d479851
1f0c2254-0775-6302-a884-4cf95d479851
1f0c2254-0775-6488-a884-4cf95d479851
1f0c2254-0775-65e6-a884-4cf95d479851
1f0c2254-0775-682a-a884-4cf95d479851
1f0c2254-0775-69ce-a884-4cf95d479851
1f0c2254-0775-6b54-a884-4cf95d479851
1f0c2254-0775-6cd0-a884-4cf95d479851
1f0c2254-0775-6e42-a884-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)

75f8b43f-a184-4aac-912b-fe14a88cf36a
fdb81e0e-c600-4a81-a34c-344b85325b5c
cdd39677-3d55-4c9e-a631-70a30d9b7da9
69163469-3391-43c5-bb1b-0f3797d32e6a
860ed9ae-371b-4ca7-b060-15112f41443f
6882866e-2141-4608-8aeb-98774b3fd46a
a2bb0b2a-858b-4d87-b750-227f14d04f3a
cb43204f-33b2-4976-9b0e-da8b0dbfa49a
f9d0aacd-e746-46ae-9197-c10a9e3feedc
8949efc4-eafb-45ae-8c52-92e62b0c7359
951209a1-35b5-4373-bcc5-6717a9d73ea3
1fc7d407-b22e-4398-a9b3-931c6116ef3f
fbe96c74-2e4b-440d-84da-aab42e7270ba
4fa34c36-c441-4fb9-a971-61615812c35a
605d3c3e-f12c-43ec-8c70-603ef3a02e2f

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)

407765cc-c225-11f0-a884-4cf95d479851
40776676-c225-11f0-a884-4cf95d479851
4077670c-c225-11f0-a884-4cf95d479851
407767b6-c225-11f0-a884-4cf95d479851
40776856-c225-11f0-a884-4cf95d479851
407768f6-c225-11f0-a884-4cf95d479851
40776996-c225-11f0-a884-4cf95d479851
40776a2c-c225-11f0-a884-4cf95d479851
40776acc-c225-11f0-a884-4cf95d479851
40776b62-c225-11f0-a884-4cf95d479851
40776c02-c225-11f0-a884-4cf95d479851
40776ca2-c225-11f0-a884-4cf95d479851
40776d42-c225-11f0-a884-4cf95d479851
40776de2-c225-11f0-a884-4cf95d479851
40776e82-c225-11f0-a884-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)

0b34f609-1d03-8f13-87e9-5ce32bd83b97
c5cdf709-1d03-8f13-87e9-5ce32bd83b97
5c8cf809-1d03-8f13-87e9-5ce32bd83b97
5c64f909-1d03-8f13-87e9-5ce32bd83b97
c5c4fa09-1d03-8f13-87e9-5ce32bd83b97
c0fcfb09-1d03-8f13-87e9-5ce32bd83b97
b2bbfc09-1d03-8f13-87e9-5ce32bd83b97
0413fd09-1d03-8f13-87e9-5ce32bd83b97
7cd9fe09-1d03-8f13-87e9-5ce32bd83b97
dbc7000a-1d03-8f13-87e9-5ce32bd83b97
e67a010a-1d03-8f13-87e9-5ce32bd83b97
6cbc020a-1d03-8f13-87e9-5ce32bd83b97
73e4030a-1d03-8f13-87e9-5ce32bd83b97
f4e6040a-1d03-8f13-87e9-5ce32bd83b97
5c76050a-1d03-8f13-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: