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)

019d9554-3638-7b61-83ba-e28249eabc07
019d9554-3638-7cea-b35f-35ffdcd6ca92
019d9554-3638-7e25-bb57-0b23352c69ce
019d9554-3638-7f48-8bb0-e260754da5d9
019d9554-3639-7063-aa8a-eee891484d8e
019d9554-3639-7179-a4d2-ac1250cd52c5
019d9554-3639-7290-932d-20ecb8fec4f3
019d9554-3639-73a6-a794-28dc53956f0f
019d9554-3639-74c1-83e7-7255b408ec6b
019d9554-3639-75d8-90aa-2ee0a013190e
019d9554-3639-76ee-b2a5-bb22d02d516d
019d9554-3639-7805-b04c-0c4ca7246fcc
019d9554-3639-791b-a332-9f1a9245e732
019d9554-3639-7a32-b26c-8f10aa7fceb0
019d9554-3639-7b48-9368-4c35255f8c48

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)

1f1396b3-d077-61e4-9c55-4cf95d479851
1f1396b3-d077-6360-9c55-4cf95d479851
1f1396b3-d077-6446-9c55-4cf95d479851
1f1396b3-d077-650e-9c55-4cf95d479851
1f1396b3-d077-65d6-9c55-4cf95d479851
1f1396b3-d077-6694-9c55-4cf95d479851
1f1396b3-d077-6752-9c55-4cf95d479851
1f1396b3-d077-6810-9c55-4cf95d479851
1f1396b3-d077-68c4-9c55-4cf95d479851
1f1396b3-d077-698c-9c55-4cf95d479851
1f1396b3-d077-6ab8-9c55-4cf95d479851
1f1396b3-d077-6b8a-9c55-4cf95d479851
1f1396b3-d077-6c3e-9c55-4cf95d479851
1f1396b3-d077-6d10-9c55-4cf95d479851
1f1396b3-d077-6dce-9c55-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)

c72caa57-7832-4f4b-a389-4b654eaca864
f482c990-1d6c-4c07-8770-54896f6ad957
90ceeac4-545a-4b3c-8dca-8bf80b7232c2
86af89b8-9f2a-4abb-b236-4233e7b814e3
86d5efd4-347b-4e72-8c1c-a06e5fc6638a
1497dcd8-0020-4348-9354-917d12a2a568
059be283-f391-4005-98db-20e3fc5df40d
9f1600b6-e217-4b30-929d-b9475fc9f624
dc74156c-8ff2-4899-acf8-08d037aa6f61
6c339bbc-5f9f-4ea8-9fd4-84569f25ee99
176b7ec1-6c53-4e63-b676-d08745269af8
8a5cdc42-c5d4-4149-a611-96144db9b8d7
7b8aa6ab-6bb6-41a6-9321-c2f1d7f03688
f17d3cdc-eca2-43a1-9c15-f1635b84dca2
ff00c52c-b33a-41d7-bc5c-2d195de3a491

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)

3d07835a-396b-11f1-9c55-4cf95d479851
3d0783c8-396b-11f1-9c55-4cf95d479851
3d07842c-396b-11f1-9c55-4cf95d479851
3d07849a-396b-11f1-9c55-4cf95d479851
3d0784fe-396b-11f1-9c55-4cf95d479851
3d078562-396b-11f1-9c55-4cf95d479851
3d0785c6-396b-11f1-9c55-4cf95d479851
3d07862a-396b-11f1-9c55-4cf95d479851
3d07868e-396b-11f1-9c55-4cf95d479851
3d0786f2-396b-11f1-9c55-4cf95d479851
3d078760-396b-11f1-9c55-4cf95d479851
3d0787ce-396b-11f1-9c55-4cf95d479851
3d07883c-396b-11f1-9c55-4cf95d479851
3d0788aa-396b-11f1-9c55-4cf95d479851
3d078904-396b-11f1-9c55-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)

d8ad5639-e701-8a06-87ea-5ce32bd83b97
034d5739-e701-8a06-87ea-5ce32bd83b97
29cb5839-e701-8a06-87ea-5ce32bd83b97
49c65939-e701-8a06-87ea-5ce32bd83b97
d55e5a39-e701-8a06-87ea-5ce32bd83b97
c5c65b39-e701-8a06-87ea-5ce32bd83b97
e3e25d39-e701-8a06-87ea-5ce32bd83b97
b7b65e39-e701-8a06-87ea-5ce32bd83b97
e65e5f39-e701-8a06-87ea-5ce32bd83b97
55d96039-e701-8a06-87ea-5ce32bd83b97
43416139-e701-8a06-87ea-5ce32bd83b97
d7fa6239-e701-8a06-87ea-5ce32bd83b97
947d6339-e701-8a06-87ea-5ce32bd83b97
765e6439-e701-8a06-87ea-5ce32bd83b97
655b6539-e701-8a06-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: