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)

019babaf-dd91-7a29-a4d5-c1479992e82e
019babaf-dd91-7bfc-9afb-b5a46add2750
019babaf-dd91-7d79-a828-9834c5936e7c
019babaf-dd91-7ed5-a34f-de8909a9bf67
019babaf-dd92-7021-97c7-5956eadc266f
019babaf-dd92-7171-8a7f-16844852abef
019babaf-dd92-7534-8d90-549166165e25
019babaf-dd92-7694-803f-aaf41fc37eed
019babaf-dd92-77ec-8a51-2ea41cc08bd5
019babaf-dd92-7940-afaf-701895752870
019babaf-dd92-7a8c-9d4f-a39821051238
019babaf-dd92-7bd8-bebf-f74fbb57b38d
019babaf-dd92-7d23-9701-aff6072246d3
019babaf-dd92-7e6f-a808-fdc62045b451
019babaf-dd93-70a0-8ee2-b0ef9250c05e

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)

1f0eeb49-9408-643e-ac9e-4cf95d479851
1f0eeb49-9408-66a0-ac9e-4cf95d479851
1f0eeb49-9408-6844-ac9e-4cf95d479851
1f0eeb49-9408-69c0-ac9e-4cf95d479851
1f0eeb49-9408-6b1e-ac9e-4cf95d479851
1f0eeb49-9408-6c86-ac9e-4cf95d479851
1f0eeb49-9408-6dee-ac9e-4cf95d479851
1f0eeb49-9408-6f42-ac9e-4cf95d479851
1f0eeb49-9409-60aa-ac9e-4cf95d479851
1f0eeb49-9409-6212-ac9e-4cf95d479851
1f0eeb49-9409-6406-ac9e-4cf95d479851
1f0eeb49-9409-6578-ac9e-4cf95d479851
1f0eeb49-9409-66d6-ac9e-4cf95d479851
1f0eeb49-9409-682a-ac9e-4cf95d479851
1f0eeb49-9409-6992-ac9e-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)

084e3b29-56f0-4365-8b07-a18008c945b4
44f9dbf5-7bdf-4dce-bae4-39c9e61284b4
3311d4b2-65cc-49e1-a5c0-d7fe4a51388f
0670272a-9a3a-41ad-b450-f20cc3b242f6
fcdfb0a4-f2f1-40ce-8eb2-f510f7c23fca
82cf868b-9c42-47f8-95c0-2ecdf3e6866e
a40e333d-95b0-494d-9679-16e6f62c6e34
943bb646-fec1-4c17-99f1-c1ea18efb6bb
e382214d-28b1-4836-924c-081d98785838
18215cbc-fd2f-4827-b390-ffb87203f388
e4babee4-328c-49f4-b184-941688d8455b
3ecfeb6b-4ae5-4948-917c-fcee1059501a
eb5e21c2-07c5-429d-8405-4a9cd5d9ef11
ac4026ba-a024-4fcd-9579-92b85a3c160b
21d1fe72-b52c-46f2-8cc1-59362cd6257c

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)

9940a0ae-eeb4-11f0-ac9e-4cf95d479851
9940a158-eeb4-11f0-ac9e-4cf95d479851
9940a1e4-eeb4-11f0-ac9e-4cf95d479851
9940a27a-eeb4-11f0-ac9e-4cf95d479851
9940a31a-eeb4-11f0-ac9e-4cf95d479851
9940a3b0-eeb4-11f0-ac9e-4cf95d479851
9940a446-eeb4-11f0-ac9e-4cf95d479851
9940a4d2-eeb4-11f0-ac9e-4cf95d479851
9940a568-eeb4-11f0-ac9e-4cf95d479851
9940a5fe-eeb4-11f0-ac9e-4cf95d479851
9940a6a8-eeb4-11f0-ac9e-4cf95d479851
9940a73e-eeb4-11f0-ac9e-4cf95d479851
9940a7de-eeb4-11f0-ac9e-4cf95d479851
9940a888-eeb4-11f0-ac9e-4cf95d479851
9940a91e-eeb4-11f0-ac9e-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)

21111e08-7601-8b00-87ea-5ce32bd83b97
dd031f08-7601-8b00-87ea-5ce32bd83b97
4dd82008-7601-8b00-87ea-5ce32bd83b97
1a092108-7601-8b00-87ea-5ce32bd83b97
83e52208-7601-8b00-87ea-5ce32bd83b97
9b142308-7601-8b00-87ea-5ce32bd83b97
447d2408-7601-8b00-87ea-5ce32bd83b97
43a22508-7601-8b00-87ea-5ce32bd83b97
06022608-7601-8b00-87ea-5ce32bd83b97
6fbe2708-7601-8b00-87ea-5ce32bd83b97
add82808-7601-8b00-87ea-5ce32bd83b97
77dc2908-7601-8b00-87ea-5ce32bd83b97
48502a08-7601-8b00-87ea-5ce32bd83b97
147a2b08-7601-8b00-87ea-5ce32bd83b97
0c412c08-7601-8b00-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: