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)

01a184d5-8758-70c9-acbb-79e558426636
01a184d5-8758-727b-a08b-e597a35e57f2
01a184d5-8758-73c7-9cda-597dc0ce12dd
01a184d5-8758-74ea-99bc-3ed68d227bae
01a184d5-8758-7609-9336-3dcadf754ee9
01a184d5-8758-7727-9f53-1df03b30a420
01a184d5-8758-7846-94cd-c3bbe98aa5c7
01a184d5-8758-7961-9019-02385185cf37
01a184d5-8758-7a7b-b65f-4b5c2b4699ea
01a184d5-8758-7b96-99a1-7869a77ae50c
01a184d5-8758-7cb5-9c0e-077dab330a05
01a184d5-8758-7dcf-89da-2d1a0982061a
01a184d5-8758-7eee-9473-e3c6a238b8b9
01a184d5-8758-7009-bdce-33aa13869d86
01a184d5-8759-7127-89fc-6b09ab41050e

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)

1f1d326e-8784-6cf6-864b-4cf95d479851
1f1d326e-8784-6f9e-864b-4cf95d479851
1f1d326e-8785-608e-864b-4cf95d479851
1f1d326e-8785-6160-864b-4cf95d479851
1f1d326e-8785-6228-864b-4cf95d479851
1f1d326e-8785-62f0-864b-4cf95d479851
1f1d326e-8785-63b8-864b-4cf95d479851
1f1d326e-8785-6480-864b-4cf95d479851
1f1d326e-8785-6548-864b-4cf95d479851
1f1d326e-8785-6610-864b-4cf95d479851
1f1d326e-8785-6764-864b-4cf95d479851
1f1d326e-8785-6836-864b-4cf95d479851
1f1d326e-8785-68fe-864b-4cf95d479851
1f1d326e-8785-69bc-864b-4cf95d479851
1f1d326e-8785-6a7a-864b-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)

e8785b60-d326-11f1-864b-4cf95d479851
e8785bc4-d326-11f1-864b-4cf95d479851
e8785c28-d326-11f1-864b-4cf95d479851
e8785c82-d326-11f1-864b-4cf95d479851
e8785ce6-d326-11f1-864b-4cf95d479851
e8785d4a-d326-11f1-864b-4cf95d479851
e8785dae-d326-11f1-864b-4cf95d479851
e8785e12-d326-11f1-864b-4cf95d479851
e8785e76-d326-11f1-864b-4cf95d479851
e8785ed0-d326-11f1-864b-4cf95d479851
e8785f34-d326-11f1-864b-4cf95d479851
e8785f98-d326-11f1-864b-4cf95d479851
e8785ffc-d326-11f1-864b-4cf95d479851
e878606a-d326-11f1-864b-4cf95d479851
e87860ce-d326-11f1-864b-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)

4095c230-7e05-8d12-87ea-5ce32bd83b97
e36fc330-7e05-8d12-87ea-5ce32bd83b97
ebfec530-7e05-8d12-87ea-5ce32bd83b97
4c06c630-7e05-8d12-87ea-5ce32bd83b97
db51c730-7e05-8d12-87ea-5ce32bd83b97
ae9cc830-7e05-8d12-87ea-5ce32bd83b97
7590c930-7e05-8d12-87ea-5ce32bd83b97
f491ca30-7e05-8d12-87ea-5ce32bd83b97
7477cb30-7e05-8d12-87ea-5ce32bd83b97
4d30cc30-7e05-8d12-87ea-5ce32bd83b97
aa7fcd30-7e05-8d12-87ea-5ce32bd83b97
230ece30-7e05-8d12-87ea-5ce32bd83b97
6132cf30-7e05-8d12-87ea-5ce32bd83b97
9f47d030-7e05-8d12-87ea-5ce32bd83b97
f5e3d130-7e05-8d12-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)

8344b5ab-b148-4dac-a0dc-8c5b867b36f0
f0d9b50f-900e-4e12-ab78-f54a16761af3
697e7676-bf72-4b7f-bfbc-bb6d8b5054fb
81cabef7-13e6-4ad8-9a22-dcdf6a0e60e5
5269b9c6-4515-43f6-ab69-c45e98de9a2d
25c63bfa-e211-41e1-8569-58e94fa96f76
374663fd-1f71-43e8-bb77-fbcbd0ef38ea
c8090377-303a-49c7-a281-e6b4e8e6cd0d
3a91feee-c81a-4858-be81-539332037d9a
b52ec4d4-ecb5-49d3-bc9d-696367c44834
56792c57-a34b-4a68-8428-f8339ab1960f
51286539-1a1e-4a5a-ad28-22e2796e3928
7d46869f-83cf-426f-9d5d-d3f708b2f422
8eb0ec1e-21cf-4be8-9d14-24cb6d9c5ee0
e891d1da-ba00-404b-b5fa-6bba5fc64cfa

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: