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)

019be1ca-f652-7c25-9b4c-b220c2344f30
019be1ca-f652-7dbb-9207-e8dcca7d0d5a
019be1ca-f652-7efa-a6a3-18112566a425
019be1ca-f653-7019-840c-62ab55120929
019be1ca-f653-7138-9f0d-f732cb282d6a
019be1ca-f653-7252-8bcb-4589b993c7b7
019be1ca-f653-736d-937a-15c6c7fb822d
019be1ca-f653-7488-b758-2a9bb2c184fe
019be1ca-f653-75b7-bcfc-cce57a1e1865
019be1ca-f653-7703-ade0-8e59cab53620
019be1ca-f653-7821-8c36-1d7c9902ed36
019be1ca-f653-793c-9007-f791700affad
019be1ca-f653-7a57-8bea-6fae1994e443
019be1ca-f653-7b71-adc2-60999ec3ab43
019be1ca-f653-7c8c-a0f4-2559ca4cbdd1

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)

1f0f6f61-bb76-6cea-90f3-4cf95d479851
1f0f6f61-bb76-6e70-90f3-4cf95d479851
1f0f6f61-bb76-6f56-90f3-4cf95d479851
1f0f6f61-bb77-6028-90f3-4cf95d479851
1f0f6f61-bb77-612c-90f3-4cf95d479851
1f0f6f61-bb77-61fe-90f3-4cf95d479851
1f0f6f61-bb77-633e-90f3-4cf95d479851
1f0f6f61-bb77-6438-90f3-4cf95d479851
1f0f6f61-bb77-6500-90f3-4cf95d479851
1f0f6f61-bb77-65c8-90f3-4cf95d479851
1f0f6f61-bb77-6712-90f3-4cf95d479851
1f0f6f61-bb77-67e4-90f3-4cf95d479851
1f0f6f61-bb77-68a2-90f3-4cf95d479851
1f0f6f61-bb77-696a-90f3-4cf95d479851
1f0f6f61-bb77-6aaa-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)

39f90013-c1e4-40c2-bed9-22df2ea4d89b
3b481ccc-73ff-4e16-81aa-315eab36144e
9c026322-b859-4c4f-ba8b-a5016c20414e
a5df36ca-3135-4d90-a73d-4acbf1c4ac5a
4ef84473-23b6-4e11-8952-3dd1575b8311
6a3cd19c-8d17-47ef-a294-ab87ce8a48e1
3ed1dfb0-1150-4129-81e2-14a44d88ce59
45bba278-e903-4034-97af-c39288c9ff8d
e0e1fd15-3ba5-4159-a9f7-bc6ea3fff68d
dd6c1f66-3283-4d15-8fab-bc8f0df96834
0324c993-e72d-4e76-8632-eff88d8950ee
2b3591b1-86f9-423c-8d56-93656d936dd0
b74db770-0b61-440b-90f5-74e9d0815d53
2c68cf31-de99-47ca-bc50-00ec2b4cca20
48dce8fe-0a74-4d7f-b647-5313793c2d10

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)

1bb7813a-f6f6-11f0-90f3-4cf95d479851
1bb7819e-f6f6-11f0-90f3-4cf95d479851
1bb78202-f6f6-11f0-90f3-4cf95d479851
1bb7827a-f6f6-11f0-90f3-4cf95d479851
1bb782de-f6f6-11f0-90f3-4cf95d479851
1bb78342-f6f6-11f0-90f3-4cf95d479851
1bb7839c-f6f6-11f0-90f3-4cf95d479851
1bb78400-f6f6-11f0-90f3-4cf95d479851
1bb78464-f6f6-11f0-90f3-4cf95d479851
1bb784d2-f6f6-11f0-90f3-4cf95d479851
1bb78536-f6f6-11f0-90f3-4cf95d479851
1bb7859a-f6f6-11f0-90f3-4cf95d479851
1bb785fe-f6f6-11f0-90f3-4cf95d479851
1bb78662-f6f6-11f0-90f3-4cf95d479851
1bb786c6-f6f6-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)

c457960d-4f04-8501-87ea-5ce32bd83b97
2c01970d-4f04-8501-87ea-5ce32bd83b97
27b6980d-4f04-8501-87ea-5ce32bd83b97
3a94990d-4f04-8501-87ea-5ce32bd83b97
b9c19a0d-4f04-8501-87ea-5ce32bd83b97
e7769b0d-4f04-8501-87ea-5ce32bd83b97
ceef9c0d-4f04-8501-87ea-5ce32bd83b97
70ce9d0d-4f04-8501-87ea-5ce32bd83b97
033a9f0d-4f04-8501-87ea-5ce32bd83b97
32e4a00d-4f04-8501-87ea-5ce32bd83b97
a0bca10d-4f04-8501-87ea-5ce32bd83b97
ad1aa20d-4f04-8501-87ea-5ce32bd83b97
7535a30d-4f04-8501-87ea-5ce32bd83b97
37c6a40d-4f04-8501-87ea-5ce32bd83b97
cbb0a50d-4f04-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: