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)

019ddc67-1cf6-72bd-819b-e75633884404
019ddc67-1cf6-7467-8df6-c9ade4d5ea78
019ddc67-1cf6-75a6-a386-df120deedf15
019ddc67-1cf6-76c9-88ae-77d55c91179b
019ddc67-1cf6-77e4-aeb7-cd1674747660
019ddc67-1cf6-78fe-91da-069cd1c3b351
019ddc67-1cf6-7a15-8622-ea095f4cd8cd
019ddc67-1cf6-7b30-991e-e004edcbb84d
019ddc67-1cf6-7c46-9044-aa919985f5c4
019ddc67-1cf6-7d61-ad53-75d0fb0a1908
019ddc67-1cf6-7e77-97e8-0c71095baad8
019ddc67-1cf6-7f92-aa1e-a8b542952bb6
019ddc67-1cf7-70a8-bf71-145654de5e0c
019ddc67-1cf7-71bf-b07c-689443e8676d
019ddc67-1cf7-72d5-b059-e3ab679308fc

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)

1f144438-f5cb-6da4-ac9c-4cf95d479851
1f144438-f5cb-6f5c-ac9c-4cf95d479851
1f144438-f5cc-604c-ac9c-4cf95d479851
1f144438-f5cc-6128-ac9c-4cf95d479851
1f144438-f5cc-6204-ac9c-4cf95d479851
1f144438-f5cc-62cc-ac9c-4cf95d479851
1f144438-f5cc-639e-ac9c-4cf95d479851
1f144438-f5cc-6470-ac9c-4cf95d479851
1f144438-f5cc-6538-ac9c-4cf95d479851
1f144438-f5cc-660a-ac9c-4cf95d479851
1f144438-f5cc-675e-ac9c-4cf95d479851
1f144438-f5cc-683a-ac9c-4cf95d479851
1f144438-f5cc-6902-ac9c-4cf95d479851
1f144438-f5cc-69f2-ac9c-4cf95d479851
1f144438-f5cc-6b50-ac9c-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)

c64f2d39-ebe9-49a3-b9a4-f7c2a7543fc0
302200be-580f-450b-8da6-a5506b2106cc
b6c1943a-ce3b-447a-b9e1-7799e7023b76
58ea8c5e-91a9-4481-b3d3-c9d7ed455bed
54e45238-274c-4e7b-a314-dc3cb3532e6c
2484a451-4308-478d-bc10-964698d00398
ccde0d9d-0ac0-44e3-bab0-fd5ed942650e
e80efb9a-ed2a-4448-8b9b-e765c125c551
e26a0e57-73a0-45f6-9aea-11dd5cc61ad3
bd75e62c-7b3a-4236-8000-c2c1ef7b083c
3a116840-18ec-407c-86ea-b54d94409767
8f1f51a7-8aac-4a94-afc8-270e70f3b8b8
5a06601a-18ad-4404-af37-460700732fe4
7e986fe8-e308-463f-b7d3-73940fa5f821
d3924032-2454-415c-8467-85328e0ec253

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)

8f5cd276-4443-11f1-ac9c-4cf95d479851
8f5cd32a-4443-11f1-ac9c-4cf95d479851
8f5cd3ca-4443-11f1-ac9c-4cf95d479851
8f5cd456-4443-11f1-ac9c-4cf95d479851
8f5cd4c4-4443-11f1-ac9c-4cf95d479851
8f5cd532-4443-11f1-ac9c-4cf95d479851
8f5cd5a0-4443-11f1-ac9c-4cf95d479851
8f5cd60e-4443-11f1-ac9c-4cf95d479851
8f5cd672-4443-11f1-ac9c-4cf95d479851
8f5cd6d6-4443-11f1-ac9c-4cf95d479851
8f5cd73a-4443-11f1-ac9c-4cf95d479851
8f5cd79e-4443-11f1-ac9c-4cf95d479851
8f5cd80c-4443-11f1-ac9c-4cf95d479851
8f5cd870-4443-11f1-ac9c-4cf95d479851
8f5cd8ca-4443-11f1-ac9c-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)

63866426-c900-8807-87ea-5ce32bd83b97
73126526-c900-8807-87ea-5ce32bd83b97
35cb6626-c900-8807-87ea-5ce32bd83b97
c2a56726-c900-8807-87ea-5ce32bd83b97
40d06826-c900-8807-87ea-5ce32bd83b97
ab6b6926-c900-8807-87ea-5ce32bd83b97
6d966a26-c900-8807-87ea-5ce32bd83b97
d6936b26-c900-8807-87ea-5ce32bd83b97
0a816c26-c900-8807-87ea-5ce32bd83b97
6b0e6d26-c900-8807-87ea-5ce32bd83b97
4ea76f26-c900-8807-87ea-5ce32bd83b97
1e0b7026-c900-8807-87ea-5ce32bd83b97
9fcb7126-c900-8807-87ea-5ce32bd83b97
712a7226-c900-8807-87ea-5ce32bd83b97
3d777326-c900-8807-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: