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)

019cd66a-b336-76da-b788-f6d24956bf03
019cd66a-b336-786f-ad87-b9e6cbd690b8
019cd66a-b336-79aa-9330-5ee9a73b00c3
019cd66a-b336-7acd-b4e5-538d2c613b0a
019cd66a-b336-7be8-9d15-efe35d823d79
019cd66a-b336-7cfe-bbf9-3fa5f5284176
019cd66a-b336-7e25-831d-fdf07b599cad
019cd66a-b336-7f40-b524-d8db3d863cee
019cd66a-b337-705b-89f9-b3ac2840db3b
019cd66a-b337-7175-99db-0dbb2550d90f
019cd66a-b337-728c-89e0-0bd001eb6b95
019cd66a-b337-73a6-9ff1-4b33ceb37220
019cd66a-b337-74bd-95d7-bbccacf1f18b
019cd66a-b337-75d8-be1c-72cdb470b4d7
019cd66a-b337-76ee-ba28-e6b6277b2fb9

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)

1f11c49b-b79e-6938-84e5-4cf95d479851
1f11c49b-b79e-6ae6-84e5-4cf95d479851
1f11c49b-b79e-6bcc-84e5-4cf95d479851
1f11c49b-b79e-6c9e-84e5-4cf95d479851
1f11c49b-b79e-6d66-84e5-4cf95d479851
1f11c49b-b79e-6e2e-84e5-4cf95d479851
1f11c49b-b79e-6ef6-84e5-4cf95d479851
1f11c49b-b79e-6fbe-84e5-4cf95d479851
1f11c49b-b79f-6086-84e5-4cf95d479851
1f11c49b-b79f-614e-84e5-4cf95d479851
1f11c49b-b79f-62fc-84e5-4cf95d479851
1f11c49b-b79f-6464-84e5-4cf95d479851
1f11c49b-b79f-6554-84e5-4cf95d479851
1f11c49b-b79f-661c-84e5-4cf95d479851
1f11c49b-b79f-66da-84e5-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)

28910b6b-7ff6-48d1-bcc9-4e17d0631216
3c235719-6808-4e1d-89c2-4dae078ea146
9416aad6-d4ed-45eb-ae84-18ef31a09302
5798aead-425a-4c01-a200-65550670396b
7b066e87-c754-40d7-b786-462ad27bd979
d731501f-3f70-4da3-af4f-22ffea6db3f4
1c396388-4012-4d5a-9965-ad87b72f5230
22c75df9-d4eb-487f-ac59-70120fdde185
aac977b7-0e08-4069-a397-c44225cab9de
e2d09aa2-cb70-40e9-8eee-57dd3daea4af
323e7323-eff6-42f9-8c0e-ce4344feacfa
ea10c201-7407-4fa8-a84a-f7e8759f6ad4
70472cd4-84ac-4b52-a522-4c4721fa8f12
49933732-3ee7-4154-a1fb-704caad9ab3f
bcb9c6e6-936a-493c-af82-1c63ef311d47

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)

bb79fc02-1c49-11f1-84e5-4cf95d479851
bb79fc70-1c49-11f1-84e5-4cf95d479851
bb79fcd4-1c49-11f1-84e5-4cf95d479851
bb79fd38-1c49-11f1-84e5-4cf95d479851
bb79fd92-1c49-11f1-84e5-4cf95d479851
bb79fe00-1c49-11f1-84e5-4cf95d479851
bb79fe5a-1c49-11f1-84e5-4cf95d479851
bb79febe-1c49-11f1-84e5-4cf95d479851
bb79ff18-1c49-11f1-84e5-4cf95d479851
bb79ff90-1c49-11f1-84e5-4cf95d479851
bb79fff4-1c49-11f1-84e5-4cf95d479851
bb7a004e-1c49-11f1-84e5-4cf95d479851
bb7a00b2-1c49-11f1-84e5-4cf95d479851
bb7a010c-1c49-11f1-84e5-4cf95d479851
bb7a0170-1c49-11f1-84e5-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)

44d2df02-8101-8504-87ea-5ce32bd83b97
c864e002-8101-8504-87ea-5ce32bd83b97
455fe102-8101-8504-87ea-5ce32bd83b97
fd63e202-8101-8504-87ea-5ce32bd83b97
95d7e302-8101-8504-87ea-5ce32bd83b97
0f8ce402-8101-8504-87ea-5ce32bd83b97
6b7ce502-8101-8504-87ea-5ce32bd83b97
cef0e602-8101-8504-87ea-5ce32bd83b97
66bde702-8101-8504-87ea-5ce32bd83b97
ebf4e802-8101-8504-87ea-5ce32bd83b97
304ae902-8101-8504-87ea-5ce32bd83b97
045bea02-8101-8504-87ea-5ce32bd83b97
25d2eb02-8101-8504-87ea-5ce32bd83b97
45bfec02-8101-8504-87ea-5ce32bd83b97
1128ed02-8101-8504-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: