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)

019c5ff2-49bd-756d-9e71-937911c7eb20
019c5ff2-49bd-7717-9eb7-d373e64279e1
019c5ff2-49bd-7857-ab2e-2f57766f5c87
019c5ff2-49bd-7992-b6fb-a5a00a9bd292
019c5ff2-49bd-7acd-8b82-f3e554072242
019c5ff2-49bd-7bec-8ba7-b59558ce0013
019c5ff2-49bd-7d27-b9ec-94b32b36eb0c
019c5ff2-49bd-7e67-b2fa-be86d9a64971
019c5ff2-49bd-7f9a-b07c-966bdbc176f8
019c5ff2-49be-70d1-abf1-f50688b38377
019c5ff2-49be-71f0-9259-6341db581388
019c5ff2-49be-7307-b393-bf7d0a2d69e4
019c5ff2-49be-7421-aaac-da75a787bf7e
019c5ff2-49be-7538-b9dd-008cd01caece
019c5ff2-49be-7657-8c09-2658b894ef38

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)

1f10a35f-be1e-6294-a7ef-4cf95d479851
1f10a35f-be1e-6424-a7ef-4cf95d479851
1f10a35f-be1e-650a-a7ef-4cf95d479851
1f10a35f-be1e-65d2-a7ef-4cf95d479851
1f10a35f-be1e-669a-a7ef-4cf95d479851
1f10a35f-be1e-6762-a7ef-4cf95d479851
1f10a35f-be1e-6820-a7ef-4cf95d479851
1f10a35f-be1e-68de-a7ef-4cf95d479851
1f10a35f-be1e-699c-a7ef-4cf95d479851
1f10a35f-be1e-6a5a-a7ef-4cf95d479851
1f10a35f-be1e-6b9a-a7ef-4cf95d479851
1f10a35f-be1e-6c6c-a7ef-4cf95d479851
1f10a35f-be1e-6d2a-a7ef-4cf95d479851
1f10a35f-be1e-6de8-a7ef-4cf95d479851
1f10a35f-be1e-6ea6-a7ef-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)

5d9d86a2-1c98-49ad-b34d-c10178f14b57
056aedd1-2e2f-4174-aef2-3fef2377ca02
0829aed3-3434-4a1f-9cd9-488c0bed872a
63501c2e-6b29-43d1-a485-632abfbb4b04
80496a3d-e037-4ae0-bc55-d30f4f0a16ea
65af8af1-e8fb-456b-ba72-f278937e1abe
794e6b1d-78fc-47e4-bd77-75512eae487d
9cf73ca0-d934-4805-b7f8-7c49b8c6af67
2bf238d1-5d1b-402d-b0b1-83489dc6ab4d
0c3aa76d-21da-44d8-a1d5-3349b4d2df15
165b4298-517e-40c0-a974-f43ac4e41ef8
e482a97d-8626-48ec-89d0-99875695fd98
dfa08d3a-e993-4474-9c40-b5b278e8e999
e73761bf-638a-44db-994f-05a40a71d49a
fb4227f1-0a22-487f-a9e0-0efd8275e810

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)

fbe1f4aa-0a35-11f1-a7ef-4cf95d479851
fbe1f54a-0a35-11f1-a7ef-4cf95d479851
fbe1f5e0-0a35-11f1-a7ef-4cf95d479851
fbe1f676-0a35-11f1-a7ef-4cf95d479851
fbe1f6da-0a35-11f1-a7ef-4cf95d479851
fbe1f73e-0a35-11f1-a7ef-4cf95d479851
fbe1f7a2-0a35-11f1-a7ef-4cf95d479851
fbe1f806-0a35-11f1-a7ef-4cf95d479851
fbe1f860-0a35-11f1-a7ef-4cf95d479851
fbe1f8c4-0a35-11f1-a7ef-4cf95d479851
fbe1f946-0a35-11f1-a7ef-4cf95d479851
fbe1f9dc-0a35-11f1-a7ef-4cf95d479851
fbe1fa68-0a35-11f1-a7ef-4cf95d479851
fbe1faf4-0a35-11f1-a7ef-4cf95d479851
fbe1fb76-0a35-11f1-a7ef-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)

27fd1014-7a01-8e02-87ea-5ce32bd83b97
07391114-7a01-8e02-87ea-5ce32bd83b97
09691214-7a01-8e02-87ea-5ce32bd83b97
22901314-7a01-8e02-87ea-5ce32bd83b97
9b551414-7a01-8e02-87ea-5ce32bd83b97
243b1514-7a01-8e02-87ea-5ce32bd83b97
1baa1614-7a01-8e02-87ea-5ce32bd83b97
27471714-7a01-8e02-87ea-5ce32bd83b97
15001814-7a01-8e02-87ea-5ce32bd83b97
1a7e1a14-7a01-8e02-87ea-5ce32bd83b97
2b151b14-7a01-8e02-87ea-5ce32bd83b97
4eea1c14-7a01-8e02-87ea-5ce32bd83b97
23ac1d14-7a01-8e02-87ea-5ce32bd83b97
15291e14-7a01-8e02-87ea-5ce32bd83b97
dbf01f14-7a01-8e02-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: