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)

019bf9a6-e128-7138-963f-01af254b1ede
019bf9a6-e128-72c1-bd14-947ae81ae190
019bf9a6-e128-73fc-85c7-988b61dd4a65
019bf9a6-e128-751b-8e72-7a111d3149b1
019bf9a6-e128-763a-9453-703390896d7e
019bf9a6-e128-7754-b55b-5e2bce646c30
019bf9a6-e128-786b-aa16-9c99da5dfcb4
019bf9a6-e128-7986-a8da-0aa85bf49efa
019bf9a6-e128-7aa0-bf83-88f26b179713
019bf9a6-e128-7bbb-99bc-9ae2425d09e1
019bf9a6-e128-7cd5-b492-2c4ebd3e6b3c
019bf9a6-e128-7df0-94af-d2e1134fd7dd
019bf9a6-e128-7f0f-9c94-18b83e1ee91d
019bf9a6-e129-7029-9e37-a6df5d6bc88d
019bf9a6-e129-7144-bcea-6ae2622c916b

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)

1f0fa9a1-a3c9-6884-8e73-4cf95d479851
1f0fa9a1-a3c9-6a0a-8e73-4cf95d479851
1f0fa9a1-a3c9-6afa-8e73-4cf95d479851
1f0fa9a1-a3c9-6bcc-8e73-4cf95d479851
1f0fa9a1-a3c9-6c9e-8e73-4cf95d479851
1f0fa9a1-a3c9-6d66-8e73-4cf95d479851
1f0fa9a1-a3c9-6e2e-8e73-4cf95d479851
1f0fa9a1-a3c9-6eec-8e73-4cf95d479851
1f0fa9a1-a3c9-6fb4-8e73-4cf95d479851
1f0fa9a1-a3ca-6072-8e73-4cf95d479851
1f0fa9a1-a3ca-61b2-8e73-4cf95d479851
1f0fa9a1-a3ca-628e-8e73-4cf95d479851
1f0fa9a1-a3ca-6360-8e73-4cf95d479851
1f0fa9a1-a3ca-6428-8e73-4cf95d479851
1f0fa9a1-a3ca-64e6-8e73-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)

7c788980-75b8-46b6-bc18-76c95edc3785
1615aee3-30f6-4802-8c4e-9e185e461f9b
d24698c7-12e7-456d-b8b1-5056714c1f83
f9a1500d-426c-47c1-bafb-e8428d6978f4
453df37a-ebe0-4bdd-af50-f58ff78e9e03
55588050-9e39-41ed-ad6b-1e7ff279297c
d2e62cb6-6127-4bcc-9a03-8ba0ffa8ad3e
2807c4d8-86ea-4e56-bcdb-b48508a3a378
89479ac3-d66b-47aa-ad89-9f69fd4e4f26
e1d7b6a0-2555-4f2b-91ab-ca7aef722d65
28eaf514-d2b8-47c6-b57e-035837942886
76e7264e-3e75-42b2-8a1d-e29617764d91
810aec03-b4c0-4599-aef6-c2639b091bc0
dd86cf88-2635-4f53-b963-f5046ed92147
dc91a322-3a89-4f73-9e48-5157d90a4d63

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)

1a3caa0e-fa9a-11f0-8e73-4cf95d479851
1a3caa72-fa9a-11f0-8e73-4cf95d479851
1a3caad6-fa9a-11f0-8e73-4cf95d479851
1a3cab44-fa9a-11f0-8e73-4cf95d479851
1a3caba8-fa9a-11f0-8e73-4cf95d479851
1a3cac20-fa9a-11f0-8e73-4cf95d479851
1a3cac8e-fa9a-11f0-8e73-4cf95d479851
1a3cacf2-fa9a-11f0-8e73-4cf95d479851
1a3cad56-fa9a-11f0-8e73-4cf95d479851
1a3cadba-fa9a-11f0-8e73-4cf95d479851
1a3cae1e-fa9a-11f0-8e73-4cf95d479851
1a3cae82-fa9a-11f0-8e73-4cf95d479851
1a3caee6-fa9a-11f0-8e73-4cf95d479851
1a3caf4a-fa9a-11f0-8e73-4cf95d479851
1a3cafae-fa9a-11f0-8e73-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)

323d0f2a-3e02-8a01-87ea-5ce32bd83b97
ce8a102a-3e02-8a01-87ea-5ce32bd83b97
9539112a-3e02-8a01-87ea-5ce32bd83b97
10b5122a-3e02-8a01-87ea-5ce32bd83b97
23a7132a-3e02-8a01-87ea-5ce32bd83b97
7d56142a-3e02-8a01-87ea-5ce32bd83b97
42f3152a-3e02-8a01-87ea-5ce32bd83b97
a5a4162a-3e02-8a01-87ea-5ce32bd83b97
2c0a172a-3e02-8a01-87ea-5ce32bd83b97
57b8182a-3e02-8a01-87ea-5ce32bd83b97
248a192a-3e02-8a01-87ea-5ce32bd83b97
950b1a2a-3e02-8a01-87ea-5ce32bd83b97
ed891b2a-3e02-8a01-87ea-5ce32bd83b97
2c3a1c2a-3e02-8a01-87ea-5ce32bd83b97
daa11d2a-3e02-8a01-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: