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)

019fd98a-9354-7490-9d6c-3f69d2459130
019fd98a-9354-762e-a65a-c35b3f9a5ea2
019fd98a-9354-7769-98ad-3fdf2118277f
019fd98a-9354-787f-8be7-160ab2960ea8
019fd98a-9354-7996-808e-9fb1026c162f
019fd98a-9354-7aa8-94a4-09bfc0cce6a1
019fd98a-9354-7bbb-aa8d-dfd436730ecb
019fd98a-9354-7ccd-805e-f438c8fb9731
019fd98a-9354-7de0-bd5e-22e77a66b536
019fd98a-9354-7ef2-89f5-06295b9954dd
019fd98a-9354-7005-ae38-db1cab7547c8
019fd98a-9355-7117-a4ed-ee0f5b9eab60
019fd98a-9355-7229-a46f-2d1cce1782ab
019fd98a-9355-7340-b03e-06b6c9ac24bc
019fd98a-9355-7452-b16b-c5d6ba2c0336

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)

1f191f3c-89c7-66f6-991a-4cf95d479851
1f191f3c-89c7-68a4-991a-4cf95d479851
1f191f3c-89c7-698a-991a-4cf95d479851
1f191f3c-89c7-6a5c-991a-4cf95d479851
1f191f3c-89c7-6b2e-991a-4cf95d479851
1f191f3c-89c7-6bec-991a-4cf95d479851
1f191f3c-89c7-6cbe-991a-4cf95d479851
1f191f3c-89c7-6d86-991a-4cf95d479851
1f191f3c-89c7-6e44-991a-4cf95d479851
1f191f3c-89c7-6f02-991a-4cf95d479851
1f191f3c-89c8-6074-991a-4cf95d479851
1f191f3c-89c8-6150-991a-4cf95d479851
1f191f3c-89c8-6222-991a-4cf95d479851
1f191f3c-89c8-62e0-991a-4cf95d479851
1f191f3c-89c8-63a8-991a-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)

c89c847a-91f3-11f1-991a-4cf95d479851
c89c84e8-91f3-11f1-991a-4cf95d479851
c89c854c-91f3-11f1-991a-4cf95d479851
c89c85b0-91f3-11f1-991a-4cf95d479851
c89c8614-91f3-11f1-991a-4cf95d479851
c89c8678-91f3-11f1-991a-4cf95d479851
c89c86dc-91f3-11f1-991a-4cf95d479851
c89c8736-91f3-11f1-991a-4cf95d479851
c89c879a-91f3-11f1-991a-4cf95d479851
c89c87f4-91f3-11f1-991a-4cf95d479851
c89c8858-91f3-11f1-991a-4cf95d479851
c89c88bc-91f3-11f1-991a-4cf95d479851
c89c8920-91f3-11f1-991a-4cf95d479851
c89c8984-91f3-11f1-991a-4cf95d479851
c89c89e8-91f3-11f1-991a-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)

3e786505-0700-8b0d-87ea-5ce32bd83b97
4fda6705-0700-8b0d-87ea-5ce32bd83b97
75ed6805-0700-8b0d-87ea-5ce32bd83b97
d0e56905-0700-8b0d-87ea-5ce32bd83b97
b14c6a05-0700-8b0d-87ea-5ce32bd83b97
a7d36b05-0700-8b0d-87ea-5ce32bd83b97
66096c05-0700-8b0d-87ea-5ce32bd83b97
8ce46d05-0700-8b0d-87ea-5ce32bd83b97
0f006e05-0700-8b0d-87ea-5ce32bd83b97
c2046f05-0700-8b0d-87ea-5ce32bd83b97
29e47005-0700-8b0d-87ea-5ce32bd83b97
5ac17105-0700-8b0d-87ea-5ce32bd83b97
744a7205-0700-8b0d-87ea-5ce32bd83b97
55d77305-0700-8b0d-87ea-5ce32bd83b97
89e77405-0700-8b0d-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)

9c5e5d67-72aa-46c8-842c-55496546e358
127d828c-0bc5-45b7-8dc5-a8599d1e3235
adf8a25a-89c4-45f2-a9d2-fd7ffa4a3b2a
b4fc1b64-639d-4a88-ab82-8e971fe4ed86
793be92b-7db0-4c9b-8bef-33b9c7a4d92a
00b115c4-76f1-4ce6-a371-fac5c42d8842
b1ab7c1e-7fea-43a9-9d27-ab9be416cdf0
60073c00-82d7-4c03-97e7-024190652a65
2649f670-8479-44e1-afe5-fd95a0e208c3
2e0d6296-eb03-4874-b4ea-8546e1065235
d6cfcbb9-d353-4a0c-90d6-48db9f4a0c10
021d3202-e8f3-4de1-bcf7-b625d7594522
6d032045-f11e-4afe-a79c-bc50359bd49c
5bb5f360-62e6-4aac-b0bd-13dc0be2ec03
9189e221-5c1a-4531-9276-1f56b502a49e

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: