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)

019b32a4-486b-7982-8109-78add1e68572
019b32a4-486b-7b17-97d5-115d78c02942
019b32a4-486b-7c98-b67e-1c487d798ac4
019b32a4-486b-7dbf-b43a-d58d88833d27
019b32a4-486b-7ede-86e4-4cab3a8a8eea
019b32a4-486b-7ff4-a874-822559798d8c
019b32a4-486c-710b-b990-7eee35ed0f0b
019b32a4-486c-7225-aa69-3346b1718304
019b32a4-486c-733c-bd90-98c683e52699
019b32a4-486c-7457-95bb-3f68a86dadc9
019b32a4-486c-756d-bfe8-b09bb9ab6e7c
019b32a4-486c-7688-8087-7a322a90837e
019b32a4-486c-77a2-b224-36f32f8452a6
019b32a4-486c-78b9-8050-1506b09cd0d3
019b32a4-486c-79d3-adf6-cf05d880114c

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)

1f0dc3c4-4ce5-6686-9fd8-4cf95d479851
1f0dc3c4-4ce5-6816-9fd8-4cf95d479851
1f0dc3c4-4ce5-68fc-9fd8-4cf95d479851
1f0dc3c4-4ce5-69ce-9fd8-4cf95d479851
1f0dc3c4-4ce5-6a96-9fd8-4cf95d479851
1f0dc3c4-4ce5-6b68-9fd8-4cf95d479851
1f0dc3c4-4ce5-6c26-9fd8-4cf95d479851
1f0dc3c4-4ce5-6cee-9fd8-4cf95d479851
1f0dc3c4-4ce5-6db6-9fd8-4cf95d479851
1f0dc3c4-4ce5-6e74-9fd8-4cf95d479851
1f0dc3c4-4ce5-6fb4-9fd8-4cf95d479851
1f0dc3c4-4ce6-6086-9fd8-4cf95d479851
1f0dc3c4-4ce6-614e-9fd8-4cf95d479851
1f0dc3c4-4ce6-620c-9fd8-4cf95d479851
1f0dc3c4-4ce6-62d4-9fd8-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)

5bbd7a60-e5f2-456f-9263-8dcbeca88f6d
d02583ee-4762-468c-beed-11b7f9b3ab82
f7abc1ef-76af-4da1-a390-ca71a82e6e77
a6edd2f2-81ec-4566-a744-fad6e6b996ac
67df5ed1-56b2-4065-9f39-219cc15d0b9f
e685923d-a6e0-434a-b820-051e35934341
4546347d-f725-4339-9ae7-28ac629edbe4
b0b13fee-7825-4efc-9ba0-36fa0ffafa66
354f1bde-d4cf-4ce1-bda5-448feae25fec
61f25249-2690-4b3c-a277-33f7dc75f8ae
c8c9a25e-9858-4a7a-b5dc-4f50e8b1736c
c138b9ef-af6d-46a8-8706-1bfc10424f71
d74c6d8b-c69f-49bb-bc51-66add1de694c
6b440bdb-9ea5-41aa-aa55-f4c9061bedff
97d293da-0605-47ce-8e40-1bb77adb802e

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)

44ce67f2-dc3c-11f0-9fd8-4cf95d479851
44ce6856-dc3c-11f0-9fd8-4cf95d479851
44ce68ba-dc3c-11f0-9fd8-4cf95d479851
44ce6928-dc3c-11f0-9fd8-4cf95d479851
44ce698c-dc3c-11f0-9fd8-4cf95d479851
44ce69f0-dc3c-11f0-9fd8-4cf95d479851
44ce6a54-dc3c-11f0-9fd8-4cf95d479851
44ce6ab8-dc3c-11f0-9fd8-4cf95d479851
44ce6b12-dc3c-11f0-9fd8-4cf95d479851
44ce6b76-dc3c-11f0-9fd8-4cf95d479851
44ce6bda-dc3c-11f0-9fd8-4cf95d479851
44ce6c3e-dc3c-11f0-9fd8-4cf95d479851
44ce6ca2-dc3c-11f0-9fd8-4cf95d479851
44ce6cfc-dc3c-11f0-9fd8-4cf95d479851
44ce6d60-dc3c-11f0-9fd8-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)

656ee619-3f04-8016-87e9-5ce32bd83b97
0087e719-3f04-8016-87e9-5ce32bd83b97
22c6e819-3f04-8016-87e9-5ce32bd83b97
0b1de919-3f04-8016-87e9-5ce32bd83b97
5ed1ea19-3f04-8016-87e9-5ce32bd83b97
77f4eb19-3f04-8016-87e9-5ce32bd83b97
3926ec19-3f04-8016-87e9-5ce32bd83b97
360aed19-3f04-8016-87e9-5ce32bd83b97
de74ee19-3f04-8016-87e9-5ce32bd83b97
d7fbef19-3f04-8016-87e9-5ce32bd83b97
ae9bf019-3f04-8016-87e9-5ce32bd83b97
1b63f119-3f04-8016-87e9-5ce32bd83b97
c5edf219-3f04-8016-87e9-5ce32bd83b97
bb8df419-3f04-8016-87e9-5ce32bd83b97
0181f519-3f04-8016-87e9-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

An 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

An UUIDv3 is made out of a MD5 hash and an 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: