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)

019caf7b-da73-78ea-ae65-29c14f320004
019caf7b-da73-7aa0-b9a6-d579be725fa7
019caf7b-da73-7be4-a0eb-4dec81dfff23
019caf7b-da73-7d0b-b56d-fb078047948e
019caf7b-da73-7e29-9c54-96213888b3b6
019caf7b-da73-7f44-8829-8fa52d4b4fe8
019caf7b-da74-705f-92d1-2832bda72cc2
019caf7b-da74-7179-a33e-867feb60ee98
019caf7b-da74-7298-a7d4-3b5c3e1e3398
019caf7b-da74-73b3-99f9-fbe85ddf57ef
019caf7b-da74-74cd-9672-2a1463245e9f
019caf7b-da74-75e8-ae20-5f4bacadedc5
019caf7b-da74-7703-878b-205d59511523
019caf7b-da74-7819-ac1b-401c3d0ec845
019caf7b-da74-7938-82dd-d82ffd6dd40e

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)

1f11658e-986a-6f10-85e2-4cf95d479851
1f11658e-986b-60be-85e2-4cf95d479851
1f11658e-986b-61ae-85e2-4cf95d479851
1f11658e-986b-6280-85e2-4cf95d479851
1f11658e-986b-6348-85e2-4cf95d479851
1f11658e-986b-6410-85e2-4cf95d479851
1f11658e-986b-64ce-85e2-4cf95d479851
1f11658e-986b-6596-85e2-4cf95d479851
1f11658e-986b-6654-85e2-4cf95d479851
1f11658e-986b-671c-85e2-4cf95d479851
1f11658e-986b-6866-85e2-4cf95d479851
1f11658e-986b-6938-85e2-4cf95d479851
1f11658e-986b-69f6-85e2-4cf95d479851
1f11658e-986b-6ab4-85e2-4cf95d479851
1f11658e-986b-6b7c-85e2-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)

ea9086b6-bdde-49b0-9bc9-4f7c53315b1d
52035463-95a2-4e4a-8041-7fdb93e9f278
0806ca23-e4b1-489d-878b-a27e717ad8ba
867b2acf-3c57-4c29-a867-537dad49cd0f
39d0dae4-c321-4c96-b99d-cd8456435f95
be8be903-387c-438b-b662-d7728ed52916
e62c7d82-df71-4d0e-8de8-fcfa02a1f7fe
b317e9e4-cc45-4ce0-a255-396860f4b28e
e18e535e-3a9b-4f7c-b675-c454b690caa7
b477d002-daed-490d-b565-0a0febaeb761
ae3fa092-63e3-4a3f-8bfc-7fcf075d7ca8
eafcf755-8201-4221-877e-3408e06caf9f
4bddce03-83ba-48f3-9368-c9bbea60d3a7
ff094410-5cf5-4af6-81bd-b15c0c31ba1f
7420386d-eb0d-406a-b118-c39e2a8fba98

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)

e986c090-1658-11f1-85e2-4cf95d479851
e986c0f4-1658-11f1-85e2-4cf95d479851
e986c158-1658-11f1-85e2-4cf95d479851
e986c1bc-1658-11f1-85e2-4cf95d479851
e986c220-1658-11f1-85e2-4cf95d479851
e986c284-1658-11f1-85e2-4cf95d479851
e986c2e8-1658-11f1-85e2-4cf95d479851
e986c34c-1658-11f1-85e2-4cf95d479851
e986c3a6-1658-11f1-85e2-4cf95d479851
e986c414-1658-11f1-85e2-4cf95d479851
e986c478-1658-11f1-85e2-4cf95d479851
e986c4dc-1658-11f1-85e2-4cf95d479851
e986c536-1658-11f1-85e2-4cf95d479851
e986c59a-1658-11f1-85e2-4cf95d479851
e986c608-1658-11f1-85e2-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)

41009a23-fa03-8d03-87ea-5ce32bd83b97
dabf9b23-fa03-8d03-87ea-5ce32bd83b97
04269c23-fa03-8d03-87ea-5ce32bd83b97
ba549d23-fa03-8d03-87ea-5ce32bd83b97
4b199f23-fa03-8d03-87ea-5ce32bd83b97
edf1a023-fa03-8d03-87ea-5ce32bd83b97
6329a123-fa03-8d03-87ea-5ce32bd83b97
0bb7a223-fa03-8d03-87ea-5ce32bd83b97
bbdfa323-fa03-8d03-87ea-5ce32bd83b97
5bcfa423-fa03-8d03-87ea-5ce32bd83b97
0b7da523-fa03-8d03-87ea-5ce32bd83b97
a633a623-fa03-8d03-87ea-5ce32bd83b97
9556a723-fa03-8d03-87ea-5ce32bd83b97
29bfa823-fa03-8d03-87ea-5ce32bd83b97
af0fa923-fa03-8d03-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: