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)

019f7a1b-620e-7acd-8e5b-0215eb1b4977
019f7a1b-620e-7c6f-83b6-b435359c3e72
019f7a1b-620e-7da6-9ea7-ef229d60ea80
019f7a1b-620e-7ebd-843a-22afeb7e6b22
019f7a1b-620e-7fd3-bb6a-bc4b21a458c3
019f7a1b-620f-70ea-a2b5-9be26b52f259
019f7a1b-620f-7200-ad1a-bd8dab1d3539
019f7a1b-620f-7313-aa55-43288aa93feb
019f7a1b-620f-7425-b448-e64b7b8d12de
019f7a1b-620f-7538-a2fa-7221e62e14c2
019f7a1b-620f-7657-b57d-27554bd1e9e0
019f7a1b-620f-7769-b329-516ec81f55dd
019f7a1b-620f-787b-9bfd-95490094883b
019f7a1b-620f-798e-81fb-c754038945be
019f7a1b-620f-7aa4-a33f-2c94808a00db

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)

1f18363e-127c-693a-9b4f-4cf95d479851
1f18363e-127c-6afc-9b4f-4cf95d479851
1f18363e-127c-6bec-9b4f-4cf95d479851
1f18363e-127c-6cbe-9b4f-4cf95d479851
1f18363e-127c-6d86-9b4f-4cf95d479851
1f18363e-127c-6e4e-9b4f-4cf95d479851
1f18363e-127c-6f16-9b4f-4cf95d479851
1f18363e-127c-6fde-9b4f-4cf95d479851
1f18363e-127d-609c-9b4f-4cf95d479851
1f18363e-127d-6164-9b4f-4cf95d479851
1f18363e-127d-62b8-9b4f-4cf95d479851
1f18363e-127d-6394-9b4f-4cf95d479851
1f18363e-127d-645c-9b4f-4cf95d479851
1f18363e-127d-651a-9b4f-4cf95d479851
1f18363e-127d-65e2-9b4f-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)

e127d6b4-8363-11f1-9b4f-4cf95d479851
e127d718-8363-11f1-9b4f-4cf95d479851
e127d77c-8363-11f1-9b4f-4cf95d479851
e127d7e0-8363-11f1-9b4f-4cf95d479851
e127d844-8363-11f1-9b4f-4cf95d479851
e127d8a8-8363-11f1-9b4f-4cf95d479851
e127d902-8363-11f1-9b4f-4cf95d479851
e127d966-8363-11f1-9b4f-4cf95d479851
e127d9d4-8363-11f1-9b4f-4cf95d479851
e127da38-8363-11f1-9b4f-4cf95d479851
e127da9c-8363-11f1-9b4f-4cf95d479851
e127db00-8363-11f1-9b4f-4cf95d479851
e127db64-8363-11f1-9b4f-4cf95d479851
e127dbc8-8363-11f1-9b4f-4cf95d479851
e127dc2c-8363-11f1-9b4f-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)

e3ffc42a-a902-880c-87ea-5ce32bd83b97
d2c4c52a-a902-880c-87ea-5ce32bd83b97
eeccc62a-a902-880c-87ea-5ce32bd83b97
3e0dc72a-a902-880c-87ea-5ce32bd83b97
23acc82a-a902-880c-87ea-5ce32bd83b97
ccbac92a-a902-880c-87ea-5ce32bd83b97
e5f8ca2a-a902-880c-87ea-5ce32bd83b97
1568cb2a-a902-880c-87ea-5ce32bd83b97
bf05cc2a-a902-880c-87ea-5ce32bd83b97
91e4cd2a-a902-880c-87ea-5ce32bd83b97
8912cf2a-a902-880c-87ea-5ce32bd83b97
99d1d02a-a902-880c-87ea-5ce32bd83b97
fb74d12a-a902-880c-87ea-5ce32bd83b97
2c46d22a-a902-880c-87ea-5ce32bd83b97
6c33d32a-a902-880c-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)

5b1ac59d-8519-4117-9dfc-2a291798e618
771e9259-8be1-406f-a92e-1335f5f99297
b9dc3eed-7186-441a-85c2-acb57adedc2d
e4a566af-b896-47ce-a514-13150e47eeaa
a33f7308-c323-4132-aaf2-540dc1897479
3f572884-dec2-45ce-86f7-b1ed8c626c30
88d0e926-f3d7-419c-8274-f59537a89657
ad5f6299-2125-4b76-9c60-65c5d3b8b630
73f60a51-bc1b-43ee-9491-9f3d6a379cfa
35c93ed2-58cf-4acb-82eb-6e31c7e1e1d3
cd8b9fec-4e5f-4828-afe2-36cbf8eeaac5
4c9c26e5-e763-4200-8a40-294002250079
61909f58-01b9-496c-8616-6d48d450278b
0225fbbd-4370-4640-a2b4-4a9210eb8986
721a3c2e-06aa-47c8-b140-50a1b0f110e8

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: