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)

019f5be3-b4ff-739e-92e8-3c6c6952f511
019f5be3-b4ff-7550-a9d1-088e81611663
019f5be3-b4ff-7694-b92b-396ed83ee71e
019f5be3-b4ff-77aa-9992-ee81ad29ad70
019f5be3-b4ff-78bd-a70c-0ce4ae666bb3
019f5be3-b4ff-79cf-ad03-e42ad4b4cfee
019f5be3-b4ff-7ae2-9ca5-35c491079b9c
019f5be3-b4ff-7bf4-9777-842db131fd48
019f5be3-b4ff-7d0b-baf5-b7fb5f9dc312
019f5be3-b4ff-7e1d-9d4f-85f782c56b3d
019f5be3-b4ff-7f2c-8b6f-097c9803a35d
019f5be3-b500-703e-a972-0639e1318c35
019f5be3-b500-7150-a6bc-bc162ccfab58
019f5be3-b500-725f-a7c8-a2418bf6bd3f
019f5be3-b500-7371-b146-8dd52071d79b

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)

1f17ec78-24f9-6dde-aa95-4cf95d479851
1f17ec78-24f9-6f82-aa95-4cf95d479851
1f17ec78-24fa-6072-aa95-4cf95d479851
1f17ec78-24fa-6144-aa95-4cf95d479851
1f17ec78-24fa-6216-aa95-4cf95d479851
1f17ec78-24fa-62de-aa95-4cf95d479851
1f17ec78-24fa-639c-aa95-4cf95d479851
1f17ec78-24fa-6464-aa95-4cf95d479851
1f17ec78-24fa-652c-aa95-4cf95d479851
1f17ec78-24fa-65ea-aa95-4cf95d479851
1f17ec78-24fa-6752-aa95-4cf95d479851
1f17ec78-24fa-6824-aa95-4cf95d479851
1f17ec78-24fa-68ec-aa95-4cf95d479851
1f17ec78-24fa-69b4-aa95-4cf95d479851
1f17ec78-24fa-6a7c-aa95-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)

824fab4e-7ec7-11f1-aa95-4cf95d479851
824fabb2-7ec7-11f1-aa95-4cf95d479851
824fac16-7ec7-11f1-aa95-4cf95d479851
824fac7a-7ec7-11f1-aa95-4cf95d479851
824facde-7ec7-11f1-aa95-4cf95d479851
824fad38-7ec7-11f1-aa95-4cf95d479851
824fad9c-7ec7-11f1-aa95-4cf95d479851
824fadf6-7ec7-11f1-aa95-4cf95d479851
824fae5a-7ec7-11f1-aa95-4cf95d479851
824faec8-7ec7-11f1-aa95-4cf95d479851
824faf2c-7ec7-11f1-aa95-4cf95d479851
824faf90-7ec7-11f1-aa95-4cf95d479851
824fafea-7ec7-11f1-aa95-4cf95d479851
824fb04e-7ec7-11f1-aa95-4cf95d479851
824fb0bc-7ec7-11f1-aa95-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)

f7418111-6803-820c-87ea-5ce32bd83b97
9a458211-6803-820c-87ea-5ce32bd83b97
b1308311-6803-820c-87ea-5ce32bd83b97
24b48411-6803-820c-87ea-5ce32bd83b97
3ab08511-6803-820c-87ea-5ce32bd83b97
94558611-6803-820c-87ea-5ce32bd83b97
39728711-6803-820c-87ea-5ce32bd83b97
d2c18811-6803-820c-87ea-5ce32bd83b97
a1448911-6803-820c-87ea-5ce32bd83b97
e31a8a11-6803-820c-87ea-5ce32bd83b97
02d38b11-6803-820c-87ea-5ce32bd83b97
44e88c11-6803-820c-87ea-5ce32bd83b97
e40f8d11-6803-820c-87ea-5ce32bd83b97
50c98e11-6803-820c-87ea-5ce32bd83b97
298b8f11-6803-820c-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)

9b92b91f-9220-4635-8138-c4d45dba9868
7389a093-df1c-4fd1-ad46-815986df35cc
687d7bab-983a-48dc-a129-8d1436819c00
6a20b27c-4fb5-496e-8ffe-38cda8b3ffcb
e47c1ce6-15b5-427e-98cf-d90ccd931d29
8af2dfd3-c44b-456f-8fbf-0b0917f03bf6
f1ffea03-b08f-4a82-a494-23c8a96af929
d9ae6927-8b27-4fa4-ba3b-60add45b7ec7
268e0981-6780-440c-95dc-b70564fb75b3
a963f10e-a899-4ecb-8303-8a5eacc0a862
98a0f2d3-8e5d-48d2-aeda-13f97accc777
8fb45082-52c1-4260-b638-67f18f5db97d
afb61336-f0b3-4b27-a012-2e9ffe41d532
052838eb-cc8a-4638-a0c3-678555475e63
d7b08c72-83b6-4769-be7c-30b354f3036a

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: