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)

019c560a-bfb4-7cf6-aa3e-2d5ade576d27
019c560a-bfb4-7e98-9f34-68ce085c9e71
019c560a-bfb4-7fd8-98c6-57f4fcb9054a
019c560a-bfb5-70fe-aee3-0dbfc79e9263
019c560a-bfb5-7221-a908-90c58b04d4d4
019c560a-bfb5-733c-b6aa-43e5f55a938b
019c560a-bfb5-7457-8c65-21f59e6e557c
019c560a-bfb5-7571-a78b-4982dbbf7f48
019c560a-bfb5-768c-b211-39cc5dbe814c
019c560a-bfb5-77aa-b3bc-ab08a65f6dc5
019c560a-bfb5-78c9-89fc-6c36bc647377
019c560a-bfb5-79e0-874d-ea3e183aac5d
019c560a-bfb5-7afa-bec2-cf83530ae568
019c560a-bfb5-7c19-a661-a14e3fcc03de
019c560a-bfb5-7d34-9201-6c2cbb4afa14

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)

1f108b31-761f-62c2-9a12-4cf95d479851
1f108b31-761f-6466-9a12-4cf95d479851
1f108b31-761f-654c-9a12-4cf95d479851
1f108b31-761f-661e-9a12-4cf95d479851
1f108b31-761f-66e6-9a12-4cf95d479851
1f108b31-761f-67ae-9a12-4cf95d479851
1f108b31-761f-686c-9a12-4cf95d479851
1f108b31-761f-692a-9a12-4cf95d479851
1f108b31-761f-69f2-9a12-4cf95d479851
1f108b31-761f-6ab0-9a12-4cf95d479851
1f108b31-761f-6c0e-9a12-4cf95d479851
1f108b31-761f-6cd6-9a12-4cf95d479851
1f108b31-761f-6d94-9a12-4cf95d479851
1f108b31-761f-6e52-9a12-4cf95d479851
1f108b31-761f-6f1a-9a12-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)

1971fd01-e5e4-432d-b3c6-5511c1dc7652
f2e32348-ef89-42f2-ba14-fa2fca873c34
167f962a-98ec-407a-8a90-caf4ce232c5d
172bf308-b3c0-4a83-b9d8-c9148e493d6e
88c28a52-94e0-494b-bc0b-8d1aad1c60e7
12aac97b-0ece-4d62-ba3b-bd231dc8d5be
908d4221-dcf0-4bde-93d7-7dd22ca67af3
cde9d027-b38d-44a8-abd0-e46146dc3ce6
e23c5ee5-e2c5-4a12-aef2-5f4d8a4da11c
5628b6cc-1f1c-4f6e-ae94-a6a4f97d12f6
cf764228-28af-4def-a07e-425b28d28f90
e79e9842-d04e-44b0-9f35-b2428976a21d
ec3e9a23-d85a-4385-8599-7bcccdec3c0e
9aa652e1-458e-44b8-992f-9d1bebbe2187
0d57d9bf-081d-43d0-802a-a640908463fb

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)

1762046a-08b3-11f1-9a12-4cf95d479851
176204c4-08b3-11f1-9a12-4cf95d479851
17620528-08b3-11f1-9a12-4cf95d479851
17620582-08b3-11f1-9a12-4cf95d479851
176205e6-08b3-11f1-9a12-4cf95d479851
17620640-08b3-11f1-9a12-4cf95d479851
176206a4-08b3-11f1-9a12-4cf95d479851
176206fe-08b3-11f1-9a12-4cf95d479851
17620762-08b3-11f1-9a12-4cf95d479851
176207c6-08b3-11f1-9a12-4cf95d479851
17620820-08b3-11f1-9a12-4cf95d479851
17620884-08b3-11f1-9a12-4cf95d479851
176208f2-08b3-11f1-9a12-4cf95d479851
17620956-08b3-11f1-9a12-4cf95d479851
176209ba-08b3-11f1-9a12-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)

27b8f732-e801-8c02-87ea-5ce32bd83b97
d4a2f832-e801-8c02-87ea-5ce32bd83b97
e1ecf932-e801-8c02-87ea-5ce32bd83b97
1e9bfa32-e801-8c02-87ea-5ce32bd83b97
7e35fb32-e801-8c02-87ea-5ce32bd83b97
c21dfc32-e801-8c02-87ea-5ce32bd83b97
b96bfd32-e801-8c02-87ea-5ce32bd83b97
44adfe32-e801-8c02-87ea-5ce32bd83b97
a19bff32-e801-8c02-87ea-5ce32bd83b97
bf390133-e801-8c02-87ea-5ce32bd83b97
ea840233-e801-8c02-87ea-5ce32bd83b97
c2de0333-e801-8c02-87ea-5ce32bd83b97
f3ee0433-e801-8c02-87ea-5ce32bd83b97
72bd0533-e801-8c02-87ea-5ce32bd83b97
08d10633-e801-8c02-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: