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)

019ab83b-73c2-7d30-b4a1-f511bbd08704
019ab83b-73c2-7eda-91a8-46cf1e10ad06
019ab83b-73c3-701d-8c86-2cc13c3970c2
019ab83b-73c3-713c-9bc2-e42a81d32367
019ab83b-73c3-7257-bbf9-78fcc6709df6
019ab83b-73c3-7371-aa84-cf61c7fedb59
019ab83b-73c3-7488-892a-c8e6db8dbe86
019ab83b-73c3-7503-9ed4-23f1cfd232d6
019ab83b-73c3-761d-bdcd-d4c13f01af20
019ab83b-73c3-7734-a53d-6c817b65b4ab
019ab83b-73c3-784a-ab29-9bd65f025675
019ab83b-73c3-7961-8a12-58b1470046fd
019ab83b-73c3-7a77-9cf0-b13e81624348
019ab83b-73c3-7b8e-868c-f16879296f6e
019ab83b-73c3-7ca4-a8a8-384c6538725a

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)

1f0c98ea-5db5-653e-92f3-4cf95d479851
1f0c98ea-5db5-66ce-92f3-4cf95d479851
1f0c98ea-5db5-67b4-92f3-4cf95d479851
1f0c98ea-5db5-687c-92f3-4cf95d479851
1f0c98ea-5db5-693a-92f3-4cf95d479851
1f0c98ea-5db5-69f8-92f3-4cf95d479851
1f0c98ea-5db5-6ab6-92f3-4cf95d479851
1f0c98ea-5db5-6b74-92f3-4cf95d479851
1f0c98ea-5db5-6c32-92f3-4cf95d479851
1f0c98ea-5db5-6cf0-92f3-4cf95d479851
1f0c98ea-5db5-6e58-92f3-4cf95d479851
1f0c98ea-5db5-6f20-92f3-4cf95d479851
1f0c98ea-5db5-6fde-92f3-4cf95d479851
1f0c98ea-5db6-609c-92f3-4cf95d479851
1f0c98ea-5db6-6150-92f3-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)

5d6e943b-4548-42a6-89b5-ace352d83d02
4f040ebf-2ee5-43bb-b021-c8f9d610ba09
fdbcfdb2-5ce3-4256-aa7c-ef1aa3fe9a92
6c633203-a47e-4bf8-bacc-8b102200562b
6db78ff9-11a8-4733-b112-096c7580a1e1
9fedcedc-f1ca-4584-97ef-8cac5ec3c95c
2182ceed-a2ba-4cfd-b835-2975d37e7f49
33434b08-f717-4a18-b1c7-9e9723a173e6
fb9f15e2-5bd2-44f3-a2f1-e0eb8dc0d016
1dcffb2c-6e8b-4cd2-b70b-3804144fad44
d367fa67-c01d-444a-80cd-3bda635d99e2
698c3a81-e6f1-46cb-873e-f0d9f49ae96f
c8477d0f-1998-47cf-a049-018f8320f270
df526f80-4249-473a-aa81-1c824e581476
350b05ad-fe75-4109-8bf6-bdf5c4676fca

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)

a5db6664-c98e-11f0-92f3-4cf95d479851
a5db66be-c98e-11f0-92f3-4cf95d479851
a5db6722-c98e-11f0-92f3-4cf95d479851
a5db677c-c98e-11f0-92f3-4cf95d479851
a5db67d6-c98e-11f0-92f3-4cf95d479851
a5db6844-c98e-11f0-92f3-4cf95d479851
a5db68a8-c98e-11f0-92f3-4cf95d479851
a5db690c-c98e-11f0-92f3-4cf95d479851
a5db697a-c98e-11f0-92f3-4cf95d479851
a5db69de-c98e-11f0-92f3-4cf95d479851
a5db6a42-c98e-11f0-92f3-4cf95d479851
a5db6a9c-c98e-11f0-92f3-4cf95d479851
a5db6b00-c98e-11f0-92f3-4cf95d479851
a5db6b5a-c98e-11f0-92f3-4cf95d479851
a5db6bbe-c98e-11f0-92f3-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)

117d5d0f-8b05-8814-87e9-5ce32bd83b97
3e635e0f-8b05-8814-87e9-5ce32bd83b97
76565f0f-8b05-8814-87e9-5ce32bd83b97
27de600f-8b05-8814-87e9-5ce32bd83b97
e139610f-8b05-8814-87e9-5ce32bd83b97
45b3620f-8b05-8814-87e9-5ce32bd83b97
4300630f-8b05-8814-87e9-5ce32bd83b97
3032640f-8b05-8814-87e9-5ce32bd83b97
cb5b650f-8b05-8814-87e9-5ce32bd83b97
74e8660f-8b05-8814-87e9-5ce32bd83b97
a8a1670f-8b05-8814-87e9-5ce32bd83b97
d2a5680f-8b05-8814-87e9-5ce32bd83b97
d1a9690f-8b05-8814-87e9-5ce32bd83b97
e8436a0f-8b05-8814-87e9-5ce32bd83b97
85a46b0f-8b05-8814-87e9-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

An 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

An UUIDv3 is made out of a MD5 hash and an 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: