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)

01984bef-7905-779e-b8cd-7739469279a0
01984bef-7905-7950-8fd9-b069c324e1ba
01984bef-7905-7abd-b063-8054ba747e68
01984bef-7905-7be4-8b78-70f9f7bee19a
01984bef-7905-7d03-94e1-360fb31edffa
01984bef-7905-7e1d-b605-2138c28e5007
01984bef-7905-7f34-ba85-c3e75ca875eb
01984bef-7906-704e-bc1a-847335eb3033
01984bef-7906-7169-8054-6f6fe1d9713a
01984bef-7906-7284-9328-368ab1719cea
01984bef-7906-739e-b287-b0769a448509
01984bef-7906-74b5-9ea2-0ade96728fd1
01984bef-7906-75cf-9b1f-973cab6704c8
01984bef-7906-76e6-9889-1f66593d4361
01984bef-7906-7800-a4e6-9190f8eed6b9

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)

1f06ae84-de8d-6338-8ba0-4cf95d479851
1f06ae84-de8d-64dc-8ba0-4cf95d479851
1f06ae84-de8d-65c2-8ba0-4cf95d479851
1f06ae84-de8d-668a-8ba0-4cf95d479851
1f06ae84-de8d-6752-8ba0-4cf95d479851
1f06ae84-de8d-6810-8ba0-4cf95d479851
1f06ae84-de8d-68ce-8ba0-4cf95d479851
1f06ae84-de8d-698c-8ba0-4cf95d479851
1f06ae84-de8d-6a4a-8ba0-4cf95d479851
1f06ae84-de8d-6b08-8ba0-4cf95d479851
1f06ae84-de8d-6c48-8ba0-4cf95d479851
1f06ae84-de8d-6d1a-8ba0-4cf95d479851
1f06ae84-de8d-6dd8-8ba0-4cf95d479851
1f06ae84-de8d-6e8c-8ba0-4cf95d479851
1f06ae84-de8d-6f54-8ba0-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)

c5d100c8-24f1-41f0-8607-89a7640099f5
dd40d8dd-9a97-4cce-8170-b6014788ab1b
236a7a4c-8d2d-4130-bb84-ce0d08158f46
1558326f-b58b-4628-824d-6cd35c2d369e
d8c9a382-2b95-433a-9191-1977d6a23324
d08d5dda-dc3b-419c-a220-fd8173ba80d8
e2a25191-7f88-4e60-9cd7-60bdfad1274c
4ccf5c5c-f96f-4fde-bad6-73c0b47ab46d
5d7a9f23-1813-4d1e-a2fa-5cef944ebd43
dad2805b-42fd-4fe2-a70a-4dbfd772b2ff
91e8a968-4df7-4718-806b-181c33447d57
117255f3-20d1-4411-9c48-a2eee443875e
449ff82a-0783-46f8-ab16-90509e133cf7
43f80da0-a794-48f9-9f02-6aae3218292e
f39fd775-2919-46b2-baa9-746eed28512b

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)

4de8e468-6ae8-11f0-8ba0-4cf95d479851
4de8e4cc-6ae8-11f0-8ba0-4cf95d479851
4de8e530-6ae8-11f0-8ba0-4cf95d479851
4de8e594-6ae8-11f0-8ba0-4cf95d479851
4de8e602-6ae8-11f0-8ba0-4cf95d479851
4de8e666-6ae8-11f0-8ba0-4cf95d479851
4de8e6ca-6ae8-11f0-8ba0-4cf95d479851
4de8e72e-6ae8-11f0-8ba0-4cf95d479851
4de8e79c-6ae8-11f0-8ba0-4cf95d479851
4de8e800-6ae8-11f0-8ba0-4cf95d479851
4de8e85a-6ae8-11f0-8ba0-4cf95d479851
4de8e8c8-6ae8-11f0-8ba0-4cf95d479851
4de8e922-6ae8-11f0-8ba0-4cf95d479851
4de8e986-6ae8-11f0-8ba0-4cf95d479851
4de8e9ea-6ae8-11f0-8ba0-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)

66ee0e2a-0303-800d-87e9-5ce32bd83b97
8a970f2a-0303-800d-87e9-5ce32bd83b97
18e4102a-0303-800d-87e9-5ce32bd83b97
5bdf112a-0303-800d-87e9-5ce32bd83b97
99fe122a-0303-800d-87e9-5ce32bd83b97
6e87132a-0303-800d-87e9-5ce32bd83b97
c8f2142a-0303-800d-87e9-5ce32bd83b97
de4e152a-0303-800d-87e9-5ce32bd83b97
406f162a-0303-800d-87e9-5ce32bd83b97
8f15172a-0303-800d-87e9-5ce32bd83b97
0e82192a-0303-800d-87e9-5ce32bd83b97
d1a21a2a-0303-800d-87e9-5ce32bd83b97
8fb41b2a-0303-800d-87e9-5ce32bd83b97
d80d1c2a-0303-800d-87e9-5ce32bd83b97
64441d2a-0303-800d-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: