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)

01a08ff6-d474-7cde-a775-f1c59fb49cb2
01a08ff6-d474-7e90-b6dc-cd09c9166389
01a08ff6-d474-7fc7-9418-4aba297ddcd3
01a08ff6-d475-70e6-ae77-f286e006553e
01a08ff6-d475-71fc-bcb6-b767e9887ca3
01a08ff6-d475-7313-9db3-ffe8dd7b37df
01a08ff6-d475-73e4-bae4-ce8cfb2f5983
01a08ff6-d475-7503-831d-756ea0017a02
01a08ff6-d475-7619-a519-913c7ee4cab8
01a08ff6-d475-772c-89b2-427a9cd8ad90
01a08ff6-d475-7842-bed9-7f4dd978182f
01a08ff6-d475-7950-b5bc-dbe9e57efdd2
01a08ff6-d475-7a63-8c23-e0257c3d65ab
01a08ff6-d475-7b75-89f0-378fcf9d0c82
01a08ff6-d475-7c88-8570-c53f40bb6b6d

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)

1f1adc9a-d4c7-6e40-bb2e-4cf95d479851
1f1adc9a-d4c7-6ff8-bb2e-4cf95d479851
1f1adc9a-d4c8-60de-bb2e-4cf95d479851
1f1adc9a-d4c8-61b0-bb2e-4cf95d479851
1f1adc9a-d4c8-6278-bb2e-4cf95d479851
1f1adc9a-d4c8-6340-bb2e-4cf95d479851
1f1adc9a-d4c8-6408-bb2e-4cf95d479851
1f1adc9a-d4c8-64c6-bb2e-4cf95d479851
1f1adc9a-d4c8-6584-bb2e-4cf95d479851
1f1adc9a-d4c8-6642-bb2e-4cf95d479851
1f1adc9a-d4c8-678c-bb2e-4cf95d479851
1f1adc9a-d4c8-685e-bb2e-4cf95d479851
1f1adc9a-d4c8-691c-bb2e-4cf95d479851
1f1adc9a-d4c8-69e4-bb2e-4cf95d479851
1f1adc9a-d4c8-6aac-bb2e-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)

ad4c8b88-adc9-11f1-bb2e-4cf95d479851
ad4c8bf6-adc9-11f1-bb2e-4cf95d479851
ad4c8c64-adc9-11f1-bb2e-4cf95d479851
ad4c8cc8-adc9-11f1-bb2e-4cf95d479851
ad4c8d2c-adc9-11f1-bb2e-4cf95d479851
ad4c8d90-adc9-11f1-bb2e-4cf95d479851
ad4c8dfe-adc9-11f1-bb2e-4cf95d479851
ad4c8e62-adc9-11f1-bb2e-4cf95d479851
ad4c8ec6-adc9-11f1-bb2e-4cf95d479851
ad4c8f34-adc9-11f1-bb2e-4cf95d479851
ad4c8f98-adc9-11f1-bb2e-4cf95d479851
ad4c9006-adc9-11f1-bb2e-4cf95d479851
ad4c9074-adc9-11f1-bb2e-4cf95d479851
ad4c90d8-adc9-11f1-bb2e-4cf95d479851
ad4c913c-adc9-11f1-bb2e-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)

89d3450d-6802-8e0f-87ea-5ce32bd83b97
f218460d-6802-8e0f-87ea-5ce32bd83b97
614f470d-6802-8e0f-87ea-5ce32bd83b97
e9c7480d-6802-8e0f-87ea-5ce32bd83b97
a37b490d-6802-8e0f-87ea-5ce32bd83b97
47054a0d-6802-8e0f-87ea-5ce32bd83b97
683a4b0d-6802-8e0f-87ea-5ce32bd83b97
55ed4c0d-6802-8e0f-87ea-5ce32bd83b97
49314d0d-6802-8e0f-87ea-5ce32bd83b97
bc764e0d-6802-8e0f-87ea-5ce32bd83b97
b0644f0d-6802-8e0f-87ea-5ce32bd83b97
b2ae500d-6802-8e0f-87ea-5ce32bd83b97
2055510d-6802-8e0f-87ea-5ce32bd83b97
a770520d-6802-8e0f-87ea-5ce32bd83b97
1655530d-6802-8e0f-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)

d39309ab-bd16-4c20-8f80-598eb646bda4
db253e09-2cd4-4c80-bf8d-8405d57ffcaf
29f7bc13-4cc5-4457-bdca-93f577da0b52
891b11ae-dfe4-4ddd-b750-06a548f95503
f9c7f4b8-25e3-44bb-84e4-f987df7fbe1f
0c7b9aba-f1e9-4fdc-be96-5ec60c8b1869
09112784-4c7f-4ce4-9bca-541a85611467
07ed4df9-9f28-4340-8816-9ca160c67741
1cd9ea88-3106-4171-a900-88ceb8de063a
224a38e2-84a4-4fab-aaac-3ede3faaa5ee
c318e464-bc40-42d5-a191-78be31edf502
615b6d19-6f55-4b86-b622-c94ec4df1783
797763b3-4f65-4a20-ad5a-0634228ad6e2
41c177b8-4270-4570-a081-29d80293ab15
4a99fa00-9555-4f93-aac4-f0a676c3cc48

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: