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)

01a1e54b-763c-7c84-add0-9a63e99a7085
01a1e54b-763c-7e05-b4ea-03d8272d59e4
01a1e54b-763c-7f40-b50d-05c30a1bec45
01a1e54b-763d-705f-9612-ef9f64c2987d
01a1e54b-763d-7171-b6c2-93b6ae84036a
01a1e54b-763d-7288-94d6-50a0a1999ba8
01a1e54b-763d-73bf-986e-4e33b44fe3c9
01a1e54b-763d-74e2-b669-b135b482c5d0
01a1e54b-763d-75f8-867c-b2a650622308
01a1e54b-763d-770b-b54c-8f9dbd6bfb6c
01a1e54b-763d-7829-83fe-196f1699407f
01a1e54b-763d-793c-aca6-47bb75579901
01a1e54b-763d-7a52-a484-4397c441a1e2
01a1e54b-763d-7b65-8ac0-2351f1af1710
01a1e54b-763d-7c7b-9088-d4d66d461efe

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)

1f1e1dee-73c1-61f8-baf5-4cf95d479851
1f1e1dee-73c1-63ce-baf5-4cf95d479851
1f1e1dee-73c1-64b4-baf5-4cf95d479851
1f1e1dee-73c1-6586-baf5-4cf95d479851
1f1e1dee-73c1-6658-baf5-4cf95d479851
1f1e1dee-73c1-6720-baf5-4cf95d479851
1f1e1dee-73c1-67de-baf5-4cf95d479851
1f1e1dee-73c1-68a6-baf5-4cf95d479851
1f1e1dee-73c1-696e-baf5-4cf95d479851
1f1e1dee-73c1-6a2c-baf5-4cf95d479851
1f1e1dee-73c1-6b8a-baf5-4cf95d479851
1f1e1dee-73c1-6c5c-baf5-4cf95d479851
1f1e1dee-73c1-6d24-baf5-4cf95d479851
1f1e1dee-73c1-6dec-baf5-4cf95d479851
1f1e1dee-73c1-6eb4-baf5-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)

e73c1f90-e1de-11f1-baf5-4cf95d479851
e73c1ffe-e1de-11f1-baf5-4cf95d479851
e73c2062-e1de-11f1-baf5-4cf95d479851
e73c20d0-e1de-11f1-baf5-4cf95d479851
e73c2134-e1de-11f1-baf5-4cf95d479851
e73c2198-e1de-11f1-baf5-4cf95d479851
e73c2206-e1de-11f1-baf5-4cf95d479851
e73c2260-e1de-11f1-baf5-4cf95d479851
e73c22ce-e1de-11f1-baf5-4cf95d479851
e73c2332-e1de-11f1-baf5-4cf95d479851
e73c2396-e1de-11f1-baf5-4cf95d479851
e73c23fa-e1de-11f1-baf5-4cf95d479851
e73c2468-e1de-11f1-baf5-4cf95d479851
e73c24d6-e1de-11f1-baf5-4cf95d479851
e73c2530-e1de-11f1-baf5-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)

1bca5d0a-fb03-8014-87ea-5ce32bd83b97
758a5e0a-fb03-8014-87ea-5ce32bd83b97
7af95f0a-fb03-8014-87ea-5ce32bd83b97
a842600a-fb03-8014-87ea-5ce32bd83b97
4627620a-fb03-8014-87ea-5ce32bd83b97
a0b7630a-fb03-8014-87ea-5ce32bd83b97
5fec640a-fb03-8014-87ea-5ce32bd83b97
7f23650a-fb03-8014-87ea-5ce32bd83b97
0f41660a-fb03-8014-87ea-5ce32bd83b97
708f670a-fb03-8014-87ea-5ce32bd83b97
2f38680a-fb03-8014-87ea-5ce32bd83b97
1b56690a-fb03-8014-87ea-5ce32bd83b97
c3d16a0a-fb03-8014-87ea-5ce32bd83b97
ccc86b0a-fb03-8014-87ea-5ce32bd83b97
9c7f6c0a-fb03-8014-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)

f51acb23-4406-4ea8-bff4-2653187d6a88
2e936600-505a-4555-88d5-4be926fdae38
07ffbe78-780a-4443-9204-0f5c7cffdebb
25d81586-6044-4419-8d34-da8c5e8dc6cc
6751131f-012c-4ddf-acbf-0734692e7aa4
27705a95-0f63-40f8-a7f6-85b38e7e28fb
734d6932-2f49-4a84-a72d-f3e14097e238
315a7e52-4440-438f-9dcf-18b776fa72e5
44451ad4-7868-4f2b-b1b3-3f9c15524e32
f1dbd546-5068-46af-aac9-7800009c7b34
dae2a239-8345-4640-ba51-d6ace6a66a9d
303cc5d2-d994-448f-b260-51cbef026524
38fe3257-3eb7-4479-a10c-49bc1b3b6885
219de4e7-34b0-4055-91bd-cefa86370c2c
69356684-f5bb-4d33-9b67-1607e7ad0714

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: