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)

01a02d6d-2653-7d07-a238-998fe4c37fd4
01a02d6d-2653-7ec9-af4f-f9a62a61146b
01a02d6d-2654-7019-b93e-a957749395ae
01a02d6d-2654-713c-b402-e5b8f361ff04
01a02d6d-2654-725b-9773-3b4bd06703ef
01a02d6d-2654-7379-8f2b-29cc4b618b91
01a02d6d-2654-7494-8cce-b90519d65a3a
01a02d6d-2654-75b3-978a-f48e8c676413
01a02d6d-2654-76cd-8e11-270e7049c0a3
01a02d6d-2654-77ec-8683-918a4dd99329
01a02d6d-2654-790b-bba3-afe0c85630e4
01a02d6d-2654-7a29-b8b3-de60cd28b4a9
01a02d6d-2654-7b44-b908-1ff7fb76e35a
01a02d6d-2654-7c63-9a2f-dffaaa0e8a6e
01a02d6d-2654-7d7d-a167-55186f80a8bb

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)

1f19ec08-b2a9-67a6-bdd8-4cf95d479851
1f19ec08-b2a9-6972-bdd8-4cf95d479851
1f19ec08-b2a9-6a58-bdd8-4cf95d479851
1f19ec08-b2a9-6b2a-bdd8-4cf95d479851
1f19ec08-b2a9-6bfc-bdd8-4cf95d479851
1f19ec08-b2a9-6cc4-bdd8-4cf95d479851
1f19ec08-b2a9-6d8c-bdd8-4cf95d479851
1f19ec08-b2a9-6e54-bdd8-4cf95d479851
1f19ec08-b2a9-6f12-bdd8-4cf95d479851
1f19ec08-b2a9-6fda-bdd8-4cf95d479851
1f19ec08-b2aa-619c-bdd8-4cf95d479851
1f19ec08-b2aa-62aa-bdd8-4cf95d479851
1f19ec08-b2aa-6372-bdd8-4cf95d479851
1f19ec08-b2aa-643a-bdd8-4cf95d479851
1f19ec08-b2aa-6502-bdd8-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)

8b2aa5d4-9ec0-11f1-bdd8-4cf95d479851
8b2aa642-9ec0-11f1-bdd8-4cf95d479851
8b2aa6b0-9ec0-11f1-bdd8-4cf95d479851
8b2aa714-9ec0-11f1-bdd8-4cf95d479851
8b2aa778-9ec0-11f1-bdd8-4cf95d479851
8b2aa7f0-9ec0-11f1-bdd8-4cf95d479851
8b2aa854-9ec0-11f1-bdd8-4cf95d479851
8b2aa8c2-9ec0-11f1-bdd8-4cf95d479851
8b2aa926-9ec0-11f1-bdd8-4cf95d479851
8b2aa994-9ec0-11f1-bdd8-4cf95d479851
8b2aa9f8-9ec0-11f1-bdd8-4cf95d479851
8b2aaa66-9ec0-11f1-bdd8-4cf95d479851
8b2aaac0-9ec0-11f1-bdd8-4cf95d479851
8b2aab2e-9ec0-11f1-bdd8-4cf95d479851
8b2aab92-9ec0-11f1-bdd8-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)

80d71803-a701-8b0e-87ea-5ce32bd83b97
d87f1903-a701-8b0e-87ea-5ce32bd83b97
54811a03-a701-8b0e-87ea-5ce32bd83b97
a7c71b03-a701-8b0e-87ea-5ce32bd83b97
e43a1c03-a701-8b0e-87ea-5ce32bd83b97
72431d03-a701-8b0e-87ea-5ce32bd83b97
4b651e03-a701-8b0e-87ea-5ce32bd83b97
d32c1f03-a701-8b0e-87ea-5ce32bd83b97
e7482003-a701-8b0e-87ea-5ce32bd83b97
b81e2103-a701-8b0e-87ea-5ce32bd83b97
64512203-a701-8b0e-87ea-5ce32bd83b97
18ef2303-a701-8b0e-87ea-5ce32bd83b97
acf72403-a701-8b0e-87ea-5ce32bd83b97
e3c62503-a701-8b0e-87ea-5ce32bd83b97
b7c52603-a701-8b0e-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)

cede5c8b-d16f-427c-babf-7ebd5aa014ba
68382688-7880-4bcb-84cd-1cdc4cf03201
c5180dd1-7cba-4bb5-a8e5-2afd74f25c41
4a9d1c07-09a1-41c0-892a-58ba4d37b731
0abb238a-342f-4cb1-9d9b-7c70e8d559b1
ce4872f2-08a8-4463-b4f5-b327f1ba889c
0869dd78-637a-451a-9b16-797938f9a1bc
84ceabf5-4534-4917-a02e-e7c2effe72cd
98ca950a-fc93-4bb7-8bc5-7fe17e99cf84
0a359f1d-955f-4f8c-b9ef-93b0abfe4497
5b960b3e-85f4-4d6e-b634-8bbca498948c
25a721ea-0200-4630-9c7f-ce40ea0f71e5
eccd992f-7b51-409a-8e14-b47a8ea8d732
59e00a90-bcad-4453-8d9f-9f491b5ffdad
0b6c30fe-cc5e-47e5-ad7b-1b9d390e3869

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: