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)

019cba8a-afd4-762e-8a07-541daad082e0
019cba8a-afd4-77c7-b44e-d572fed426c4
019cba8a-afd4-790f-ad58-a3302ea81964
019cba8a-afd4-7a32-839d-2478edb3a0bd
019cba8a-afd4-7b50-9187-b3c701331f61
019cba8a-afd4-7c6b-ae3c-262a08747f9c
019cba8a-afd4-7d86-81fb-d75564a59e97
019cba8a-afd4-7e9c-8c89-ef7144af2c25
019cba8a-afd4-7fb3-a515-368cf5f85b00
019cba8a-afd5-70c9-b42b-4f8120f5699f
019cba8a-afd5-71e4-b0c4-09ab10097301
019cba8a-afd5-72fe-a215-33011fe74442
019cba8a-afd5-7415-811d-81f56eeac34a
019cba8a-afd5-7530-adb9-bfa0af6f4409
019cba8a-afd5-7646-8e7f-40dd9a827e0e

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)

1f11808d-cf5c-636a-8c82-4cf95d479851
1f11808d-cf5c-650e-8c82-4cf95d479851
1f11808d-cf5c-65fe-8c82-4cf95d479851
1f11808d-cf5c-66c6-8c82-4cf95d479851
1f11808d-cf5c-678e-8c82-4cf95d479851
1f11808d-cf5c-684c-8c82-4cf95d479851
1f11808d-cf5c-6914-8c82-4cf95d479851
1f11808d-cf5c-69d2-8c82-4cf95d479851
1f11808d-cf5c-6a9a-8c82-4cf95d479851
1f11808d-cf5c-6b58-8c82-4cf95d479851
1f11808d-cf5c-6ca2-8c82-4cf95d479851
1f11808d-cf5c-6d6a-8c82-4cf95d479851
1f11808d-cf5c-6e32-8c82-4cf95d479851
1f11808d-cf5c-6f04-8c82-4cf95d479851
1f11808d-cf5c-6fcc-8c82-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)

ed2dbf6e-e1ff-4dde-a91a-6f8bda777fee
b75d72a1-e4af-4176-9ac2-62b6517601c4
a2bea80d-22d1-4195-b73f-d4cc3ac93733
5e877b75-d9b1-45e8-84bc-3ef106995927
cc311335-5599-4d5f-b577-6e8529a48409
12c1f252-4e5f-4be2-82c5-052a13889d90
1006878d-e1dc-4858-a6c5-bc45e39267f0
952f6b4d-eb81-495c-a982-fe4f49bcb8aa
3ff80fbc-b785-4a77-88d5-1ea315f1ed0b
9f5434b7-b380-4ed9-ae9c-9ce820a4626d
637ba3a1-8720-4f54-a4e8-3f4c9788b7dd
b6737b5a-6376-442b-87d4-02034a0ac334
0a9a50cd-d52a-4a7d-9a35-846466364d60
445c861f-68d2-4503-8661-c323e1bdfadc
b62a0edf-068d-421c-82f0-030c9c3cd211

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)

dcf5d4fe-1808-11f1-8c82-4cf95d479851
dcf5d562-1808-11f1-8c82-4cf95d479851
dcf5d5c6-1808-11f1-8c82-4cf95d479851
dcf5d620-1808-11f1-8c82-4cf95d479851
dcf5d684-1808-11f1-8c82-4cf95d479851
dcf5d6e8-1808-11f1-8c82-4cf95d479851
dcf5d74c-1808-11f1-8c82-4cf95d479851
dcf5d7b0-1808-11f1-8c82-4cf95d479851
dcf5d814-1808-11f1-8c82-4cf95d479851
dcf5d882-1808-11f1-8c82-4cf95d479851
dcf5d8f0-1808-11f1-8c82-4cf95d479851
dcf5d94a-1808-11f1-8c82-4cf95d479851
dcf5d9ae-1808-11f1-8c82-4cf95d479851
dcf5da08-1808-11f1-8c82-4cf95d479851
dcf5da6c-1808-11f1-8c82-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)

0c351c25-ce04-8f03-87ea-5ce32bd83b97
ee451d25-ce04-8f03-87ea-5ce32bd83b97
995f1e25-ce04-8f03-87ea-5ce32bd83b97
32891f25-ce04-8f03-87ea-5ce32bd83b97
18ba2025-ce04-8f03-87ea-5ce32bd83b97
803e2125-ce04-8f03-87ea-5ce32bd83b97
2b2d2225-ce04-8f03-87ea-5ce32bd83b97
7ef62325-ce04-8f03-87ea-5ce32bd83b97
ea3d2425-ce04-8f03-87ea-5ce32bd83b97
f4002525-ce04-8f03-87ea-5ce32bd83b97
86b22625-ce04-8f03-87ea-5ce32bd83b97
08522725-ce04-8f03-87ea-5ce32bd83b97
a92f2925-ce04-8f03-87ea-5ce32bd83b97
2a422a25-ce04-8f03-87ea-5ce32bd83b97
2edd2b25-ce04-8f03-87ea-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

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: