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)

019fcf16-ec67-760d-a9c9-0800324e82ee
019fcf16-ec67-77cf-9ba9-9d4f6b28a9cd
019fcf16-ec67-790b-a66e-40ca08200607
019fcf16-ec67-7a25-8a40-1886a74ff17e
019fcf16-ec67-7b3c-9b69-3961f2d7e91b
019fcf16-ec67-7c4e-9291-9c4bba9e7b72
019fcf16-ec67-7d61-bacf-7793a5c98d70
019fcf16-ec67-7e73-9d2a-df74331f7529
019fcf16-ec67-7f86-a20a-0b5c51f917db
019fcf16-ec68-709c-8bf1-d7ab29771c7d
019fcf16-ec68-71b3-bfc6-0c6167aa9c4e
019fcf16-ec68-72c1-9b26-05d12a7c246f
019fcf16-ec68-73d3-bf13-21722e61d2e4
019fcf16-ec68-74e6-9478-33a835dae02c
019fcf16-ec68-75f8-a7b4-7b3ae41823c2

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)

1f1905b8-2f3f-62a8-a7a6-4cf95d479851
1f1905b8-2f3f-6442-a7a6-4cf95d479851
1f1905b8-2f3f-6528-a7a6-4cf95d479851
1f1905b8-2f3f-65fa-a7a6-4cf95d479851
1f1905b8-2f3f-66c2-a7a6-4cf95d479851
1f1905b8-2f3f-6780-a7a6-4cf95d479851
1f1905b8-2f3f-683e-a7a6-4cf95d479851
1f1905b8-2f3f-68fc-a7a6-4cf95d479851
1f1905b8-2f3f-69ba-a7a6-4cf95d479851
1f1905b8-2f3f-6a78-a7a6-4cf95d479851
1f1905b8-2f3f-6bc2-a7a6-4cf95d479851
1f1905b8-2f3f-6c94-a7a6-4cf95d479851
1f1905b8-2f3f-6d48-a7a6-4cf95d479851
1f1905b8-2f3f-6e06-a7a6-4cf95d479851
1f1905b8-2f3f-6ec4-a7a6-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)

82f3ff96-905b-11f1-a7a6-4cf95d479851
82f3fff0-905b-11f1-a7a6-4cf95d479851
82f40054-905b-11f1-a7a6-4cf95d479851
82f400ae-905b-11f1-a7a6-4cf95d479851
82f40112-905b-11f1-a7a6-4cf95d479851
82f40176-905b-11f1-a7a6-4cf95d479851
82f401d0-905b-11f1-a7a6-4cf95d479851
82f40234-905b-11f1-a7a6-4cf95d479851
82f40298-905b-11f1-a7a6-4cf95d479851
82f402fc-905b-11f1-a7a6-4cf95d479851
82f40360-905b-11f1-a7a6-4cf95d479851
82f403c4-905b-11f1-a7a6-4cf95d479851
82f40428-905b-11f1-a7a6-4cf95d479851
82f4048c-905b-11f1-a7a6-4cf95d479851
82f404f0-905b-11f1-a7a6-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)

ee5add21-7c05-880d-87ea-5ce32bd83b97
259ade21-7c05-880d-87ea-5ce32bd83b97
e208df21-7c05-880d-87ea-5ce32bd83b97
3adbe021-7c05-880d-87ea-5ce32bd83b97
9391e121-7c05-880d-87ea-5ce32bd83b97
5a8ae221-7c05-880d-87ea-5ce32bd83b97
99d7e321-7c05-880d-87ea-5ce32bd83b97
08f8e421-7c05-880d-87ea-5ce32bd83b97
329fe521-7c05-880d-87ea-5ce32bd83b97
7149e621-7c05-880d-87ea-5ce32bd83b97
67ace721-7c05-880d-87ea-5ce32bd83b97
4ae8e821-7c05-880d-87ea-5ce32bd83b97
72c2e921-7c05-880d-87ea-5ce32bd83b97
88f8ea21-7c05-880d-87ea-5ce32bd83b97
3a27eb21-7c05-880d-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)

c74a6fbb-aaab-4549-9a98-98a3a06ff1a1
ed6b84d2-31ec-4397-8c42-c9ccb5819505
005769a3-8139-4baf-9647-1e476c17af76
c5a09d3b-a9cc-4c4d-b3a9-8c277968c889
ef9da612-1d86-4230-88d7-3e720a398dc5
a5003155-819e-4408-8bd5-da9c3c545707
93522c3f-a8ba-42ee-95c3-ffc911aa1cd9
b82752d5-5f29-43a9-a092-6d61918bc4a7
1a195de0-ecd6-4e75-ad5b-4926e3d649e3
3fd2b564-6b77-41e4-9f68-9955d4a48930
5b783b70-f41d-4b76-9aca-81a770923f01
7a3cdc15-a658-4f94-8d09-3af2ee6d6b61
68f13c7a-893e-46de-8bce-b21d0079a97b
ce97db3f-4838-4ab7-8d20-24efbad38954
e7075946-a3ba-4f46-9c8c-312b017a2bad

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: