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)

01a17faa-0da2-7d30-bc8d-f378edbab779
01a17faa-0da2-7ec9-a311-9a3922303396
01a17faa-0da2-7005-9ef0-1e6865fde2cb
01a17faa-0da3-711f-9f25-870f5821545f
01a17faa-0da3-7236-b79a-f37723010d5e
01a17faa-0da3-7348-a86e-6890b82e9312
01a17faa-0da3-745b-8287-27b2864c2997
01a17faa-0da3-756d-9c0a-2d3098ecba9e
01a17faa-0da3-767f-bd7c-25147b4a1e8d
01a17faa-0da3-7796-9d44-2ac999830ca1
01a17faa-0da3-78a8-b7f1-59f3efc14475
01a17faa-0da3-79bf-b7bf-91699b5062ea
01a17faa-0da3-7ae2-84b1-446105640a70
01a17faa-0da3-7bf4-b5da-49f6bd2bc676
01a17faa-0da3-7d07-8b77-f2f90ead7cf1

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)

1f1d25cf-6361-6500-bcec-4cf95d479851
1f1d25cf-6361-66ae-bcec-4cf95d479851
1f1d25cf-6361-6794-bcec-4cf95d479851
1f1d25cf-6361-6870-bcec-4cf95d479851
1f1d25cf-6361-6938-bcec-4cf95d479851
1f1d25cf-6361-6a0a-bcec-4cf95d479851
1f1d25cf-6361-6c26-bcec-4cf95d479851
1f1d25cf-6361-6d02-bcec-4cf95d479851
1f1d25cf-6361-6dd4-bcec-4cf95d479851
1f1d25cf-6361-6ea6-bcec-4cf95d479851
1f1d25cf-6361-6ff0-bcec-4cf95d479851
1f1d25cf-6362-60cc-bcec-4cf95d479851
1f1d25cf-6362-61d0-bcec-4cf95d479851
1f1d25cf-6362-62ac-bcec-4cf95d479851
1f1d25cf-6362-6374-bcec-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)

f6362450-d25c-11f1-bcec-4cf95d479851
f63624b4-d25c-11f1-bcec-4cf95d479851
f6362518-d25c-11f1-bcec-4cf95d479851
f636257c-d25c-11f1-bcec-4cf95d479851
f63625e0-d25c-11f1-bcec-4cf95d479851
f636263a-d25c-11f1-bcec-4cf95d479851
f63626b2-d25c-11f1-bcec-4cf95d479851
f636270c-d25c-11f1-bcec-4cf95d479851
f636277a-d25c-11f1-bcec-4cf95d479851
f63627de-d25c-11f1-bcec-4cf95d479851
f6362838-d25c-11f1-bcec-4cf95d479851
f636289c-d25c-11f1-bcec-4cf95d479851
f6362900-d25c-11f1-bcec-4cf95d479851
f6362964-d25c-11f1-bcec-4cf95d479851
f63629be-d25c-11f1-bcec-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)

9bda7a0d-7905-8c12-87ea-5ce32bd83b97
02a57b0d-7905-8c12-87ea-5ce32bd83b97
36b77c0d-7905-8c12-87ea-5ce32bd83b97
98177d0d-7905-8c12-87ea-5ce32bd83b97
ad717e0d-7905-8c12-87ea-5ce32bd83b97
5c2f7f0d-7905-8c12-87ea-5ce32bd83b97
8141800d-7905-8c12-87ea-5ce32bd83b97
eeb0810d-7905-8c12-87ea-5ce32bd83b97
42d6820d-7905-8c12-87ea-5ce32bd83b97
f49a830d-7905-8c12-87ea-5ce32bd83b97
ac32840d-7905-8c12-87ea-5ce32bd83b97
f7ad850d-7905-8c12-87ea-5ce32bd83b97
c137860d-7905-8c12-87ea-5ce32bd83b97
d37e870d-7905-8c12-87ea-5ce32bd83b97
99e4880d-7905-8c12-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)

177ddaac-b9c1-44ad-9331-bdb1f7c5523b
d0fcf738-5e77-4c9f-93c0-1ca97244b712
b3feaef7-8e4c-46ad-ac74-4895bfb2bbb6
fcd2cab5-6444-4d3e-92ca-4b0899cf5255
164578e6-0210-42ae-a5e3-65ad7d61b2e9
21b1fd45-a558-480c-95f3-3bbbb98c05f2
4161bb49-10e6-44aa-86e8-3ceb7f22abca
a594ca54-329a-45fc-a937-7c7d9a837c60
36e8e67b-9170-4cbc-9586-7511984138c1
22cbb70e-9afb-46ab-8fc9-e8b35df17c7b
5ccd4fe8-b9b7-4a11-92b4-dcc2cbb0ba42
8983649c-6798-47e3-a61b-73120fbec8d6
30112d3f-2060-495a-8701-df88c1bc72d3
e6ca7959-04bf-4d23-a9c1-b5652b5e0640
1d3b2005-4a73-49ff-a4e4-71999b804fa5

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: