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)

019be636-f6d1-7ca8-8f45-82d86878927b
019be636-f6d1-7e4a-88bb-09a7362ef9b5
019be636-f6d1-7f8a-90b5-5e42eaab7736
019be636-f6d2-70b1-a3f8-fb2929337743
019be636-f6d2-71cf-877d-b79d067c36dd
019be636-f6d2-72e6-887b-40a0d20b8dae
019be636-f6d2-7400-9754-76eb816ce7aa
019be636-f6d2-751f-98ef-3b0cc02b17fb
019be636-f6d2-763a-a133-90905b9ed152
019be636-f6d2-7754-9a69-d811bb08460b
019be636-f6d2-786f-98f0-b63a76250220
019be636-f6d2-7986-8620-4fd27469ce9f
019be636-f6d2-7aa0-bdc9-cf6a16be5bcb
019be636-f6d2-7bbf-b3c2-6dbd4b831644
019be636-f6d2-7cda-a2fc-80a077839b54

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)

1f0f7a2d-68ac-6ea2-b33c-4cf95d479851
1f0f7a2d-68ad-617c-b33c-4cf95d479851
1f0f7a2d-68ad-626c-b33c-4cf95d479851
1f0f7a2d-68ad-6334-b33c-4cf95d479851
1f0f7a2d-68ad-63fc-b33c-4cf95d479851
1f0f7a2d-68ad-64c4-b33c-4cf95d479851
1f0f7a2d-68ad-6582-b33c-4cf95d479851
1f0f7a2d-68ad-6640-b33c-4cf95d479851
1f0f7a2d-68ad-6708-b33c-4cf95d479851
1f0f7a2d-68ad-67d0-b33c-4cf95d479851
1f0f7a2d-68ad-692e-b33c-4cf95d479851
1f0f7a2d-68ad-6a00-b33c-4cf95d479851
1f0f7a2d-68ad-6abe-b33c-4cf95d479851
1f0f7a2d-68ad-6b86-b33c-4cf95d479851
1f0f7a2d-68ad-6c44-b33c-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)

8ebd9193-30f3-4c3f-bfde-338081d5855b
f93b3685-d432-409c-bf56-ada12c500219
04e5d0c8-9a53-4620-b2e3-c1646fef465d
5a108824-6f7e-4edc-a125-15712e533582
d70bf8e8-2f03-4e14-b728-f7d3a7198e66
2e35ca13-b61c-41be-893e-e717447de8f8
a6a2feaa-25c7-4bb5-8d4f-b105c311ece0
87152225-448c-4074-946c-44c634224073
0ddcfb5f-acf4-4955-905a-90ecbb70f514
f1da9320-d33b-4a12-82b4-ee30194ec26b
c4725d6e-dec5-4952-b7c4-26245dd4de36
a9bbc7f0-a04c-40fb-86da-9aae64d273e6
9ba94894-aad1-4156-9b54-a26f949c5f22
20dee9f4-ebfd-4b43-a3dc-6ce7d5719c97
e4d81696-e25f-47a0-963f-8d342dc8f6cd

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)

d68ae18a-f7a2-11f0-b33c-4cf95d479851
d68ae1ee-f7a2-11f0-b33c-4cf95d479851
d68ae252-f7a2-11f0-b33c-4cf95d479851
d68ae2b6-f7a2-11f0-b33c-4cf95d479851
d68ae31a-f7a2-11f0-b33c-4cf95d479851
d68ae37e-f7a2-11f0-b33c-4cf95d479851
d68ae3e2-f7a2-11f0-b33c-4cf95d479851
d68ae43c-f7a2-11f0-b33c-4cf95d479851
d68ae4a0-f7a2-11f0-b33c-4cf95d479851
d68ae504-f7a2-11f0-b33c-4cf95d479851
d68ae55e-f7a2-11f0-b33c-4cf95d479851
d68ae5c2-f7a2-11f0-b33c-4cf95d479851
d68ae61c-f7a2-11f0-b33c-4cf95d479851
d68ae680-f7a2-11f0-b33c-4cf95d479851
d68ae6e4-f7a2-11f0-b33c-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)

fc847728-8303-8601-87ea-5ce32bd83b97
6f497828-8303-8601-87ea-5ce32bd83b97
f1237928-8303-8601-87ea-5ce32bd83b97
1c487a28-8303-8601-87ea-5ce32bd83b97
91037c28-8303-8601-87ea-5ce32bd83b97
2cd57d28-8303-8601-87ea-5ce32bd83b97
bfdc7e28-8303-8601-87ea-5ce32bd83b97
a6af7f28-8303-8601-87ea-5ce32bd83b97
13bc8028-8303-8601-87ea-5ce32bd83b97
da848128-8303-8601-87ea-5ce32bd83b97
256f8228-8303-8601-87ea-5ce32bd83b97
3cdb8328-8303-8601-87ea-5ce32bd83b97
35778428-8303-8601-87ea-5ce32bd83b97
b8cc8528-8303-8601-87ea-5ce32bd83b97
c1828628-8303-8601-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: