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)

019be21a-50f0-7130-afd9-b6af37aa8fa7
019be21a-50f0-72c1-97a8-c4caad3ea019
019be21a-50f0-7400-a57f-26fad7fcf7c8
019be21a-50f0-751f-98ab-c0b01e6be297
019be21a-50f0-763e-9440-782cca2f6df6
019be21a-50f0-7759-ae8f-947b02c9c09e
019be21a-50f0-7877-a587-2c257d06c63c
019be21a-50f0-7996-99e3-86aea9301271
019be21a-50f0-7ab1-a727-f1639d587853
019be21a-50f0-7bcb-be42-12754bd2e0cd
019be21a-50f0-7ce6-8adc-9deb2d34c61c
019be21a-50f0-7e00-9d42-354ee2e3a560
019be21a-50f0-7f1b-97e9-6ff6af56dd4b
019be21a-50f1-7036-b182-ddec3f53183d
019be21a-50f1-7154-87fe-8c0719a24689

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)

1f0f7023-77b0-6cfa-90f3-4cf95d479851
1f0f7023-77b0-6e8a-90f3-4cf95d479851
1f0f7023-77b0-6f70-90f3-4cf95d479851
1f0f7023-77b1-6038-90f3-4cf95d479851
1f0f7023-77b1-6100-90f3-4cf95d479851
1f0f7023-77b1-61c8-90f3-4cf95d479851
1f0f7023-77b1-6286-90f3-4cf95d479851
1f0f7023-77b1-634e-90f3-4cf95d479851
1f0f7023-77b1-640c-90f3-4cf95d479851
1f0f7023-77b1-64ca-90f3-4cf95d479851
1f0f7023-77b1-663c-90f3-4cf95d479851
1f0f7023-77b1-67b8-90f3-4cf95d479851
1f0f7023-77b1-689e-90f3-4cf95d479851
1f0f7023-77b1-6970-90f3-4cf95d479851
1f0f7023-77b1-6a2e-90f3-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)

2a488dbe-10be-4b9a-a9a9-10712baa2da1
990dc365-79d2-4a0a-a79e-f6faddcb34d1
c1baddcc-7671-4f70-9467-cc4ecdd6c7bc
85d165d7-4465-4223-a68a-83eb0a23dfd7
ff5ea62e-c791-4264-9f19-4ae06362f17d
62d997b7-b8c2-4320-b24e-96777630d971
a5b30274-fbce-4843-a34e-835e42a6a4ef
94a440d1-e1d6-4f9a-b55c-f2b49285b511
d78cdc5e-498e-47ba-ac28-b1e3fb488777
2b8a1ee4-79a5-45a4-ae02-804e53907fa5
4861a7e5-b781-44a7-ba38-e4abf4929f13
3a83ab33-52a0-4bb6-8176-7d4286094567
29d36954-7dfc-406b-9af7-01df56e28142
a506f028-02b4-48fa-bfe8-a02e0aab1ed2
005206b6-7376-420d-b235-e5a8950b2b5e

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)

377b1f4c-f702-11f0-90f3-4cf95d479851
377b1fb0-f702-11f0-90f3-4cf95d479851
377b2014-f702-11f0-90f3-4cf95d479851
377b2078-f702-11f0-90f3-4cf95d479851
377b20d2-f702-11f0-90f3-4cf95d479851
377b212c-f702-11f0-90f3-4cf95d479851
377b2190-f702-11f0-90f3-4cf95d479851
377b21ea-f702-11f0-90f3-4cf95d479851
377b224e-f702-11f0-90f3-4cf95d479851
377b22b2-f702-11f0-90f3-4cf95d479851
377b230c-f702-11f0-90f3-4cf95d479851
377b2370-f702-11f0-90f3-4cf95d479851
377b23ca-f702-11f0-90f3-4cf95d479851
377b242e-f702-11f0-90f3-4cf95d479851
377b2492-f702-11f0-90f3-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)

2cb32136-a504-8501-87ea-5ce32bd83b97
c1f92236-a504-8501-87ea-5ce32bd83b97
323b2336-a504-8501-87ea-5ce32bd83b97
97be2436-a504-8501-87ea-5ce32bd83b97
dae72536-a504-8501-87ea-5ce32bd83b97
bbb82636-a504-8501-87ea-5ce32bd83b97
8ea32736-a504-8501-87ea-5ce32bd83b97
8cd42836-a504-8501-87ea-5ce32bd83b97
1dd72936-a504-8501-87ea-5ce32bd83b97
549a2a36-a504-8501-87ea-5ce32bd83b97
2f302b36-a504-8501-87ea-5ce32bd83b97
dd452c36-a504-8501-87ea-5ce32bd83b97
6b182d36-a504-8501-87ea-5ce32bd83b97
60f62e36-a504-8501-87ea-5ce32bd83b97
3d592f36-a504-8501-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: