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)

01a0e97f-498c-71fc-9663-ab51e3c45ca8
01a0e97f-498c-73aa-9b52-a42ec958cb1f
01a0e97f-498c-74e6-bf22-b5530d468cf3
01a0e97f-498c-7600-bbda-6f845336c6a3
01a0e97f-498c-7717-a213-be6a72e20676
01a0e97f-498c-7829-8459-3dc6e3081f6c
01a0e97f-498c-7948-a2bf-a8e149c62af0
01a0e97f-498c-7a5b-a5b2-0730d30173e0
01a0e97f-498c-7b6d-8594-0f74fc4260d5
01a0e97f-498c-7c7f-aa4b-dd1f2c42a3e3
01a0e97f-498c-7d92-a4bb-b36954b7bb90
01a0e97f-498c-7ea0-bbd1-f298dacd5646
01a0e97f-498c-7fb3-a536-2200b65c8921
01a0e97f-498d-70c5-9f34-703dbb13286d
01a0e97f-498d-71dc-8443-b19f497bd51d

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)

1f1bb730-faa5-6fd8-a634-4cf95d479851
1f1bb730-faa6-6212-a634-4cf95d479851
1f1bb730-faa6-6302-a634-4cf95d479851
1f1bb730-faa6-63d4-a634-4cf95d479851
1f1bb730-faa6-64b0-a634-4cf95d479851
1f1bb730-faa6-6578-a634-4cf95d479851
1f1bb730-faa6-6636-a634-4cf95d479851
1f1bb730-faa6-66fe-a634-4cf95d479851
1f1bb730-faa6-67c6-a634-4cf95d479851
1f1bb730-faa6-6884-a634-4cf95d479851
1f1bb730-faa6-69d8-a634-4cf95d479851
1f1bb730-faa6-6ab4-a634-4cf95d479851
1f1bb730-faa6-6b7c-a634-4cf95d479851
1f1bb730-faa6-6c3a-a634-4cf95d479851
1f1bb730-faa6-6d02-a634-4cf95d479851

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)

0faa6dde-bb73-11f1-a634-4cf95d479851
0faa6e42-bb73-11f1-a634-4cf95d479851
0faa6eb0-bb73-11f1-a634-4cf95d479851
0faa6f14-bb73-11f1-a634-4cf95d479851
0faa6f6e-bb73-11f1-a634-4cf95d479851
0faa6fdc-bb73-11f1-a634-4cf95d479851
0faa7040-bb73-11f1-a634-4cf95d479851
0faa70a4-bb73-11f1-a634-4cf95d479851
0faa7112-bb73-11f1-a634-4cf95d479851
0faa7176-bb73-11f1-a634-4cf95d479851
0faa71da-bb73-11f1-a634-4cf95d479851
0faa725c-bb73-11f1-a634-4cf95d479851
0faa72e8-bb73-11f1-a634-4cf95d479851
0faa7374-bb73-11f1-a634-4cf95d479851
0faa7400-bb73-11f1-a634-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)

58d85d1c-9304-8f10-87ea-5ce32bd83b97
38dc5e1c-9304-8f10-87ea-5ce32bd83b97
f6095f1c-9304-8f10-87ea-5ce32bd83b97
9f1c601c-9304-8f10-87ea-5ce32bd83b97
6ade621c-9304-8f10-87ea-5ce32bd83b97
e54d631c-9304-8f10-87ea-5ce32bd83b97
7cd6641c-9304-8f10-87ea-5ce32bd83b97
7fc1651c-9304-8f10-87ea-5ce32bd83b97
c56f661c-9304-8f10-87ea-5ce32bd83b97
6e8e671c-9304-8f10-87ea-5ce32bd83b97
15ec681c-9304-8f10-87ea-5ce32bd83b97
5907691c-9304-8f10-87ea-5ce32bd83b97
a9e06a1c-9304-8f10-87ea-5ce32bd83b97
53f96b1c-9304-8f10-87ea-5ce32bd83b97
b4286c1c-9304-8f10-87ea-5ce32bd83b97

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)

50ed4e8b-4e5d-46a5-b6a0-3024324379e2
e014472e-7292-47ea-9b94-ab3b8d4b15b5
f7be3750-bd73-43a7-965d-2d798e4cf864
2c971ac3-85ff-40aa-a689-3844b8e36904
64f011e7-7e5c-4cd2-8bd5-c23a7fdccdb7
fc1efe2e-696f-471f-bbd0-bab1da95ed8b
5ce16ba7-33e2-48e2-93b0-18b3798449c0
b18ff758-4543-42fd-8a19-d773b6662ea3
11f32927-2ce7-4aad-bd71-b2201943f9f7
d5a956d4-58b3-4cf4-83ea-d57a3ad62af7
d477b230-be44-442b-ad7a-993fc9e23ecb
c3ec5098-0f5b-4516-898f-600e83c0c9a2
535cdf3c-9831-485a-990d-b6e88707b0a2
2c842ee6-97e3-481d-b0db-b411496b2864
a3e654d0-c307-4a08-ac8c-5c4e77b503cf

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: