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)

019bb670-d0b6-7565-92a8-3e86a7cdfb5c
019bb670-d0b6-7738-9b27-a957afe2d171
019bb670-d0b6-78a0-be20-00b78515819f
019bb670-d0b6-79e4-bd7a-383df3cd2727
019bb670-d0b6-7b23-a5a9-3bf5ff3bb17d
019bb670-d0b6-7c5f-880c-d9283a3b5ad5
019bb670-d0b6-7d9a-b0c0-7ef7aed679b5
019bb670-d0b6-7eda-a773-620db7e77c40
019bb670-d0b7-7019-8f8d-7b0b1ccfe1a9
019bb670-d0b7-7154-ab91-746f2a72439b
019bb670-d0b7-7290-a8fa-7bcc063a1e99
019bb670-d0b7-73cb-876b-469da00c9db8
019bb670-d0b7-750b-934e-a3311c9f995d
019bb670-d0b7-7642-9a70-0fde63d2d6ab
019bb670-d0b7-7786-a0ac-421dfe54a74a

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)

1f0f058a-a5a4-6340-9754-4cf95d479851
1f0f058a-a5a4-658e-9754-4cf95d479851
1f0f058a-a5a4-6700-9754-4cf95d479851
1f0f058a-a5a4-6868-9754-4cf95d479851
1f0f058a-a5a4-69c6-9754-4cf95d479851
1f0f058a-a5a4-6b1a-9754-4cf95d479851
1f0f058a-a5a4-6c6e-9754-4cf95d479851
1f0f058a-a5a4-6dc2-9754-4cf95d479851
1f0f058a-a5a4-6f16-9754-4cf95d479851
1f0f058a-a5a5-606a-9754-4cf95d479851
1f0f058a-a5a5-6254-9754-4cf95d479851
1f0f058a-a5a5-63b2-9754-4cf95d479851
1f0f058a-a5a5-6510-9754-4cf95d479851
1f0f058a-a5a5-6664-9754-4cf95d479851
1f0f058a-a5a5-67ae-9754-4cf95d479851

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)

0c8b48b6-2cb1-4d9f-96a6-2b12f6290884
6089eba3-db9a-4d59-904c-e0726fd28be3
6b99ade6-fe86-49b6-b5e6-40563a0c2d44
bb7fda18-5c6e-457a-9b5f-cabab726eebc
0acd6891-5053-4316-8563-04f4ced20ca1
480e584b-9dc5-41d6-9122-9291634d49cd
3ac9bad0-d44a-4f8d-bca5-e941bb27a90a
5dd3cce7-1927-46b2-89d4-1d22543884df
bc4892e7-c4e1-485e-a2d8-66c85932f53d
20b8d3b4-9e72-4a97-aef4-605860c7e5a8
026af442-ece6-4b2c-b6a4-e96df5fece03
eda00940-acde-4f22-b597-846deccc9ffe
dc654e69-8395-412a-ba37-c5efcdd200c2
2c2594c7-eb9f-4415-8d9c-eef07c6fc6cf
67f2ed76-78ff-4105-94d8-7670d710dfff

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)

aa5a5ed4-f058-11f0-9754-4cf95d479851
aa5a5f74-f058-11f0-9754-4cf95d479851
aa5a600a-f058-11f0-9754-4cf95d479851
aa5a60a0-f058-11f0-9754-4cf95d479851
aa5a6136-f058-11f0-9754-4cf95d479851
aa5a61c2-f058-11f0-9754-4cf95d479851
aa5a6258-f058-11f0-9754-4cf95d479851
aa5a62ee-f058-11f0-9754-4cf95d479851
aa5a6384-f058-11f0-9754-4cf95d479851
aa5a6424-f058-11f0-9754-4cf95d479851
aa5a64ba-f058-11f0-9754-4cf95d479851
aa5a655a-f058-11f0-9754-4cf95d479851
aa5a65f0-f058-11f0-9754-4cf95d479851
aa5a6690-f058-11f0-9754-4cf95d479851
aa5a6726-f058-11f0-9754-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)

49796e05-f501-8d00-87ea-5ce32bd83b97
f2fa6f05-f501-8d00-87ea-5ce32bd83b97
33cc7005-f501-8d00-87ea-5ce32bd83b97
9c937105-f501-8d00-87ea-5ce32bd83b97
a6b77205-f501-8d00-87ea-5ce32bd83b97
c8e37405-f501-8d00-87ea-5ce32bd83b97
a5c17505-f501-8d00-87ea-5ce32bd83b97
2d957605-f501-8d00-87ea-5ce32bd83b97
70df7705-f501-8d00-87ea-5ce32bd83b97
73467805-f501-8d00-87ea-5ce32bd83b97
d7617905-f501-8d00-87ea-5ce32bd83b97
812d7a05-f501-8d00-87ea-5ce32bd83b97
efaf7b05-f501-8d00-87ea-5ce32bd83b97
82947c05-f501-8d00-87ea-5ce32bd83b97
98cd7d05-f501-8d00-87ea-5ce32bd83b97

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: