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)

01a20fa1-853c-7f23-acf9-b9ed8b7b6ea8
01a20fa1-853d-7140-9a56-7411f8971c8b
01a20fa1-853d-727f-90ed-fe4496da1403
01a20fa1-853d-73b7-8484-ee8e158249f9
01a20fa1-853d-74d5-8407-6c74368cd3b8
01a20fa1-853d-75ec-ae9c-fd6f81d6dfc5
01a20fa1-853d-7703-87ca-ba79dba94f7b
01a20fa1-853d-7819-a325-1dc144687afe
01a20fa1-853d-7930-ae49-6749ea7d1ba8
01a20fa1-853d-7a42-a11e-70350b1956b9
01a20fa1-853d-7b54-b336-01e326d0ec6c
01a20fa1-853d-7c6f-ae4b-1e3e77cd6391
01a20fa1-853d-7d86-9818-8d5081d88efd
01a20fa1-853d-7e9c-ab20-3a114f694f83
01a20fa1-853d-7fb3-a453-14d80167d55f

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)

1f1e854a-8e60-6964-b311-4cf95d479851
1f1e854a-8e60-6b12-b311-4cf95d479851
1f1e854a-8e60-6c0c-b311-4cf95d479851
1f1e854a-8e60-6cde-b311-4cf95d479851
1f1e854a-8e60-6da6-b311-4cf95d479851
1f1e854a-8e60-6e6e-b311-4cf95d479851
1f1e854a-8e60-6f36-b311-4cf95d479851
1f1e854a-8e60-6ffe-b311-4cf95d479851
1f1e854a-8e61-60c6-b311-4cf95d479851
1f1e854a-8e61-6184-b311-4cf95d479851
1f1e854a-8e61-62c4-b311-4cf95d479851
1f1e854a-8e61-63aa-b311-4cf95d479851
1f1e854a-8e61-6468-b311-4cf95d479851
1f1e854a-8e61-6526-b311-4cf95d479851
1f1e854a-8e61-65e4-b311-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)

a8e616b6-e854-11f1-b311-4cf95d479851
a8e6171a-e854-11f1-b311-4cf95d479851
a8e61788-e854-11f1-b311-4cf95d479851
a8e617e2-e854-11f1-b311-4cf95d479851
a8e6183c-e854-11f1-b311-4cf95d479851
a8e618a0-e854-11f1-b311-4cf95d479851
a8e618fa-e854-11f1-b311-4cf95d479851
a8e6195e-e854-11f1-b311-4cf95d479851
a8e619c2-e854-11f1-b311-4cf95d479851
a8e61a1c-e854-11f1-b311-4cf95d479851
a8e61a76-e854-11f1-b311-4cf95d479851
a8e61ada-e854-11f1-b311-4cf95d479851
a8e61b34-e854-11f1-b311-4cf95d479851
a8e61ba2-e854-11f1-b311-4cf95d479851
a8e61c06-e854-11f1-b311-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)

0b165f0d-3905-8814-87ea-5ce32bd83b97
7dec600d-3905-8814-87ea-5ce32bd83b97
a1f9620d-3905-8814-87ea-5ce32bd83b97
4c90630d-3905-8814-87ea-5ce32bd83b97
7299640d-3905-8814-87ea-5ce32bd83b97
cc14650d-3905-8814-87ea-5ce32bd83b97
b884660d-3905-8814-87ea-5ce32bd83b97
c675670d-3905-8814-87ea-5ce32bd83b97
5f91680d-3905-8814-87ea-5ce32bd83b97
2455690d-3905-8814-87ea-5ce32bd83b97
ec206a0d-3905-8814-87ea-5ce32bd83b97
99886b0d-3905-8814-87ea-5ce32bd83b97
f7e56c0d-3905-8814-87ea-5ce32bd83b97
b2306d0d-3905-8814-87ea-5ce32bd83b97
0e1e6e0d-3905-8814-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)

ca408cfd-0830-4980-8154-206200503e6b
d632a2c7-fc9d-4a65-8ff1-068530f2e282
a961b6de-8dd3-4003-a018-485bdba93ea6
958687a6-b642-49d5-b74d-8b4cf437352b
8388c6e4-ff13-4024-a079-fb57fd2452e9
3f1e5bd6-80ee-48dc-8abc-e9ccfe5a48dd
17b2aaef-5878-4d00-86d7-75d96d986801
f38354d8-7983-4b28-bbee-62e6a57f5996
e245d333-a6ce-4738-a5b4-99859f292d16
84f34d03-2875-418c-b311-53b4f9da1c56
10e8ed67-2445-4f0d-8bf2-e21b497c86ac
37d22da2-7182-4068-a5a7-6dbd7c70b29d
2aa16190-fc80-493c-8ea1-420f41a5e9f0
56b5e4aa-c4fe-46f9-a4aa-46357fd8a33b
6c52dd5f-23ff-4c91-8418-8ae7fecf2984

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: