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)

01a0b53d-ec55-7dd3-b4d3-07316316fc98
01a0b53d-ec55-7f65-9dbc-dbdf644f7feb
01a0b53d-ec56-70a0-ad35-a7ef7d662795
01a0b53d-ec56-71bf-bf88-ee0874f93e94
01a0b53d-ec56-72da-8d78-e1434e16671c
01a0b53d-ec56-73f0-bc83-3685fe30a240
01a0b53d-ec56-750b-a119-c8390e4df6c7
01a0b53d-ec56-761d-a4fc-ef7bbe3b5c31
01a0b53d-ec56-7734-9f07-49f1480ff3e3
01a0b53d-ec56-784a-8227-6378007b9016
01a0b53d-ec56-795d-b7dd-f947f0111a77
01a0b53d-ec56-7a73-9ed4-f14d2ca3b9af
01a0b53d-ec56-7b8a-bc38-9bfc00b68f43
01a0b53d-ec56-7ca0-8977-c47aca9fe5e7
01a0b53d-ec56-7dbb-a046-7457fec165a3

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)

1f1b379d-6614-64ea-9dbe-4cf95d479851
1f1b379d-6614-66c0-9dbe-4cf95d479851
1f1b379d-6614-67b0-9dbe-4cf95d479851
1f1b379d-6614-6882-9dbe-4cf95d479851
1f1b379d-6614-694a-9dbe-4cf95d479851
1f1b379d-6614-6a12-9dbe-4cf95d479851
1f1b379d-6614-6ada-9dbe-4cf95d479851
1f1b379d-6614-6bac-9dbe-4cf95d479851
1f1b379d-6614-6c6a-9dbe-4cf95d479851
1f1b379d-6614-6d32-9dbe-4cf95d479851
1f1b379d-6614-6e7c-9dbe-4cf95d479851
1f1b379d-6614-6f4e-9dbe-4cf95d479851
1f1b379d-6615-600c-9dbe-4cf95d479851
1f1b379d-6615-60d4-9dbe-4cf95d479851
1f1b379d-6615-6192-9dbe-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)

d6615264-b379-11f1-9dbe-4cf95d479851
d66152c8-b379-11f1-9dbe-4cf95d479851
d661532c-b379-11f1-9dbe-4cf95d479851
d6615390-b379-11f1-9dbe-4cf95d479851
d66153fe-b379-11f1-9dbe-4cf95d479851
d6615462-b379-11f1-9dbe-4cf95d479851
d66154d0-b379-11f1-9dbe-4cf95d479851
d661553e-b379-11f1-9dbe-4cf95d479851
d66155ac-b379-11f1-9dbe-4cf95d479851
d6615606-b379-11f1-9dbe-4cf95d479851
d6615674-b379-11f1-9dbe-4cf95d479851
d66156d8-b379-11f1-9dbe-4cf95d479851
d6615746-b379-11f1-9dbe-4cf95d479851
d66157b4-b379-11f1-9dbe-4cf95d479851
d6615818-b379-11f1-9dbe-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)

c2a36e31-bf03-8510-87ea-5ce32bd83b97
dc046f31-bf03-8510-87ea-5ce32bd83b97
9e677031-bf03-8510-87ea-5ce32bd83b97
ad437131-bf03-8510-87ea-5ce32bd83b97
e1ef7231-bf03-8510-87ea-5ce32bd83b97
54f87331-bf03-8510-87ea-5ce32bd83b97
98147431-bf03-8510-87ea-5ce32bd83b97
b6d57531-bf03-8510-87ea-5ce32bd83b97
2a3d7631-bf03-8510-87ea-5ce32bd83b97
c5d77731-bf03-8510-87ea-5ce32bd83b97
88bb7831-bf03-8510-87ea-5ce32bd83b97
9b4d7a31-bf03-8510-87ea-5ce32bd83b97
74f27b31-bf03-8510-87ea-5ce32bd83b97
a0aa7c31-bf03-8510-87ea-5ce32bd83b97
8b097d31-bf03-8510-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)

da6f25aa-d75c-41c3-81fc-12260bd3133d
cc950847-b396-440a-8bee-fc0181e23eb0
fd76ddaf-1179-4add-850d-8489d1bc5ba0
44d45723-df66-481f-a212-bf187263effa
a001e755-8a87-43ef-8455-debea4eecf25
6ceef40e-cc92-41e3-ae3b-c1f7b28d9211
b6abb96a-6f21-4168-9d7f-b0e1c8fbb00c
c1480699-48ee-40f3-a2fd-ca795880f58b
80b3343e-29b2-4967-8504-15f7548deb67
f1874daa-34d7-4fb9-8e87-da1c825a1ca8
1098bf3c-4ede-4fdb-86a5-c90d8c8090e0
1af6223b-6f65-4424-8569-b3b314985057
a78d6e35-6d31-4418-8cf1-0ff2bb798e42
55f66580-4a2b-417c-b0b6-68a73d8b6150
1599bf18-30dc-4ffa-b1ef-b7928568c084

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: