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)

019ad4e6-43fe-78a4-a389-67b991d2e2bf
019ad4e6-43fe-7a3a-aa48-4d489cf99439
019ad4e6-43fe-7bbb-8ee4-448e4d8f0000
019ad4e6-43fe-7cfa-b2e2-8fd73e3cf3d7
019ad4e6-43fe-7e19-ace2-bae9a6ade01b
019ad4e6-43fe-7f34-80b9-845ead31ef22
019ad4e6-43ff-704e-9c91-80f7179c9079
019ad4e6-43ff-7169-9b3a-6ad414d52114
019ad4e6-43ff-7284-9e40-af63cdf5cddf
019ad4e6-43ff-73a2-ab32-51d0d8c941dd
019ad4e6-43ff-74bd-9ec0-914ea1454e86
019ad4e6-43ff-75d3-890f-5d2806dc2f96
019ad4e6-43ff-76ee-b5ff-2e184117d096
019ad4e6-43ff-7809-8196-4572729d6677
019ad4e6-43ff-7923-b378-a6b51daa6a76

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)

1f0cdee7-6417-633a-92e2-4cf95d479851
1f0cdee7-6417-64d4-92e2-4cf95d479851
1f0cdee7-6417-65c4-92e2-4cf95d479851
1f0cdee7-6417-6d8a-92e2-4cf95d479851
1f0cdee7-6417-6e52-92e2-4cf95d479851
1f0cdee7-6417-6f1a-92e2-4cf95d479851
1f0cdee7-6417-6fe2-92e2-4cf95d479851
1f0cdee7-6418-6096-92e2-4cf95d479851
1f0cdee7-6418-6154-92e2-4cf95d479851
1f0cdee7-6418-621c-92e2-4cf95d479851
1f0cdee7-6418-635c-92e2-4cf95d479851
1f0cdee7-6418-642e-92e2-4cf95d479851
1f0cdee7-6418-64ec-92e2-4cf95d479851
1f0cdee7-6418-65aa-92e2-4cf95d479851
1f0cdee7-6418-6668-92e2-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)

4f8c9cee-a5b1-4b2e-8537-a62babf1975f
ea689d4f-83f0-4d6b-b0bf-f1874726c44f
2dcd1558-63e1-4d89-9727-d0691b5dbe05
76232110-d289-4e0d-b6ea-06dfef9aadfa
7e80c7c9-db12-4286-9c78-91c69e53c956
3a6f62dd-33cd-49cf-9ca3-e4c34a2f7ec9
e7bec712-0975-4b2d-b30a-292272fa9d4c
4ecac8b3-1c84-4458-9e71-e90954ccde11
d6234b3a-ffe1-4280-9ca9-0aa35a35c210
1f04c4fe-984c-436c-bf27-35929fb513df
e2169593-8770-4355-9db4-397d99ad8e21
e3dcd5e9-7acc-4a6c-a1e1-1c4820d574f4
52c55a40-353f-4a7f-9fd4-317ba05eeb6d
94b14890-cf1e-4d05-963f-db1f7acc5a7a
ddfcd30e-1d97-4af6-b64c-4e599a65fd9a

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)

76418b9a-cdee-11f0-92e2-4cf95d479851
76418bf4-cdee-11f0-92e2-4cf95d479851
76418c58-cdee-11f0-92e2-4cf95d479851
76418cbc-cdee-11f0-92e2-4cf95d479851
76418d20-cdee-11f0-92e2-4cf95d479851
76418d84-cdee-11f0-92e2-4cf95d479851
76418dde-cdee-11f0-92e2-4cf95d479851
76418e42-cdee-11f0-92e2-4cf95d479851
76418ea6-cdee-11f0-92e2-4cf95d479851
76418f14-cdee-11f0-92e2-4cf95d479851
76418f6e-cdee-11f0-92e2-4cf95d479851
76418fc8-cdee-11f0-92e2-4cf95d479851
7641902c-cdee-11f0-92e2-4cf95d479851
76419090-cdee-11f0-92e2-4cf95d479851
764190ea-cdee-11f0-92e2-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)

8604d60b-1b03-8e14-87e9-5ce32bd83b97
a3bfd70b-1b03-8e14-87e9-5ce32bd83b97
f0f6d80b-1b03-8e14-87e9-5ce32bd83b97
02a8d90b-1b03-8e14-87e9-5ce32bd83b97
c9e7da0b-1b03-8e14-87e9-5ce32bd83b97
6c29dc0b-1b03-8e14-87e9-5ce32bd83b97
4384dd0b-1b03-8e14-87e9-5ce32bd83b97
877dde0b-1b03-8e14-87e9-5ce32bd83b97
6346df0b-1b03-8e14-87e9-5ce32bd83b97
ae20e00b-1b03-8e14-87e9-5ce32bd83b97
c802e10b-1b03-8e14-87e9-5ce32bd83b97
4729e20b-1b03-8e14-87e9-5ce32bd83b97
cdd1e30b-1b03-8e14-87e9-5ce32bd83b97
8442e40b-1b03-8e14-87e9-5ce32bd83b97
9496e50b-1b03-8e14-87e9-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

An 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

An UUIDv3 is made out of a MD5 hash and an 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: