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)

019b9d77-4855-7825-b921-044bb95547a5
019b9d77-4855-79b3-ba73-ecaea3ef4ed8
019b9d77-4855-7af2-9998-e4db51c89530
019b9d77-4855-7c19-a552-17ac97675f4f
019b9d77-4855-7d5d-b094-3566f3b1b8cf
019b9d77-4855-7ea8-ab81-82765394bf97
019b9d77-4855-700d-917d-10e4c5f22c93
019b9d77-4856-70b9-8d34-ad43c2f2d919
019b9d77-4856-721d-a8cb-dc745652b79c
019b9d77-4856-737d-8ff3-1cc18822b584
019b9d77-4856-74e2-96fa-86bbb9febfb8
019b9d77-4856-762e-8603-0ada48c61238
019b9d77-4856-777d-ad62-6b2878e2ab76
019b9d77-4856-78d5-865e-ba75b1b40087
019b9d77-4856-7a15-8b22-98bfc7fe0e1d

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)

1f0ec891-6faf-6c52-9c15-4cf95d479851
1f0ec891-6faf-6e82-9c15-4cf95d479851
1f0ec891-6faf-6fea-9c15-4cf95d479851
1f0ec891-6fb0-6134-9c15-4cf95d479851
1f0ec891-6fb0-6292-9c15-4cf95d479851
1f0ec891-6fb0-63dc-9c15-4cf95d479851
1f0ec891-6fb0-6526-9c15-4cf95d479851
1f0ec891-6fb0-6670-9c15-4cf95d479851
1f0ec891-6fb0-67b0-9c15-4cf95d479851
1f0ec891-6fb0-68f0-9c15-4cf95d479851
1f0ec891-6fb0-6ad0-9c15-4cf95d479851
1f0ec891-6fb0-6c1a-9c15-4cf95d479851
1f0ec891-6fb0-6d64-9c15-4cf95d479851
1f0ec891-6fb0-6ea4-9c15-4cf95d479851
1f0ec891-6fb0-6fee-9c15-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)

0a48488f-7a1f-485a-80db-bfff233a4478
781138d4-342d-4964-8c8e-17a5aa743deb
d9e5d5cb-fcce-4993-9555-a92df09d9bfb
a48327d0-470e-4dc6-b5e1-d5cbe7b60275
988496b7-75f9-4ca9-886e-e837f0e8dca0
967ac4fe-a700-4ee0-ad7f-16f807a2b285
6ed9d3b5-3343-46a9-b62d-fc8beec0bcc7
072b93d1-3688-40e1-991b-b74b628a463d
eea15539-00e0-45ec-a11a-d2d8e46df8fe
98918fd8-e34a-479a-a76a-4a5441ffd4d1
ac3141e3-beff-4e08-a4e4-2db148347dc8
2a7bcbd9-7a88-49a7-800c-45b1b9f8ac7a
db37d5c7-b702-48ee-8289-2e1808f7d3f0
7640bd9b-11a7-442e-a609-d1ea5632c534
427c24fe-17ad-449a-ab31-5d5bf6387229

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)

16fb16d8-ec89-11f0-9c15-4cf95d479851
16fb176e-ec89-11f0-9c15-4cf95d479851
16fb17fa-ec89-11f0-9c15-4cf95d479851
16fb1886-ec89-11f0-9c15-4cf95d479851
16fb191c-ec89-11f0-9c15-4cf95d479851
16fb19a8-ec89-11f0-9c15-4cf95d479851
16fb1a3e-ec89-11f0-9c15-4cf95d479851
16fb1ad4-ec89-11f0-9c15-4cf95d479851
16fb1b6a-ec89-11f0-9c15-4cf95d479851
16fb1c00-ec89-11f0-9c15-4cf95d479851
16fb1c8c-ec89-11f0-9c15-4cf95d479851
16fb1d22-ec89-11f0-9c15-4cf95d479851
16fb1dae-ec89-11f0-9c15-4cf95d479851
16fb1e44-ec89-11f0-9c15-4cf95d479851
16fb1ed0-ec89-11f0-9c15-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)

6623de26-cd02-8800-87ea-5ce32bd83b97
fb66df26-cd02-8800-87ea-5ce32bd83b97
66ade026-cd02-8800-87ea-5ce32bd83b97
9cace226-cd02-8800-87ea-5ce32bd83b97
d2c9e326-cd02-8800-87ea-5ce32bd83b97
6cbce426-cd02-8800-87ea-5ce32bd83b97
b71fe526-cd02-8800-87ea-5ce32bd83b97
9947e626-cd02-8800-87ea-5ce32bd83b97
40eee726-cd02-8800-87ea-5ce32bd83b97
d28ee826-cd02-8800-87ea-5ce32bd83b97
a6dce926-cd02-8800-87ea-5ce32bd83b97
8c49ea26-cd02-8800-87ea-5ce32bd83b97
81e2eb26-cd02-8800-87ea-5ce32bd83b97
865aec26-cd02-8800-87ea-5ce32bd83b97
2694ed26-cd02-8800-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: