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)

019ceb97-2f1d-78ea-90bb-e58f6fc0b1d9
019ceb97-2f1d-7a73-9ae0-750744341615
019ceb97-2f1d-7baf-9fee-1c9479f2a99e
019ceb97-2f1d-7cd1-80ac-d70b41b5913b
019ceb97-2f1d-7dec-b24f-764062a31810
019ceb97-2f1d-7f03-9bd1-aecd93ae27c3
019ceb97-2f1e-701d-aa17-56def295c306
019ceb97-2f1e-713c-9e4c-9ce92767b9a8
019ceb97-2f1e-7257-8866-7ee527211e1d
019ceb97-2f1e-736d-b2f0-44950be8719b
019ceb97-2f1e-7484-85f4-f94f8596108e
019ceb97-2f1e-759a-a61b-4d162f1953c9
019ceb97-2f1e-76b5-9406-71190ceab476
019ceb97-2f1e-77cb-9651-12ecd8c6b070
019ceb97-2f1e-78e6-ae5e-6acfdcc2928a

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)

1f11f84d-521d-6d62-967e-4cf95d479851
1f11f84d-521d-6ef2-967e-4cf95d479851
1f11f84d-521d-6fd8-967e-4cf95d479851
1f11f84d-521e-60aa-967e-4cf95d479851
1f11f84d-521e-6172-967e-4cf95d479851
1f11f84d-521e-6230-967e-4cf95d479851
1f11f84d-521e-62ee-967e-4cf95d479851
1f11f84d-521e-63b6-967e-4cf95d479851
1f11f84d-521e-647e-967e-4cf95d479851
1f11f84d-521e-653c-967e-4cf95d479851
1f11f84d-521e-674e-967e-4cf95d479851
1f11f84d-521e-683e-967e-4cf95d479851
1f11f84d-521e-68fc-967e-4cf95d479851
1f11f84d-521e-69ba-967e-4cf95d479851
1f11f84d-521e-6a78-967e-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)

50cd8bc8-a5ee-445b-b93d-373befae8fe1
0c30100c-b6d7-4f83-862c-a98717497695
d0dc3d85-8337-4a20-9856-d12d8ab63f06
dcbc4773-7e56-44b0-8e61-a5d726500735
4009841d-49b7-480e-b269-0c59ffbefe77
61f4a9fc-58dc-40c4-9580-7bc9594d2685
f11e2997-0180-472c-9b6d-9ee9f0143eb9
5332cb51-6222-47d0-861c-4c2e5a451ae4
27d5b371-ecdd-44b5-90b0-a66ffbfc367a
f1519650-ab0d-4154-8e2d-71dfb1c49496
d2c30301-5e6d-433a-b39b-b383218a8bd1
42da2343-e0df-41a3-8ce6-eeb2e9ed2e23
cf733e20-cf09-439e-ae90-58568737f91b
30144041-3ea9-4a8b-852d-9608c10ca943
6e74f49d-3294-4429-8bb4-7154bdeec1e4

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)

d521ef96-1f84-11f1-967e-4cf95d479851
d521f004-1f84-11f1-967e-4cf95d479851
d521f068-1f84-11f1-967e-4cf95d479851
d521f0cc-1f84-11f1-967e-4cf95d479851
d521f13a-1f84-11f1-967e-4cf95d479851
d521f194-1f84-11f1-967e-4cf95d479851
d521f1f8-1f84-11f1-967e-4cf95d479851
d521f252-1f84-11f1-967e-4cf95d479851
d521f2b6-1f84-11f1-967e-4cf95d479851
d521f31a-1f84-11f1-967e-4cf95d479851
d521f37e-1f84-11f1-967e-4cf95d479851
d521f3e2-1f84-11f1-967e-4cf95d479851
d521f446-1f84-11f1-967e-4cf95d479851
d521f4a0-1f84-11f1-967e-4cf95d479851
d521f504-1f84-11f1-967e-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)

9f57b527-2102-8904-87ea-5ce32bd83b97
311fb727-2102-8904-87ea-5ce32bd83b97
4700b827-2102-8904-87ea-5ce32bd83b97
a5c1b927-2102-8904-87ea-5ce32bd83b97
d49bba27-2102-8904-87ea-5ce32bd83b97
628dbb27-2102-8904-87ea-5ce32bd83b97
50aabc27-2102-8904-87ea-5ce32bd83b97
9dc6bd27-2102-8904-87ea-5ce32bd83b97
d6adbe27-2102-8904-87ea-5ce32bd83b97
7fc4bf27-2102-8904-87ea-5ce32bd83b97
7e43c027-2102-8904-87ea-5ce32bd83b97
082cc127-2102-8904-87ea-5ce32bd83b97
a2e0c227-2102-8904-87ea-5ce32bd83b97
ab86c327-2102-8904-87ea-5ce32bd83b97
6a0dc427-2102-8904-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: