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)

019ae185-3835-7e25-8e8d-958a9d67e850
019ae185-3835-7fdc-9034-512c2075aed5
019ae185-3836-711f-b65d-7a4c480721c5
019ae185-3836-7246-8f2d-c84071b5a8fc
019ae185-3836-7361-a1db-5be844d12760
019ae185-3836-747f-b3fe-9013f728edf0
019ae185-3836-759a-9434-98985d019c8c
019ae185-3836-76b9-85ca-f921bf0be29a
019ae185-3836-77d3-9256-2322f71642e7
019ae185-3836-78ee-b19f-3f0c36e9b65f
019ae185-3836-7a09-a9d9-f88907c28afb
019ae185-3836-7b27-8df4-b35cdedb1805
019ae185-3836-7c46-9af3-f7db3c136651
019ae185-3836-7d61-bcf0-66c50e1cb043
019ae185-3836-7e7b-a800-cbd77fc8e304

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)

1f0cfdb7-7652-660a-b910-4cf95d479851
1f0cfdb7-7652-67ae-b910-4cf95d479851
1f0cfdb7-7652-689e-b910-4cf95d479851
1f0cfdb7-7652-6970-b910-4cf95d479851
1f0cfdb7-7652-6a38-b910-4cf95d479851
1f0cfdb7-7652-6b00-b910-4cf95d479851
1f0cfdb7-7652-6bc8-b910-4cf95d479851
1f0cfdb7-7652-6c90-b910-4cf95d479851
1f0cfdb7-7652-6d4e-b910-4cf95d479851
1f0cfdb7-7652-6e16-b910-4cf95d479851
1f0cfdb7-7652-6f60-b910-4cf95d479851
1f0cfdb7-7653-603c-b910-4cf95d479851
1f0cfdb7-7653-60fa-b910-4cf95d479851
1f0cfdb7-7653-61c2-b910-4cf95d479851
1f0cfdb7-7653-6280-b910-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)

fc0a7516-2e80-4424-9b5f-b40b9cbd8f23
8491216a-6628-44e5-bc02-f2443facfcaf
2bc1141a-1080-4a5a-a8f4-b755676fc148
cb918430-2a06-4e0e-8496-69caf8f978ec
0648136c-444b-4e54-bc4d-50dad059ead1
67944648-9819-4354-8abb-2e20d4f61231
513792d8-c8f6-4246-b1e6-c3ad156c53d5
0dbd33d5-3083-4405-94dc-cc94509c1fde
29530b17-1603-4b1b-b842-0d9bd55f2db1
646862c4-3dff-40a7-a35b-acc420967e7d
5b43d8e0-7c2a-42a6-83ff-0be0b501f149
5f35a319-0f48-43b2-8a31-4dcfcd250d7c
3ed9f2ed-b50f-4b8d-b797-a0345429a3d2
c37036e7-5220-42f4-89c0-c046acfd82ca
09df90ce-8715-49c4-bb60-0b7284a58cb0

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)

7765379e-cfdb-11f0-b910-4cf95d479851
77653802-cfdb-11f0-b910-4cf95d479851
77653866-cfdb-11f0-b910-4cf95d479851
776538c0-cfdb-11f0-b910-4cf95d479851
77653924-cfdb-11f0-b910-4cf95d479851
7765397e-cfdb-11f0-b910-4cf95d479851
776539d8-cfdb-11f0-b910-4cf95d479851
77653a3c-cfdb-11f0-b910-4cf95d479851
77653aa0-cfdb-11f0-b910-4cf95d479851
77653afa-cfdb-11f0-b910-4cf95d479851
77653b54-cfdb-11f0-b910-4cf95d479851
77653bb8-cfdb-11f0-b910-4cf95d479851
77653c12-cfdb-11f0-b910-4cf95d479851
77653c6c-cfdb-11f0-b910-4cf95d479851
77653cda-cfdb-11f0-b910-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)

a4a7a30f-0400-8115-87e9-5ce32bd83b97
a69da40f-0400-8115-87e9-5ce32bd83b97
5272a50f-0400-8115-87e9-5ce32bd83b97
c0e0a60f-0400-8115-87e9-5ce32bd83b97
d16da70f-0400-8115-87e9-5ce32bd83b97
482ca80f-0400-8115-87e9-5ce32bd83b97
55dfa90f-0400-8115-87e9-5ce32bd83b97
e826ab0f-0400-8115-87e9-5ce32bd83b97
8f4bac0f-0400-8115-87e9-5ce32bd83b97
9fe8ad0f-0400-8115-87e9-5ce32bd83b97
103bae0f-0400-8115-87e9-5ce32bd83b97
48b7af0f-0400-8115-87e9-5ce32bd83b97
82efb00f-0400-8115-87e9-5ce32bd83b97
1981b10f-0400-8115-87e9-5ce32bd83b97
52bdb20f-0400-8115-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: