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)

01a1b57c-af52-70cd-8072-c92db3051a71
01a1b57c-af52-726f-877d-7f7c7d19bb3f
01a1b57c-af52-73aa-9598-fce312b6ac4e
01a1b57c-af52-74c5-9116-fa41a4d2b32d
01a1b57c-af52-75f0-a7fc-b3935b96881f
01a1b57c-af52-7727-aa52-0b02f847225e
01a1b57c-af52-7842-8419-27e16e641f22
01a1b57c-af52-7954-8afb-486fe970f3de
01a1b57c-af52-7a6b-824d-67894abcb0e2
01a1b57c-af52-7b7d-a189-8736387ef8f9
01a1b57c-af52-7c90-916f-8647309a23c3
01a1b57c-af52-7d9e-866c-cca7aa336026
01a1b57c-af52-7eb5-b596-5a4cba4123fd
01a1b57c-af52-7fc7-b4e4-97a9d76942db
01a1b57c-af53-70da-9f67-5af5f8f2c1f1

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)

1f1da936-a01e-61d8-b5cf-4cf95d479851
1f1da936-a01e-6390-b5cf-4cf95d479851
1f1da936-a01e-6476-b5cf-4cf95d479851
1f1da936-a01e-653e-b5cf-4cf95d479851
1f1da936-a01e-6610-b5cf-4cf95d479851
1f1da936-a01e-66ce-b5cf-4cf95d479851
1f1da936-a01e-6796-b5cf-4cf95d479851
1f1da936-a01e-6854-b5cf-4cf95d479851
1f1da936-a01e-6912-b5cf-4cf95d479851
1f1da936-a01e-69da-b5cf-4cf95d479851
1f1da936-a01e-6b2e-b5cf-4cf95d479851
1f1da936-a01e-6c00-b5cf-4cf95d479851
1f1da936-a01e-6cd2-b5cf-4cf95d479851
1f1da936-a01e-6d9a-b5cf-4cf95d479851
1f1da936-a01e-6e76-b5cf-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)

6a01ef52-da93-11f1-b5cf-4cf95d479851
6a01efc0-da93-11f1-b5cf-4cf95d479851
6a01f024-da93-11f1-b5cf-4cf95d479851
6a01f088-da93-11f1-b5cf-4cf95d479851
6a01f0f6-da93-11f1-b5cf-4cf95d479851
6a01f15a-da93-11f1-b5cf-4cf95d479851
6a01f1be-da93-11f1-b5cf-4cf95d479851
6a01f22c-da93-11f1-b5cf-4cf95d479851
6a01f286-da93-11f1-b5cf-4cf95d479851
6a01f2ea-da93-11f1-b5cf-4cf95d479851
6a01f344-da93-11f1-b5cf-4cf95d479851
6a01f3a8-da93-11f1-b5cf-4cf95d479851
6a01f416-da93-11f1-b5cf-4cf95d479851
6a01f47a-da93-11f1-b5cf-4cf95d479851
6a01f4de-da93-11f1-b5cf-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)

30c7df09-6302-8713-87ea-5ce32bd83b97
47bfe009-6302-8713-87ea-5ce32bd83b97
1bb7e109-6302-8713-87ea-5ce32bd83b97
e0c6e309-6302-8713-87ea-5ce32bd83b97
40cfe409-6302-8713-87ea-5ce32bd83b97
004ce509-6302-8713-87ea-5ce32bd83b97
0469e609-6302-8713-87ea-5ce32bd83b97
f905e709-6302-8713-87ea-5ce32bd83b97
6d28e809-6302-8713-87ea-5ce32bd83b97
fd55e909-6302-8713-87ea-5ce32bd83b97
18c5ea09-6302-8713-87ea-5ce32bd83b97
8e7deb09-6302-8713-87ea-5ce32bd83b97
78e3ec09-6302-8713-87ea-5ce32bd83b97
0f3ced09-6302-8713-87ea-5ce32bd83b97
9199ee09-6302-8713-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)

1c85cb51-44a0-4db7-b522-8ac274cd3e6a
1d81baa6-efcb-412c-b960-130e740e91ea
bf228657-48d9-4054-abb4-d659ded53cbf
4623b2dc-c83e-41bf-ad35-4814879addd9
7c149670-4ae4-42c2-a236-1950f84b2ae7
c7e5ad26-0dc6-4449-8b42-aa8743e3ebae
4d79ee6c-60b5-4423-8732-9a9354810638
aebcd4af-974c-4dc3-b35e-f906ec42a067
af6fad4a-6b55-4d27-8ad3-a247ecc35bcc
75ffc773-f23a-418d-865d-7b44c28b7002
3437febb-6b75-46b7-89af-6e8d023af912
e099cdbf-f502-41ea-bbfc-096cca4a9f3d
86dab6d0-d4d5-469d-ad4a-1f95214c650f
25c11ce4-c41f-41b5-b9ca-d29965cab206
22e86e2f-d6b4-4615-86e9-722434711da7

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: