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)

019d8fdd-b071-77c3-9570-6dd7a79002f1
019d8fdd-b071-79d8-9359-b4fd09e3452f
019d8fdd-b071-7b1f-a591-6f5b5d1ffc22
019d8fdd-b071-7c46-b0eb-4eb8f7f2c4da
019d8fdd-b071-7d65-a2b6-5a5ebe2a2092
019d8fdd-b071-7e84-8424-03b045fbf04d
019d8fdd-b071-7f9e-822c-9a01bfbaebf9
019d8fdd-b072-70bd-8426-2b77d024159e
019d8fdd-b072-71dc-8f80-088d2b148431
019d8fdd-b072-72fa-adee-562de047650f
019d8fdd-b072-7415-989f-7be29fbb9392
019d8fdd-b072-7534-8463-8b0cd977e2c4
019d8fdd-b072-764e-8bc5-3a08e893727a
019d8fdd-b072-776d-ba9a-b1bc53416d58
019d8fdd-b072-788c-9233-18940c667d20

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)

1f13895d-73db-6e0c-ba47-4cf95d479851
1f13895d-73db-6fa6-ba47-4cf95d479851
1f13895d-73dc-608c-ba47-4cf95d479851
1f13895d-73dc-6154-ba47-4cf95d479851
1f13895d-73dc-621c-ba47-4cf95d479851
1f13895d-73dc-62da-ba47-4cf95d479851
1f13895d-73dc-6398-ba47-4cf95d479851
1f13895d-73dc-6456-ba47-4cf95d479851
1f13895d-73dc-6514-ba47-4cf95d479851
1f13895d-73dc-65d2-ba47-4cf95d479851
1f13895d-73dc-6762-ba47-4cf95d479851
1f13895d-73dc-68d4-ba47-4cf95d479851
1f13895d-73dc-6a0a-ba47-4cf95d479851
1f13895d-73dc-6ac8-ba47-4cf95d479851
1f13895d-73dc-6b86-ba47-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)

818816cf-125a-4db7-b7e3-bc9cfe2a096b
7a232f8d-bf6e-4b96-a88f-e5dc0e64c9a3
58269693-45c0-47e4-9732-fd4f70653d2f
9f66cd1e-ab15-4c6c-92c6-298ac06fd676
6f78e2df-27a0-49f7-acbc-15cd7217bea7
4e04eefc-b0c2-4d9c-8247-a781471b217f
b8df8dc7-d4f2-455a-928c-ae5295d39ade
e4292906-5862-49b6-a454-16686fb435fe
65740486-96d1-4491-a60a-80e099519948
c74d5e61-37cc-4b7d-a11b-79e28df333ce
98efba3d-d584-47ef-b293-79e23ae6aa1e
a1074fc3-5c57-486f-b536-2ba731f36006
fa748c1b-bec5-4729-9dc1-44087a37e289
0835e789-7897-4ad8-bad5-f47c37f84bc3
83e573af-a1aa-49dc-842c-0635398ecaee

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)

d73dd0b8-3895-11f1-ba47-4cf95d479851
d73dd126-3895-11f1-ba47-4cf95d479851
d73dd18a-3895-11f1-ba47-4cf95d479851
d73dd1e4-3895-11f1-ba47-4cf95d479851
d73dd23e-3895-11f1-ba47-4cf95d479851
d73dd2a2-3895-11f1-ba47-4cf95d479851
d73dd306-3895-11f1-ba47-4cf95d479851
d73dd360-3895-11f1-ba47-4cf95d479851
d73dd3c4-3895-11f1-ba47-4cf95d479851
d73dd428-3895-11f1-ba47-4cf95d479851
d73dd482-3895-11f1-ba47-4cf95d479851
d73dd4dc-3895-11f1-ba47-4cf95d479851
d73dd536-3895-11f1-ba47-4cf95d479851
d73dd590-3895-11f1-ba47-4cf95d479851
d73dd5ea-3895-11f1-ba47-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)

0808c317-9001-8906-87ea-5ce32bd83b97
5785c417-9001-8906-87ea-5ce32bd83b97
fb3fc517-9001-8906-87ea-5ce32bd83b97
8607c617-9001-8906-87ea-5ce32bd83b97
eee0c717-9001-8906-87ea-5ce32bd83b97
bb71c817-9001-8906-87ea-5ce32bd83b97
794dc917-9001-8906-87ea-5ce32bd83b97
7335ca17-9001-8906-87ea-5ce32bd83b97
9ea6cb17-9001-8906-87ea-5ce32bd83b97
0d84cc17-9001-8906-87ea-5ce32bd83b97
ff60cd17-9001-8906-87ea-5ce32bd83b97
f11ece17-9001-8906-87ea-5ce32bd83b97
f19dcf17-9001-8906-87ea-5ce32bd83b97
b1dcd017-9001-8906-87ea-5ce32bd83b97
9abdd117-9001-8906-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: