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)

019fc48e-ff21-70d1-8254-8743ae5f30eb
019fc48e-ff22-728c-950d-ec1fec14ebee
019fc48e-ff22-73cb-9acc-44dc2352dd4a
019fc48e-ff22-74e6-b760-a09462bb47ea
019fc48e-ff22-7605-9491-eebcc8eb676d
019fc48e-ff22-7717-aa78-84172117ce50
019fc48e-ff22-77f4-8c77-934bcadf5c20
019fc48e-ff22-7917-aecc-cf1088959ee7
019fc48e-ff22-7a29-b2f0-c9f1ecf0b5ee
019fc48e-ff22-7b40-a1b8-25edc820512d
019fc48e-ff22-7c57-bfc6-e34f179f1643
019fc48e-ff22-7d6d-ac65-e61564142620
019fc48e-ff22-7e7f-b2b0-3564b55691d0
019fc48e-ff22-7f92-aac4-b6d76e9087b3
019fc48e-ff23-70a4-902a-cc72a88746a4

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)

1f18ec02-54f8-6f0a-81cb-4cf95d479851
1f18ec02-54f9-60c2-81cb-4cf95d479851
1f18ec02-54f9-61b2-81cb-4cf95d479851
1f18ec02-54f9-6284-81cb-4cf95d479851
1f18ec02-54f9-6356-81cb-4cf95d479851
1f18ec02-54f9-641e-81cb-4cf95d479851
1f18ec02-54f9-64e6-81cb-4cf95d479851
1f18ec02-54f9-65ae-81cb-4cf95d479851
1f18ec02-54f9-6676-81cb-4cf95d479851
1f18ec02-54f9-6734-81cb-4cf95d479851
1f18ec02-54f9-687e-81cb-4cf95d479851
1f18ec02-54f9-695a-81cb-4cf95d479851
1f18ec02-54f9-6a22-81cb-4cf95d479851
1f18ec02-54f9-6aea-81cb-4cf95d479851
1f18ec02-54f9-6bb2-81cb-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)

254f9c8e-8ec0-11f1-81cb-4cf95d479851
254f9cf2-8ec0-11f1-81cb-4cf95d479851
254f9d56-8ec0-11f1-81cb-4cf95d479851
254f9dba-8ec0-11f1-81cb-4cf95d479851
254f9e1e-8ec0-11f1-81cb-4cf95d479851
254f9e82-8ec0-11f1-81cb-4cf95d479851
254f9ee6-8ec0-11f1-81cb-4cf95d479851
254f9f4a-8ec0-11f1-81cb-4cf95d479851
254f9fae-8ec0-11f1-81cb-4cf95d479851
254fa008-8ec0-11f1-81cb-4cf95d479851
254fa076-8ec0-11f1-81cb-4cf95d479851
254fa0da-8ec0-11f1-81cb-4cf95d479851
254fa13e-8ec0-11f1-81cb-4cf95d479851
254fa1ac-8ec0-11f1-81cb-4cf95d479851
254fa21a-8ec0-11f1-81cb-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)

806c9a35-3b05-860d-87ea-5ce32bd83b97
555a9b35-3b05-860d-87ea-5ce32bd83b97
d4de9c35-3b05-860d-87ea-5ce32bd83b97
dacb9d35-3b05-860d-87ea-5ce32bd83b97
870c9e35-3b05-860d-87ea-5ce32bd83b97
bd429f35-3b05-860d-87ea-5ce32bd83b97
45eba035-3b05-860d-87ea-5ce32bd83b97
f532a135-3b05-860d-87ea-5ce32bd83b97
34e9a235-3b05-860d-87ea-5ce32bd83b97
e144a335-3b05-860d-87ea-5ce32bd83b97
9e19a435-3b05-860d-87ea-5ce32bd83b97
9a32a535-3b05-860d-87ea-5ce32bd83b97
e75ba635-3b05-860d-87ea-5ce32bd83b97
375ca735-3b05-860d-87ea-5ce32bd83b97
14b0a835-3b05-860d-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)

9b4b0497-31b9-4bbb-90d5-9d79a4b66663
0b10d984-b111-4fd5-8431-c20da2963b01
678c5de6-62d9-4568-875e-1a43859679c4
3b7ff6ba-61aa-40d2-a141-b0aacef6df52
e1db6f7f-cd27-47cd-b301-1cc66b46bc37
4ef3ce44-06a3-4c0f-9625-3b79027f61a9
97e565b1-a6fd-4465-bc3d-f7a698eab8c3
62a07af0-8939-4139-9485-8d66222a1f5a
825ec3cc-9352-4929-8afa-3162138abfb1
9c8b50da-b110-4db8-9d76-a87ec92187e3
92faaceb-c2b1-4464-a8e4-f6193759a9cf
cadc060a-971d-40d0-8946-2a63deea2c2a
81aace1e-6420-4258-81a6-810e10d1b718
68afe89a-be31-495a-bcaf-451714a5826f
26519015-5f52-4755-a615-dd5899eb0264

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: