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)

019bc420-1136-71a2-bd02-3d5bf3c24017
019bc420-1136-7330-8aab-ed5e5ba45f76
019bc420-1136-746f-9956-08f258b7f389
019bc420-1136-758e-a226-2fb47a16f694
019bc420-1136-76a8-a752-998068dc9adf
019bc420-1136-77bf-b1d9-f30e901518db
019bc420-1136-78d5-b402-551df5920bea
019bc420-1136-79ec-80f9-c9b2a4d436f3
019bc420-1136-7b03-aa68-d2004d6572f5
019bc420-1136-7c19-bbf2-a06f0b809f24
019bc420-1136-7d2c-9156-7123f333d79e
019bc420-1136-7e42-8cec-7c1947110fc8
019bc420-1136-7f59-bc02-9b4ca1942436
019bc420-1137-706f-9caf-78abb85f5d5b
019bc420-1137-7186-aeff-0af5f2a3cb96

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)

1f0f26f3-821b-6bd2-9780-4cf95d479851
1f0f26f3-821b-6d58-9780-4cf95d479851
1f0f26f3-821b-6e34-9780-4cf95d479851
1f0f26f3-821b-6f06-9780-4cf95d479851
1f0f26f3-821b-6fce-9780-4cf95d479851
1f0f26f3-821c-6096-9780-4cf95d479851
1f0f26f3-821c-6154-9780-4cf95d479851
1f0f26f3-821c-621c-9780-4cf95d479851
1f0f26f3-821c-62da-9780-4cf95d479851
1f0f26f3-821c-6398-9780-4cf95d479851
1f0f26f3-821c-650a-9780-4cf95d479851
1f0f26f3-821c-6686-9780-4cf95d479851
1f0f26f3-821c-678a-9780-4cf95d479851
1f0f26f3-821c-6852-9780-4cf95d479851
1f0f26f3-821c-6910-9780-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)

11b9a323-987d-4a00-9192-050e822e7265
1b63b432-639c-4fff-9ca8-4266bb3184db
cac92c75-8556-4231-a59f-8fc202dec467
d9e61e1b-c041-4c6f-9418-684f603282f5
180c71d5-60c5-49b6-b180-db734de53f08
6ba36931-3020-4f42-ae84-5fa019eec0c8
e5205343-b364-4be5-8b8c-5cd8bceb3808
6ee71013-0110-4911-bbd6-172939a94cca
72753608-231d-45b0-a716-17748288ebe3
f3abbd5c-ff4f-4642-8839-2d1d6def6e2a
14cf17b2-b026-47bd-88c2-7b698a2e42d1
cde4e295-0e55-4ddc-a919-11f983efc798
50e411d6-f65f-4197-9f60-c6ad098bfad7
b96d264f-9c83-4143-bc2e-11672f3cfef3
552fce38-53f1-40e8-b64c-ce365ed6a7fc

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)

3821ce2e-f26f-11f0-9780-4cf95d479851
3821ce9c-f26f-11f0-9780-4cf95d479851
3821cef6-f26f-11f0-9780-4cf95d479851
3821cf50-f26f-11f0-9780-4cf95d479851
3821cfaa-f26f-11f0-9780-4cf95d479851
3821d00e-f26f-11f0-9780-4cf95d479851
3821d068-f26f-11f0-9780-4cf95d479851
3821d0c2-f26f-11f0-9780-4cf95d479851
3821d126-f26f-11f0-9780-4cf95d479851
3821d18a-f26f-11f0-9780-4cf95d479851
3821d1ee-f26f-11f0-9780-4cf95d479851
3821d248-f26f-11f0-9780-4cf95d479851
3821d2a2-f26f-11f0-9780-4cf95d479851
3821d306-f26f-11f0-9780-4cf95d479851
3821d360-f26f-11f0-9780-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)

2ded8d22-0700-8001-87ea-5ce32bd83b97
95ee8e22-0700-8001-87ea-5ce32bd83b97
a8fc8f22-0700-8001-87ea-5ce32bd83b97
40bb9022-0700-8001-87ea-5ce32bd83b97
73e39122-0700-8001-87ea-5ce32bd83b97
06899222-0700-8001-87ea-5ce32bd83b97
3ffe9322-0700-8001-87ea-5ce32bd83b97
dba99422-0700-8001-87ea-5ce32bd83b97
7da69522-0700-8001-87ea-5ce32bd83b97
16839622-0700-8001-87ea-5ce32bd83b97
e5f09722-0700-8001-87ea-5ce32bd83b97
0cd99822-0700-8001-87ea-5ce32bd83b97
8f049922-0700-8001-87ea-5ce32bd83b97
49029a22-0700-8001-87ea-5ce32bd83b97
a5339b22-0700-8001-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: