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)

01a169c7-574d-7098-931b-06135684839d
01a169c7-574d-7257-8822-88dc8bc32345
01a169c7-574d-73cb-84a9-1dcacb74e5a6
01a169c7-574d-74fe-9021-4b84a7f72eb5
01a169c7-574d-7619-be01-0c6745143dfb
01a169c7-574d-7734-b04c-236df6c3b7e8
01a169c7-574d-784e-98e4-e89e282604c7
01a169c7-574d-7965-9e47-ef04d755b3f4
01a169c7-574d-7a7f-821d-2d09c17717f6
01a169c7-574d-7b96-8dcb-4b279adc22ab
01a169c7-574d-7d44-9e7c-d4ea841a7f06
01a169c7-574d-7ede-b9ce-50ff159dabc8
01a169c7-574e-7011-94cd-f12be7449140
01a169c7-574e-713c-9512-0e964baadafc
01a169c7-574e-725f-a3e5-d05d200f6ad4

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)

1f1cf060-e43a-6126-87d7-4cf95d479851
1f1cf060-e43a-6342-87d7-4cf95d479851
1f1cf060-e43a-6432-87d7-4cf95d479851
1f1cf060-e43a-6518-87d7-4cf95d479851
1f1cf060-e43a-65ea-87d7-4cf95d479851
1f1cf060-e43a-66bc-87d7-4cf95d479851
1f1cf060-e43a-678e-87d7-4cf95d479851
1f1cf060-e43a-6860-87d7-4cf95d479851
1f1cf060-e43a-6928-87d7-4cf95d479851
1f1cf060-e43a-69fa-87d7-4cf95d479851
1f1cf060-e43a-6b76-87d7-4cf95d479851
1f1cf060-e43a-6c52-87d7-4cf95d479851
1f1cf060-e43a-6d38-87d7-4cf95d479851
1f1cf060-e43a-6e0a-87d7-4cf95d479851
1f1cf060-e43a-6ec8-87d7-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)

0e43afae-cf06-11f1-87d7-4cf95d479851
0e43b01c-cf06-11f1-87d7-4cf95d479851
0e43b080-cf06-11f1-87d7-4cf95d479851
0e43b0ee-cf06-11f1-87d7-4cf95d479851
0e43b166-cf06-11f1-87d7-4cf95d479851
0e43b1ca-cf06-11f1-87d7-4cf95d479851
0e43b238-cf06-11f1-87d7-4cf95d479851
0e43b29c-cf06-11f1-87d7-4cf95d479851
0e43b314-cf06-11f1-87d7-4cf95d479851
0e43b382-cf06-11f1-87d7-4cf95d479851
0e43b3f0-cf06-11f1-87d7-4cf95d479851
0e43b468-cf06-11f1-87d7-4cf95d479851
0e43b4e0-cf06-11f1-87d7-4cf95d479851
0e43b544-cf06-11f1-87d7-4cf95d479851
0e43b5b2-cf06-11f1-87d7-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)

84462022-1104-8812-87ea-5ce32bd83b97
85c32122-1104-8812-87ea-5ce32bd83b97
b7bf2222-1104-8812-87ea-5ce32bd83b97
8c832322-1104-8812-87ea-5ce32bd83b97
a8612522-1104-8812-87ea-5ce32bd83b97
cfd12622-1104-8812-87ea-5ce32bd83b97
479b2722-1104-8812-87ea-5ce32bd83b97
354c2822-1104-8812-87ea-5ce32bd83b97
768b2922-1104-8812-87ea-5ce32bd83b97
00452a22-1104-8812-87ea-5ce32bd83b97
5e502b22-1104-8812-87ea-5ce32bd83b97
6c122c22-1104-8812-87ea-5ce32bd83b97
e51a2d22-1104-8812-87ea-5ce32bd83b97
61b72e22-1104-8812-87ea-5ce32bd83b97
e7de2f22-1104-8812-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)

4e37d798-12c4-4c46-8007-ac3e51486e59
3c657bd8-7f20-48bc-8385-f8bf2be24a4f
f65e75b9-0ae5-4086-93c0-7e95ec8cb4a5
1455d390-a375-464c-a15d-0d0930e6d815
1271eff2-31eb-44a4-95c1-9b09509b6a1e
71c3c0c4-99d5-44f6-a3ea-2bf20faa9b4b
18f22555-3052-472a-820b-68716380eb84
4fe736b1-74e4-4a3f-86c7-906bbe71cfe5
9e8db9fd-233f-4132-a3fd-b327cd95767f
13a9702b-38bc-4b23-9be0-75b5edb8fc7d
9dd9ad99-26a0-4bfb-9ef9-dd40c3e20cc6
5f6d82ee-30b4-482c-948f-26f38a31bd68
78767226-95c2-40b1-9826-250cefa9fc8b
c008e5f7-cca8-4a07-a5bd-1a79d5adec2f
6235181c-ccaf-4b3a-a53d-6bf3d4b686ee

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: