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)

01a10f8b-f717-7dbf-8707-3c576de1a3bb
01a10f8b-f717-7f7d-922b-7f5806f0593e
01a10f8b-f718-70cd-b0cd-67c55d6654c2
01a10f8b-f718-71f4-9a5d-cbda1c376f21
01a10f8b-f718-7313-bc71-111e51650e29
01a10f8b-f718-7432-92de-59a4c4eb87d6
01a10f8b-f718-7550-950a-d9a5e0942471
01a10f8b-f718-766f-b921-5125f9a1472f
01a10f8b-f718-778e-9ce7-a9722eacb9a9
01a10f8b-f718-78a8-a6c5-58da10c87bfe
01a10f8b-f718-79c7-96d3-656400a1382c
01a10f8b-f718-7ae6-aed8-ea12653c2536
01a10f8b-f718-7c05-ba45-df57cef7cb57
01a10f8b-f718-7d1f-982f-e3bdc2dc4acb
01a10f8b-f718-7e3e-b3bc-61e857f8347a

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)

1f1c1415-ee58-61d0-873a-4cf95d479851
1f1c1415-ee58-63b0-873a-4cf95d479851
1f1c1415-ee58-64aa-873a-4cf95d479851
1f1c1415-ee58-6590-873a-4cf95d479851
1f1c1415-ee58-666c-873a-4cf95d479851
1f1c1415-ee58-6752-873a-4cf95d479851
1f1c1415-ee58-6824-873a-4cf95d479851
1f1c1415-ee58-68ec-873a-4cf95d479851
1f1c1415-ee58-6c20-873a-4cf95d479851
1f1c1415-ee58-6d2e-873a-4cf95d479851
1f1c1415-ee58-6e82-873a-4cf95d479851
1f1c1415-ee58-6f5e-873a-4cf95d479851
1f1c1415-ee59-6030-873a-4cf95d479851
1f1c1415-ee59-6102-873a-4cf95d479851
1f1c1415-ee59-61d4-873a-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)

5ee592ba-c141-11f1-873a-4cf95d479851
5ee59328-c141-11f1-873a-4cf95d479851
5ee5938c-c141-11f1-873a-4cf95d479851
5ee593f0-c141-11f1-873a-4cf95d479851
5ee59454-c141-11f1-873a-4cf95d479851
5ee594b8-c141-11f1-873a-4cf95d479851
5ee59526-c141-11f1-873a-4cf95d479851
5ee59594-c141-11f1-873a-4cf95d479851
5ee595f8-c141-11f1-873a-4cf95d479851
5ee59652-c141-11f1-873a-4cf95d479851
5ee596b6-c141-11f1-873a-4cf95d479851
5ee5971a-c141-11f1-873a-4cf95d479851
5ee5977e-c141-11f1-873a-4cf95d479851
5ee597e2-c141-11f1-873a-4cf95d479851
5ee59850-c141-11f1-873a-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)

66b86f35-2201-8711-87ea-5ce32bd83b97
3b3d7035-2201-8711-87ea-5ce32bd83b97
758e7135-2201-8711-87ea-5ce32bd83b97
c8e27235-2201-8711-87ea-5ce32bd83b97
1e107335-2201-8711-87ea-5ce32bd83b97
98f67435-2201-8711-87ea-5ce32bd83b97
e97b7535-2201-8711-87ea-5ce32bd83b97
d2077635-2201-8711-87ea-5ce32bd83b97
5c507735-2201-8711-87ea-5ce32bd83b97
b72e7835-2201-8711-87ea-5ce32bd83b97
786a7935-2201-8711-87ea-5ce32bd83b97
d0ca7a35-2201-8711-87ea-5ce32bd83b97
1fb37b35-2201-8711-87ea-5ce32bd83b97
8aa77c35-2201-8711-87ea-5ce32bd83b97
464a7d35-2201-8711-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)

59fda477-7f5b-4595-9f28-baf502768f48
3f69008c-f1c2-4111-9d2d-982fb64880cb
118a9268-8efc-4e62-9968-dfb43a057ff4
09bafa55-73bd-4c27-88a8-bb82c4dc2503
ea072804-f8d7-4bd0-9f84-63a7dfb4d0e6
02c55b2c-b420-4313-ac90-f63e35cccf8c
fe9cb206-a9f9-4590-8fdb-cae7689a7455
e3918e17-2898-4373-9654-397d84d2a8f3
8aaa6b06-2ec7-40fe-9a87-4447af6c83c5
c72f16c8-d59a-4998-93c2-53dea5bec123
d513d425-177d-48a6-b5a6-6f278aa174db
b1177dc4-1fe5-4f15-bf4e-835764554851
515370f7-007a-4726-b26a-06f1772d9e7c
19de14d4-de5e-483d-81cd-fe16ca2d1813
c4acc46b-0d0e-49a7-8ddf-51070106c333

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: