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)

019fd455-7099-764a-ac82-9e6e43582c8b
019fd455-7099-77d3-93f2-cc39f57a11db
019fd455-7099-790f-88fe-4ef8e09d1705
019fd455-7099-7a29-8186-446ba3ef8e11
019fd455-7099-7b40-a111-526b9147718f
019fd455-7099-7c57-901a-3c394a74c3ad
019fd455-7099-7d6d-86a9-43e1bbbc5a87
019fd455-7099-7e84-abc8-2e8352ce47cd
019fd455-7099-7f9a-99eb-f57c37d06f59
019fd455-709a-70b1-8e7c-f8c32dab4a31
019fd455-709a-71c7-a3a5-4d29bfae2f42
019fd455-709a-72de-8371-76c658a8dc28
019fd455-709a-73f0-9c05-c018e2ab5c63
019fd455-709a-7507-bb85-dc1ea1693e9e
019fd455-709a-761d-95cf-58478879bc99

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)

1f191285-cffd-6256-a26c-4cf95d479851
1f191285-cffd-6486-a26c-4cf95d479851
1f191285-cffd-6576-a26c-4cf95d479851
1f191285-cffd-6648-a26c-4cf95d479851
1f191285-cffd-6710-a26c-4cf95d479851
1f191285-cffd-67d8-a26c-4cf95d479851
1f191285-cffd-6896-a26c-4cf95d479851
1f191285-cffd-6954-a26c-4cf95d479851
1f191285-cffd-6a1c-a26c-4cf95d479851
1f191285-cffd-6ada-a26c-4cf95d479851
1f191285-cffd-6c24-a26c-4cf95d479851
1f191285-cffd-6d00-a26c-4cf95d479851
1f191285-cffd-6dd2-a26c-4cf95d479851
1f191285-cffd-6e9a-a26c-4cf95d479851
1f191285-cffd-6f62-a26c-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)

5cffe034-9128-11f1-a26c-4cf95d479851
5cffe098-9128-11f1-a26c-4cf95d479851
5cffe0fc-9128-11f1-a26c-4cf95d479851
5cffe156-9128-11f1-a26c-4cf95d479851
5cffe1b0-9128-11f1-a26c-4cf95d479851
5cffe214-9128-11f1-a26c-4cf95d479851
5cffe26e-9128-11f1-a26c-4cf95d479851
5cffe2d2-9128-11f1-a26c-4cf95d479851
5cffe32c-9128-11f1-a26c-4cf95d479851
5cffe390-9128-11f1-a26c-4cf95d479851
5cffe3ea-9128-11f1-a26c-4cf95d479851
5cffe44e-9128-11f1-a26c-4cf95d479851
5cffe4b2-9128-11f1-a26c-4cf95d479851
5cffe520-9128-11f1-a26c-4cf95d479851
5cffe584-9128-11f1-a26c-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)

9fe40539-9605-890d-87ea-5ce32bd83b97
0cba0639-9605-890d-87ea-5ce32bd83b97
4d8a0739-9605-890d-87ea-5ce32bd83b97
e27b0839-9605-890d-87ea-5ce32bd83b97
d8f40939-9605-890d-87ea-5ce32bd83b97
47520a39-9605-890d-87ea-5ce32bd83b97
eca40b39-9605-890d-87ea-5ce32bd83b97
f91c0c39-9605-890d-87ea-5ce32bd83b97
d1290d39-9605-890d-87ea-5ce32bd83b97
e45c0e39-9605-890d-87ea-5ce32bd83b97
12d10f39-9605-890d-87ea-5ce32bd83b97
60a81039-9605-890d-87ea-5ce32bd83b97
39a11139-9605-890d-87ea-5ce32bd83b97
21931239-9605-890d-87ea-5ce32bd83b97
e6981339-9605-890d-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)

14c13260-1842-4267-9a03-b77dcc52e32e
8652cacc-4ca2-4b30-b386-4768f7005232
866546b6-280c-4e2c-b9e8-a24861b93412
507b92d0-239f-4091-9489-6f265b4cba84
a4a2c768-682a-49e8-b139-75db85f45c0b
6b8eaef2-4ca2-43c4-8293-eb7dc2a85d9b
948694be-9ef3-4cb4-947b-e7daa3bed317
95df8b3b-9210-40bc-b44b-39912394343b
03ff7336-9a3c-4d4d-8201-ef9b3971b769
90104696-c4a9-40f9-a925-e24bf9fa30ae
6f0466d4-f581-487f-b3be-6c7cac863919
07c0040e-d76f-4d2f-a523-31222d5f8ba3
4effc22c-39a7-425e-a563-39068ef520c0
c62a8428-2d5b-40c7-9b6b-b357c59bd40d
51eb8e3c-376e-4ee8-875a-6d64686965a2

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: