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)

01a20a23-11aa-7611-a65b-8a3441deef03
01a20a23-11aa-7786-9eb0-cc7f7fc5dfaa
01a20a23-11aa-78c1-8272-2e454a7f651b
01a20a23-11aa-79dc-9cdb-827f98897fa1
01a20a23-11aa-7af6-93d2-e13b9a1c5af2
01a20a23-11aa-7c09-a4d3-7e8dc709a3e5
01a20a23-11aa-7d1f-a25b-f995bfb37a8f
01a20a23-11aa-7e32-b8d9-f8c7301bbd13
01a20a23-11aa-7f48-a627-fe8b78d8e724
01a20a23-11ab-705b-b66d-8eb06af55e86
01a20a23-11ab-7171-b963-e36f49ef7e73
01a20a23-11ab-7288-8dbc-037b35487ea2
01a20a23-11ab-739e-bb1f-d23526f4dee0
01a20a23-11ab-74b1-a4fd-e483666ede81
01a20a23-11ab-75c3-8341-69199eb42d6b

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)

1f1e77e0-d637-69a8-b575-4cf95d479851
1f1e77e0-d637-6b56-b575-4cf95d479851
1f1e77e0-d637-6c46-b575-4cf95d479851
1f1e77e0-d637-6d18-b575-4cf95d479851
1f1e77e0-d637-6de0-b575-4cf95d479851
1f1e77e0-d637-6eb2-b575-4cf95d479851
1f1e77e0-d637-6f7a-b575-4cf95d479851
1f1e77e0-d638-6042-b575-4cf95d479851
1f1e77e0-d638-610a-b575-4cf95d479851
1f1e77e0-d638-61c8-b575-4cf95d479851
1f1e77e0-d638-631c-b575-4cf95d479851
1f1e77e0-d638-63f8-b575-4cf95d479851
1f1e77e0-d638-64b6-b575-4cf95d479851
1f1e77e0-d638-6588-b575-4cf95d479851
1f1e77e0-d638-6646-b575-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)

0d638722-e77e-11f1-b575-4cf95d479851
0d638786-e77e-11f1-b575-4cf95d479851
0d6387f4-e77e-11f1-b575-4cf95d479851
0d638858-e77e-11f1-b575-4cf95d479851
0d6388c6-e77e-11f1-b575-4cf95d479851
0d63892a-e77e-11f1-b575-4cf95d479851
0d638984-e77e-11f1-b575-4cf95d479851
0d6389f2-e77e-11f1-b575-4cf95d479851
0d638a60-e77e-11f1-b575-4cf95d479851
0d638ac4-e77e-11f1-b575-4cf95d479851
0d638b32-e77e-11f1-b575-4cf95d479851
0d638b8c-e77e-11f1-b575-4cf95d479851
0d638bfa-e77e-11f1-b575-4cf95d479851
0d638c68-e77e-11f1-b575-4cf95d479851
0d638ccc-e77e-11f1-b575-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)

2d292c00-d904-8714-87ea-5ce32bd83b97
64fc2d00-d904-8714-87ea-5ce32bd83b97
d2a92e00-d904-8714-87ea-5ce32bd83b97
0b832f00-d904-8714-87ea-5ce32bd83b97
1aad3000-d904-8714-87ea-5ce32bd83b97
b3783100-d904-8714-87ea-5ce32bd83b97
e1703200-d904-8714-87ea-5ce32bd83b97
081d3300-d904-8714-87ea-5ce32bd83b97
104d3400-d904-8714-87ea-5ce32bd83b97
83d23500-d904-8714-87ea-5ce32bd83b97
8e783600-d904-8714-87ea-5ce32bd83b97
59353700-d904-8714-87ea-5ce32bd83b97
fe303800-d904-8714-87ea-5ce32bd83b97
afc83900-d904-8714-87ea-5ce32bd83b97
20cc3a00-d904-8714-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)

5e300594-ddc9-402c-a395-ce27aaa4f4d8
7842117c-6276-4fdf-9945-f23156b9217d
6d518d75-39db-45be-9e76-d2aed161f410
52545325-044b-4a13-bfbd-37293ab38ff9
5a7a3a49-e5ea-4afa-b784-e0de86b57358
1f25f974-7dd8-446b-9b29-c42e87d359b7
04bdf138-5f73-4750-97e4-749f74ab3db3
3d580638-c152-44a7-8743-14298eb53675
b4c303c9-69e3-49ae-9189-eea3e40e8dfa
9dfedaa8-dec6-4a2b-9be2-e2491f4e5109
97c1be0c-92c7-48f4-b046-25af21a0b5bf
590f51a4-8585-4097-b8a4-c0607dbad585
b3baf1b2-8dd3-4212-bcb4-a8f607d21132
96d270ad-91ae-4a95-997c-fcb4e2e15bb1
8a1dcdb1-4e97-42d5-bf23-d1e0bc0c725f

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: