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)

01a02a42-9ffe-706f-adfa-6a15a8897336
01a02a42-9ffe-7209-a7fd-925b80588bf4
01a02a42-9ffe-7348-a4fb-8aad4febaeee
01a02a42-9ffe-7463-94de-2dd9ec0e3036
01a02a42-9ffe-7575-af8c-303ff3905e39
01a02a42-9ffe-7688-a823-a16ac8ef73c2
01a02a42-9ffe-779a-a424-9fde13581723
01a02a42-9ffe-78b1-a0d6-9c5a091c9d30
01a02a42-9ffe-79c7-984a-3c992840022a
01a02a42-9ffe-7ada-8072-7fcaef72fc05
01a02a42-9ffe-7bf0-9310-fd4c1d1a6dd3
01a02a42-9ffe-7d0f-a21d-643ebab95188
01a02a42-9ffe-7e21-972e-c50ae82df846
01a02a42-9ffe-7f34-97f1-6ce6533e148e
01a02a42-9fff-7046-9244-b6a6cc3b8986

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)

1f19e44d-e0b1-6d8c-b34e-4cf95d479851
1f19e44d-e0b1-6f26-b34e-4cf95d479851
1f19e44d-e0b2-6016-b34e-4cf95d479851
1f19e44d-e0b2-60e8-b34e-4cf95d479851
1f19e44d-e0b2-61b0-b34e-4cf95d479851
1f19e44d-e0b2-6278-b34e-4cf95d479851
1f19e44d-e0b2-6340-b34e-4cf95d479851
1f19e44d-e0b2-6408-b34e-4cf95d479851
1f19e44d-e0b2-64c6-b34e-4cf95d479851
1f19e44d-e0b2-658e-b34e-4cf95d479851
1f19e44d-e0b2-66d8-b34e-4cf95d479851
1f19e44d-e0b2-67aa-b34e-4cf95d479851
1f19e44d-e0b2-6872-b34e-4cf95d479851
1f19e44d-e0b2-6944-b34e-4cf95d479851
1f19e44d-e0b2-6a02-b34e-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)

de0b2ade-9e44-11f1-b34e-4cf95d479851
de0b2b42-9e44-11f1-b34e-4cf95d479851
de0b2bb0-9e44-11f1-b34e-4cf95d479851
de0b2c1e-9e44-11f1-b34e-4cf95d479851
de0b2c82-9e44-11f1-b34e-4cf95d479851
de0b2ce6-9e44-11f1-b34e-4cf95d479851
de0b2d4a-9e44-11f1-b34e-4cf95d479851
de0b2dae-9e44-11f1-b34e-4cf95d479851
de0b2e12-9e44-11f1-b34e-4cf95d479851
de0b2e76-9e44-11f1-b34e-4cf95d479851
de0b2eda-9e44-11f1-b34e-4cf95d479851
de0b2f34-9e44-11f1-b34e-4cf95d479851
de0b2f98-9e44-11f1-b34e-4cf95d479851
de0b2ffc-9e44-11f1-b34e-4cf95d479851
de0b3056-9e44-11f1-b34e-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)

9f238b2c-d103-8a0e-87ea-5ce32bd83b97
97448c2c-d103-8a0e-87ea-5ce32bd83b97
5ac18d2c-d103-8a0e-87ea-5ce32bd83b97
f5d78e2c-d103-8a0e-87ea-5ce32bd83b97
07a88f2c-d103-8a0e-87ea-5ce32bd83b97
353c902c-d103-8a0e-87ea-5ce32bd83b97
ca9f912c-d103-8a0e-87ea-5ce32bd83b97
3d49922c-d103-8a0e-87ea-5ce32bd83b97
4d75932c-d103-8a0e-87ea-5ce32bd83b97
708b942c-d103-8a0e-87ea-5ce32bd83b97
9388952c-d103-8a0e-87ea-5ce32bd83b97
9774962c-d103-8a0e-87ea-5ce32bd83b97
1420972c-d103-8a0e-87ea-5ce32bd83b97
90a2982c-d103-8a0e-87ea-5ce32bd83b97
8109992c-d103-8a0e-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)

801efda7-afec-47a0-b232-cd4ddebd4f65
74942ed8-4760-4b17-b97e-9125cc6e138c
31286758-ae33-4c01-b598-dee6a7bd9e87
9cb464c6-5281-4732-a6a9-383b8dc2723b
b07e1c93-e0be-45d1-b274-b2e59641cba0
8bd2abf7-613a-44f2-a762-a96e466d31c8
d4dd704b-f1c8-4f7b-8831-cb8327289cac
221e93ff-c733-4def-9f75-d1c2660c0d34
9f440c10-bc77-4099-937a-3412fd71aec5
17e26c89-4ec6-44f1-9c28-b8b84eec12d4
76f7b13d-4abb-425f-b3ca-4ba88efa6efc
7a574b42-b020-47ca-9a05-0fb4297de1e8
8cf07549-6c80-4394-bc21-47ea3d92dd3c
1ac1a6d6-026e-4dc3-baad-3a33cfed3aee
7229736a-e8b1-452d-912b-a2f279e91dce

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: