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)

01a1fa62-0e24-7eea-b7d5-6305e8a08e2f
01a1fa62-0e25-7077-a8a8-c321001a1bde
01a1fa62-0e25-71b3-8f95-27ab58fdbdad
01a1fa62-0e25-72d1-9121-d1ee310e8ef8
01a1fa62-0e25-73f0-a39f-ecbd52104cf0
01a1fa62-0e25-750b-a413-fb3ed33d9bbb
01a1fa62-0e25-7629-8d0f-fae04eb17207
01a1fa62-0e25-7744-b98c-b3df287ef033
01a1fa62-0e25-785b-8a30-5b8f6b5db7f3
01a1fa62-0e25-7975-9110-a525442d2812
01a1fa62-0e25-7a8c-ad9e-ad97517505f2
01a1fa62-0e25-7ba2-a6b3-a60b3f812038
01a1fa62-0e25-7cb9-9b88-0710ab0277e9
01a1fa62-0e25-7dcf-bfe2-8529c448fa7e
01a1fa62-0e25-7ee6-aece-f9af425803cc

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)

1f1e516a-9c9e-6dc8-9f6d-4cf95d479851
1f1e516a-9c9e-6f94-9f6d-4cf95d479851
1f1e516a-9c9f-607a-9f6d-4cf95d479851
1f1e516a-9c9f-6156-9f6d-4cf95d479851
1f1e516a-9c9f-621e-9f6d-4cf95d479851
1f1e516a-9c9f-62f0-9f6d-4cf95d479851
1f1e516a-9c9f-63c2-9f6d-4cf95d479851
1f1e516a-9c9f-6480-9f6d-4cf95d479851
1f1e516a-9c9f-6548-9f6d-4cf95d479851
1f1e516a-9c9f-6610-9f6d-4cf95d479851
1f1e516a-9c9f-6764-9f6d-4cf95d479851
1f1e516a-9c9f-68ae-9f6d-4cf95d479851
1f1e516a-9c9f-69bc-9f6d-4cf95d479851
1f1e516a-9c9f-6a84-9f6d-4cf95d479851
1f1e516a-9c9f-6b56-9f6d-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)

a9c9fc50-e516-11f1-9f6d-4cf95d479851
a9c9fcc8-e516-11f1-9f6d-4cf95d479851
a9c9fd2c-e516-11f1-9f6d-4cf95d479851
a9c9fd9a-e516-11f1-9f6d-4cf95d479851
a9c9fdfe-e516-11f1-9f6d-4cf95d479851
a9c9fe62-e516-11f1-9f6d-4cf95d479851
a9c9fec6-e516-11f1-9f6d-4cf95d479851
a9c9ff34-e516-11f1-9f6d-4cf95d479851
a9c9ff98-e516-11f1-9f6d-4cf95d479851
a9ca0006-e516-11f1-9f6d-4cf95d479851
a9ca0074-e516-11f1-9f6d-4cf95d479851
a9ca00e2-e516-11f1-9f6d-4cf95d479851
a9ca0150-e516-11f1-9f6d-4cf95d479851
a9ca01b4-e516-11f1-9f6d-4cf95d479851
a9ca0218-e516-11f1-9f6d-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)

59409534-8304-8414-87ea-5ce32bd83b97
84719634-8304-8414-87ea-5ce32bd83b97
3cf69734-8304-8414-87ea-5ce32bd83b97
e04f9834-8304-8414-87ea-5ce32bd83b97
36ae9934-8304-8414-87ea-5ce32bd83b97
faba9a34-8304-8414-87ea-5ce32bd83b97
c6fe9b34-8304-8414-87ea-5ce32bd83b97
6e119c34-8304-8414-87ea-5ce32bd83b97
fbdc9d34-8304-8414-87ea-5ce32bd83b97
f7d49e34-8304-8414-87ea-5ce32bd83b97
06db9f34-8304-8414-87ea-5ce32bd83b97
6d21a034-8304-8414-87ea-5ce32bd83b97
5277a134-8304-8414-87ea-5ce32bd83b97
40cfa234-8304-8414-87ea-5ce32bd83b97
0b91a334-8304-8414-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)

dd49a1a4-c244-4cba-8f6d-b7a5a6ba2200
7f24a302-00b4-4278-824c-b9a4bcf683dc
0e1492a9-1ede-4f42-9e84-d6cd660fb9e1
ce94f2d4-a15e-4e55-a7bc-92db480745f7
3319ab38-c2ce-46d9-b52c-7b6bef382220
143c5ae4-4432-4a5b-9f42-ea23be02ddad
971752d7-a86b-4381-82d4-8c9da5b16149
98aa50d6-2934-4a9b-b19d-118b3874b85a
f5e60216-818f-40c5-a30d-069389c99452
b3a8fd57-8e9f-430c-bc19-091e4972cd19
45beb98b-847c-4b35-b68a-ed4568420023
c9be9453-cfde-453a-83c4-94eeeac685ed
d7a436b1-cbf5-470e-a41a-f1fac978e102
55bae82c-db7b-4a75-aebc-30f84efbd370
475f65bb-656c-4663-8d90-19365fa36aa5

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: