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)

019c5a44-8373-7015-b15c-0605e8fc32a7
019c5a44-8374-71b7-a70e-66e0fda1ca7e
019c5a44-8374-72fa-94df-551d24d8d5d6
019c5a44-8374-7419-9461-f136b56d1fd6
019c5a44-8374-7530-b994-83ed2e7519b3
019c5a44-8374-764a-92ff-f4d64f1beb4a
019c5a44-8374-7761-853e-95e3101661d4
019c5a44-8374-7877-8ee2-10b8667e893c
019c5a44-8374-7992-8b71-2664029232aa
019c5a44-8374-7aad-9327-ed9e036da664
019c5a44-8374-7bc3-86b9-3787511ea984
019c5a44-8374-7cda-bb77-f4d193953650
019c5a44-8374-7df0-9907-71f35cf23aca
019c5a44-8374-7f07-bfd4-33c8249a62cd
019c5a44-8375-701d-95c3-8387d2dede42

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)

1f109582-7d04-6e7e-ad4a-4cf95d479851
1f109582-7d05-602c-ad4a-4cf95d479851
1f109582-7d05-6112-ad4a-4cf95d479851
1f109582-7d05-61ee-ad4a-4cf95d479851
1f109582-7d05-62b6-ad4a-4cf95d479851
1f109582-7d05-6388-ad4a-4cf95d479851
1f109582-7d05-6446-ad4a-4cf95d479851
1f109582-7d05-650e-ad4a-4cf95d479851
1f109582-7d05-65d6-ad4a-4cf95d479851
1f109582-7d05-669e-ad4a-4cf95d479851
1f109582-7d05-67f2-ad4a-4cf95d479851
1f109582-7d05-68c4-ad4a-4cf95d479851
1f109582-7d05-698c-ad4a-4cf95d479851
1f109582-7d05-6a54-ad4a-4cf95d479851
1f109582-7d05-6b12-ad4a-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)

5c292842-dd97-4414-99c8-db3329f62572
35feb569-a132-43de-838c-7f60353d0922
e17b5f75-0552-45bb-a607-fc69987f479c
d22b02cb-cb66-400f-a845-74fee57b43ca
e03dd34e-d78a-4441-92f6-ff09fa345b6c
b1b9030a-9dc1-447a-b6c5-5b97e76154c2
679ab835-96be-4e82-a301-563e6863e646
2a75fac8-aeb2-459c-8bf2-2c306060951a
1bff790d-3edf-4088-9a5a-b4942e2bd1d7
eb24474b-f40b-44b2-bab1-ce1327ab8d54
fdccb9d3-d323-446c-9cfb-7665ca2ad7d3
c7e667f5-05e7-47a1-ab23-be8d781a474b
2fff6f62-b7b7-4d31-8266-8a40f6379560
fb63be01-086a-4809-9569-ab3104daf075
b5c64c95-979f-4f21-a2e2-8698dcc55145

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)

27d06044-0958-11f1-ad4a-4cf95d479851
27d060b2-0958-11f1-ad4a-4cf95d479851
27d06116-0958-11f1-ad4a-4cf95d479851
27d06170-0958-11f1-ad4a-4cf95d479851
27d061de-0958-11f1-ad4a-4cf95d479851
27d06238-0958-11f1-ad4a-4cf95d479851
27d06292-0958-11f1-ad4a-4cf95d479851
27d06300-0958-11f1-ad4a-4cf95d479851
27d06364-0958-11f1-ad4a-4cf95d479851
27d063d2-0958-11f1-ad4a-4cf95d479851
27d06436-0958-11f1-ad4a-4cf95d479851
27d0649a-0958-11f1-ad4a-4cf95d479851
27d064f4-0958-11f1-ad4a-4cf95d479851
27d06558-0958-11f1-ad4a-4cf95d479851
27d065bc-0958-11f1-ad4a-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)

db377e19-e600-8d02-87ea-5ce32bd83b97
6feb7f19-e600-8d02-87ea-5ce32bd83b97
62c48019-e600-8d02-87ea-5ce32bd83b97
f4788119-e600-8d02-87ea-5ce32bd83b97
8a858219-e600-8d02-87ea-5ce32bd83b97
496b8319-e600-8d02-87ea-5ce32bd83b97
18e88419-e600-8d02-87ea-5ce32bd83b97
278f8519-e600-8d02-87ea-5ce32bd83b97
46a48619-e600-8d02-87ea-5ce32bd83b97
94128719-e600-8d02-87ea-5ce32bd83b97
30638819-e600-8d02-87ea-5ce32bd83b97
b1c58a19-e600-8d02-87ea-5ce32bd83b97
a8f38b19-e600-8d02-87ea-5ce32bd83b97
5f558c19-e600-8d02-87ea-5ce32bd83b97
18568d19-e600-8d02-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: