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)

01a1c515-68cf-758e-b665-9689d9b2d26c
01a1c515-68cf-7727-a650-c0f4ae000040
01a1c515-68cf-785f-8a4b-7434544ad53d
01a1c515-68cf-797d-95f6-bb464cfb14f1
01a1c515-68cf-7a90-a3d8-831f008add0e
01a1c515-68cf-7ba6-b8b5-136751c3dca8
01a1c515-68cf-7cbd-a773-fa27af6339e8
01a1c515-68cf-7dd3-985b-a0aa132799f4
01a1c515-68cf-7eea-b6dd-0b8ff9f8350d
01a1c515-68cf-7ffc-8d40-72ba74475796
01a1c515-68d0-7117-8e59-9aad79b386bd
01a1c515-68d0-723a-8a33-8dd37993202f
01a1c515-68d0-735d-8067-15ca2bd9eade
01a1c515-68d0-7473-805c-f318f1dee6cd
01a1c515-68d0-7592-ba2d-88de5d1f6a0f

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)

1f1dcf4a-7cf8-6e76-bc62-4cf95d479851
1f1dcf4a-7cf9-6060-bc62-4cf95d479851
1f1dcf4a-7cf9-616e-bc62-4cf95d479851
1f1dcf4a-7cf9-6240-bc62-4cf95d479851
1f1dcf4a-7cf9-6312-bc62-4cf95d479851
1f1dcf4a-7cf9-63ee-bc62-4cf95d479851
1f1dcf4a-7cf9-64c0-bc62-4cf95d479851
1f1dcf4a-7cf9-6588-bc62-4cf95d479851
1f1dcf4a-7cf9-6646-bc62-4cf95d479851
1f1dcf4a-7cf9-670e-bc62-4cf95d479851
1f1dcf4a-7cf9-684e-bc62-4cf95d479851
1f1dcf4a-7cf9-692a-bc62-4cf95d479851
1f1dcf4a-7cf9-69e8-bc62-4cf95d479851
1f1dcf4a-7cf9-6ab0-bc62-4cf95d479851
1f1dcf4a-7cf9-6b6e-bc62-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)

a7cf9c40-dcf4-11f1-bc62-4cf95d479851
a7cf9ca4-dcf4-11f1-bc62-4cf95d479851
a7cf9cfe-dcf4-11f1-bc62-4cf95d479851
a7cf9d62-dcf4-11f1-bc62-4cf95d479851
a7cf9dc6-dcf4-11f1-bc62-4cf95d479851
a7cf9e20-dcf4-11f1-bc62-4cf95d479851
a7cf9e84-dcf4-11f1-bc62-4cf95d479851
a7cf9ede-dcf4-11f1-bc62-4cf95d479851
a7cf9f42-dcf4-11f1-bc62-4cf95d479851
a7cf9f9c-dcf4-11f1-bc62-4cf95d479851
a7cf9ff6-dcf4-11f1-bc62-4cf95d479851
a7cfa064-dcf4-11f1-bc62-4cf95d479851
a7cfa0c8-dcf4-11f1-bc62-4cf95d479851
a7cfa12c-dcf4-11f1-bc62-4cf95d479851
a7cfa186-dcf4-11f1-bc62-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)

ca0c1211-8c02-8a13-87ea-5ce32bd83b97
54fa1411-8c02-8a13-87ea-5ce32bd83b97
49681511-8c02-8a13-87ea-5ce32bd83b97
8ce51611-8c02-8a13-87ea-5ce32bd83b97
6ec11711-8c02-8a13-87ea-5ce32bd83b97
91531811-8c02-8a13-87ea-5ce32bd83b97
24c41911-8c02-8a13-87ea-5ce32bd83b97
2fac1a11-8c02-8a13-87ea-5ce32bd83b97
cfb31b11-8c02-8a13-87ea-5ce32bd83b97
9f481c11-8c02-8a13-87ea-5ce32bd83b97
28af1d11-8c02-8a13-87ea-5ce32bd83b97
c49f1e11-8c02-8a13-87ea-5ce32bd83b97
62ac1f11-8c02-8a13-87ea-5ce32bd83b97
89622011-8c02-8a13-87ea-5ce32bd83b97
a6e22111-8c02-8a13-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)

a2e2e2bc-cf87-47d2-b20b-0754fcc0f898
f62e7871-d4a8-4ee3-8674-2c7a43bb2d62
64c8186c-0090-45a4-b4bc-caecff693d08
fd5f7660-fabc-4f55-bd4f-b7d76bf56c4d
12762f3c-06e4-4106-90b1-a957e9285ab8
01914182-3b7c-4404-8c42-e118b31d8bfc
04cd80bf-a493-4116-9cae-83bbf89b57aa
036f0982-f423-4f2b-8971-ec1f0b69939f
e124aec7-c917-4e91-bea3-fd31fa6b87e6
c62af47a-86a2-44da-9f77-82cb026654b3
09e40216-4879-48f5-9d46-5c52515b81d2
607d430d-f4c5-4eab-8d7b-4eed1413e8f7
f7d405bb-ec78-440c-8a64-01c34447229a
6fff9ef7-45d4-4f47-b40f-afd9955826b8
ebc438ba-0c11-4225-8b1e-50b295971b39

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: