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)

0190286e-7376-7fec-aca5-158db1852dcd
0190286e-7377-71aa-afc1-0ee39e76561e
0190286e-7377-72e6-83b1-5440d163edc3
0190286e-7377-7409-a384-0f24ac219eb0
0190286e-7377-7527-bbbf-e57e55ce99a7
0190286e-7377-7642-8da3-331ccf324ed2
0190286e-7377-7761-821d-5691b816cd7d
0190286e-7377-787b-ac01-6a37c1f1e46d
0190286e-7377-7996-abb0-8af3fa146359
0190286e-7377-7aad-9eb7-762ee2d02a8d
0190286e-7377-7bc7-b5aa-b6d0174bec03
0190286e-7377-7ce2-854d-5e71ada44ae8
0190286e-7377-7dfc-b425-fcd9a10ab60e
0190286e-7377-7f1b-bc7d-d445405881d2
0190286e-7378-7036-9daf-23a4e5fca719

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)

1ef2cfd6-dffc-6520-b7ec-4cf95d479851
1ef2cfd6-dffc-66c4-b7ec-4cf95d479851
1ef2cfd6-dffc-67b4-b7ec-4cf95d479851
1ef2cfd6-dffc-6886-b7ec-4cf95d479851
1ef2cfd6-dffc-694e-b7ec-4cf95d479851
1ef2cfd6-dffc-6a20-b7ec-4cf95d479851
1ef2cfd6-dffc-6ae8-b7ec-4cf95d479851
1ef2cfd6-dffc-6bb0-b7ec-4cf95d479851
1ef2cfd6-dffc-6c78-b7ec-4cf95d479851
1ef2cfd6-dffc-6d36-b7ec-4cf95d479851
1ef2cfd6-dffc-6e76-b7ec-4cf95d479851
1ef2cfd6-dffc-6f48-b7ec-4cf95d479851
1ef2cfd6-dffd-6010-b7ec-4cf95d479851
1ef2cfd6-dffd-60ce-b7ec-4cf95d479851
1ef2cfd6-dffd-618c-b7ec-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)

fc96c9d4-44c0-45c0-8f1c-d0d0cc2e4d70
10c20060-173d-4369-b75f-428686092f86
51296de3-0eaa-421d-b218-9dca3974e006
b5cc8dda-1068-4ac8-b361-18b08bc53fa5
ce9748b5-c1d1-4606-a8b1-82312b60453b
7e60b196-077b-4866-b15b-3a3de095717e
ef71d1f0-8f4c-47d1-9aab-d841db6436c5
993d0f2e-9661-4108-9e9c-99000da8da19
34ab3dd7-4a12-4169-8f4d-b170eccf82d0
e47c08c7-6fc2-4743-b752-6867164e9e5a
c52cd9e5-2ad2-41f5-b252-a0dafda9f53e
89d9235d-0c6e-4341-9de6-fc825693d7f5
a1134690-f60a-4fcb-8338-ef71a49e4a1f
7bec6894-1263-4dcc-8fc4-9d36686d1940
a57a24ef-a182-49d2-9a2d-2b93ea3f18fc

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)

6dffd6be-2cfd-11ef-b7ec-4cf95d479851
6dffd772-2cfd-11ef-b7ec-4cf95d479851
6dffd7cc-2cfd-11ef-b7ec-4cf95d479851
6dffd830-2cfd-11ef-b7ec-4cf95d479851
6dffd88a-2cfd-11ef-b7ec-4cf95d479851
6dffd8ee-2cfd-11ef-b7ec-4cf95d479851
6dffd952-2cfd-11ef-b7ec-4cf95d479851
6dffd9ac-2cfd-11ef-b7ec-4cf95d479851
6dffda10-2cfd-11ef-b7ec-4cf95d479851
6dffda6a-2cfd-11ef-b7ec-4cf95d479851
6dffdace-2cfd-11ef-b7ec-4cf95d479851
6dffdb28-2cfd-11ef-b7ec-4cf95d479851
6dffdb96-2cfd-11ef-b7ec-4cf95d479851
6dffdbf0-2cfd-11ef-b7ec-4cf95d479851
6dffdc54-2cfd-11ef-b7ec-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)

c4898f2d-0565-80a9-87e8-5ce32bd83b96
1d1b902d-0565-80a9-87e8-5ce32bd83b96
5d00912d-0565-80a9-87e8-5ce32bd83b96
c6f2922d-0565-80a9-87e8-5ce32bd83b96
369e932d-0565-80a9-87e8-5ce32bd83b96
f8e4942d-0565-80a9-87e8-5ce32bd83b96
4cd6952d-0565-80a9-87e8-5ce32bd83b96
f2a8962d-0565-80a9-87e8-5ce32bd83b96
32b9972d-0565-80a9-87e8-5ce32bd83b96
fde3982d-0565-80a9-87e8-5ce32bd83b96
8ded992d-0565-80a9-87e8-5ce32bd83b96
f39b9a2d-0565-80a9-87e8-5ce32bd83b96
aeab9b2d-0565-80a9-87e8-5ce32bd83b96
86389d2d-0565-80a9-87e8-5ce32bd83b96
8bf59e2d-0565-80a9-87e8-5ce32bd83b96

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: