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)

01a1efcc-3d20-7f13-9d34-a07a49bbf665
01a1efcc-3d21-70cd-9898-b2d85b6f7d12
01a1efcc-3d21-7219-b0ad-3830a582cb22
01a1efcc-3d21-733c-867c-7872857f5838
01a1efcc-3d21-73ec-af60-abc5dd861264
01a1efcc-3d21-7534-9694-3ddc4eb3d07d
01a1efcc-3d21-7663-8c9f-5a70da1a9aaa
01a1efcc-3d21-7782-a236-8a7d415fc461
01a1efcc-3d21-789c-95e5-ac32ecbca68a
01a1efcc-3d21-79bb-a0eb-fe1bdcc97d1a
01a1efcc-3d21-7ada-a703-ec943f515215
01a1efcc-3d21-7bf4-b5ea-eafc9d59c614
01a1efcc-3d21-7d13-8894-4fb7509c8b2e
01a1efcc-3d21-7e2e-9e12-21991be40134
01a1efcc-3d21-7f4c-a8e0-e465090e1807

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)

1f1e3792-d954-6426-b740-4cf95d479851
1f1e3792-d954-65d4-b740-4cf95d479851
1f1e3792-d954-66ba-b740-4cf95d479851
1f1e3792-d954-678c-b740-4cf95d479851
1f1e3792-d954-6854-b740-4cf95d479851
1f1e3792-d954-6912-b740-4cf95d479851
1f1e3792-d954-69da-b740-4cf95d479851
1f1e3792-d954-6aa2-b740-4cf95d479851
1f1e3792-d954-6b6a-b740-4cf95d479851
1f1e3792-d954-6c28-b740-4cf95d479851
1f1e3792-d954-6d90-b740-4cf95d479851
1f1e3792-d954-6e62-b740-4cf95d479851
1f1e3792-d954-6f20-b740-4cf95d479851
1f1e3792-d954-6fe8-b740-4cf95d479851
1f1e3792-d955-60a6-b740-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)

2d955182-e379-11f1-b740-4cf95d479851
2d9551fa-e379-11f1-b740-4cf95d479851
2d95525e-e379-11f1-b740-4cf95d479851
2d9552c2-e379-11f1-b740-4cf95d479851
2d955326-e379-11f1-b740-4cf95d479851
2d95538a-e379-11f1-b740-4cf95d479851
2d9553ee-e379-11f1-b740-4cf95d479851
2d955452-e379-11f1-b740-4cf95d479851
2d9554b6-e379-11f1-b740-4cf95d479851
2d95551a-e379-11f1-b740-4cf95d479851
2d955588-e379-11f1-b740-4cf95d479851
2d9555ec-e379-11f1-b740-4cf95d479851
2d955650-e379-11f1-b740-4cf95d479851
2d9556aa-e379-11f1-b740-4cf95d479851
2d95570e-e379-11f1-b740-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)

a9b90d02-3404-8214-87ea-5ce32bd83b97
5d240e02-3404-8214-87ea-5ce32bd83b97
b93e0f02-3404-8214-87ea-5ce32bd83b97
cae01002-3404-8214-87ea-5ce32bd83b97
1b001102-3404-8214-87ea-5ce32bd83b97
0ec61202-3404-8214-87ea-5ce32bd83b97
e0861302-3404-8214-87ea-5ce32bd83b97
4f1c1402-3404-8214-87ea-5ce32bd83b97
5e0c1502-3404-8214-87ea-5ce32bd83b97
a4751602-3404-8214-87ea-5ce32bd83b97
d2e51702-3404-8214-87ea-5ce32bd83b97
b2281802-3404-8214-87ea-5ce32bd83b97
89c61902-3404-8214-87ea-5ce32bd83b97
b8fc1a02-3404-8214-87ea-5ce32bd83b97
f5791b02-3404-8214-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)

a359a802-2c0e-44e4-9909-b5448cedc8e5
62e54b81-a95b-4112-9b59-2d2bedfa3e0c
898e7276-fb67-4f94-ba45-5aa0bbd814e7
13083586-3184-4380-8367-ab31dacdc94b
acd85b63-8fd6-44f4-869f-146297003678
6ee0844c-c278-4e90-9ae5-42f7f45e286e
3e055e21-a69a-4102-8037-3f2384f1fff5
f6dda122-f506-4011-8fd9-e675749f7a2a
ccfcdb26-615c-4fd8-bd04-903eac85b209
f5a90299-204f-4bfd-b91b-8da1e40ceb54
f8a769e7-6dd1-4988-863f-0201549e24c3
f8ccaa46-82ae-4ec7-ae91-da0f4602f236
7f00eb1b-53ea-42d2-a37e-d0824a6a2176
ae30f80e-e0bc-4511-8288-b2518092cf98
20e46a58-a69c-41dc-80dd-1ad08dcba0b2

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: