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)

01a05f4e-3b1d-7ead-92b6-69dbd0e489b0
01a05f4e-3b1e-7130-9950-bf225b5a899f
01a05f4e-3b1e-72c5-b323-78739ba8790e
01a05f4e-3b1e-742e-9541-008d79c3455e
01a05f4e-3b1e-758e-90ba-bdd2cca6cfe9
01a05f4e-3b1e-76e6-8ba8-b614a29dcf15
01a05f4e-3b1e-7846-97a6-b80a27bcbf37
01a05f4e-3b1e-799e-83a5-41b94dfdcd29
01a05f4e-3b1e-7b0b-ab6f-204fabe86057
01a05f4e-3b1e-7c63-a992-0d36fc362625
01a05f4e-3b1e-7dbb-a840-bdeb93ac58dd
01a05f4e-3b1e-7f17-8257-3db6d833cb5f
01a05f4e-3b1f-706b-8ecc-f8be2cce20cd
01a05f4e-3b1f-71c3-a10f-773885e2ea81
01a05f4e-3b1f-731f-96ff-19c09bc5f9d9

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)

1f1a65cf-366b-6b6c-bd88-4cf95d479851
1f1a65cf-366b-6e6e-bd88-4cf95d479851
1f1a65cf-366c-603a-bd88-4cf95d479851
1f1a65cf-366c-61ca-bd88-4cf95d479851
1f1a65cf-366c-635a-bd88-4cf95d479851
1f1a65cf-366c-64cc-bd88-4cf95d479851
1f1a65cf-366c-6652-bd88-4cf95d479851
1f1a65cf-366c-67ce-bd88-4cf95d479851
1f1a65cf-366c-694a-bd88-4cf95d479851
1f1a65cf-366c-6ad0-bd88-4cf95d479851
1f1a65cf-366c-6d46-bd88-4cf95d479851
1f1a65cf-366c-6ec2-bd88-4cf95d479851
1f1a65cf-366d-602a-bd88-4cf95d479851
1f1a65cf-366d-6192-bd88-4cf95d479851
1f1a65cf-366d-6304-bd88-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)

f366d4b2-a65c-11f1-bd88-4cf95d479851
f366d552-a65c-11f1-bd88-4cf95d479851
f366d5f2-a65c-11f1-bd88-4cf95d479851
f366d692-a65c-11f1-bd88-4cf95d479851
f366d732-a65c-11f1-bd88-4cf95d479851
f366d7d2-a65c-11f1-bd88-4cf95d479851
f366d886-a65c-11f1-bd88-4cf95d479851
f366d930-a65c-11f1-bd88-4cf95d479851
f366d9da-a65c-11f1-bd88-4cf95d479851
f366da7a-a65c-11f1-bd88-4cf95d479851
f366db24-a65c-11f1-bd88-4cf95d479851
f366dbc4-a65c-11f1-bd88-4cf95d479851
f366dc64-a65c-11f1-bd88-4cf95d479851
f366dcfa-a65c-11f1-bd88-4cf95d479851
f366ddae-a65c-11f1-bd88-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)

45fa9911-8205-840f-87ea-5ce32bd83b97
99409a11-8205-840f-87ea-5ce32bd83b97
1b009b11-8205-840f-87ea-5ce32bd83b97
d2b39c11-8205-840f-87ea-5ce32bd83b97
a5769d11-8205-840f-87ea-5ce32bd83b97
8ac59f11-8205-840f-87ea-5ce32bd83b97
1a06a011-8205-840f-87ea-5ce32bd83b97
fb6ba111-8205-840f-87ea-5ce32bd83b97
e4b1a211-8205-840f-87ea-5ce32bd83b97
a20ca311-8205-840f-87ea-5ce32bd83b97
6c6ea411-8205-840f-87ea-5ce32bd83b97
5a71a511-8205-840f-87ea-5ce32bd83b97
3d5ba611-8205-840f-87ea-5ce32bd83b97
8a35a711-8205-840f-87ea-5ce32bd83b97
1406a811-8205-840f-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)

535a5b54-f26b-40b9-9fc8-7db90943d78b
f2c44d85-a969-4f6b-884a-7fa09246fa8c
48bed936-4023-4723-938f-1f9da8c89f21
8eca4249-6a08-4e83-a529-5c0c1249e47a
f1b4753e-2694-4917-99af-4db9e920457e
90519841-425b-4ea3-8b3d-100763db3312
458ef579-feaa-4a00-981c-801efb48d716
1075bc00-429e-4fb4-9d77-5bf074e11104
6feeb167-c963-4818-916e-32e30c694e31
142cdee3-dc95-4c24-aed2-fd56b0ec29bf
cb826e31-4c29-4759-8c31-2cdb741ae15e
90d451df-5795-492e-b526-c749c2d8ff2f
feaf719e-af96-43db-ae71-5936037ac484
a0b78d21-27d8-4108-9fcd-4dc82075a149
614084df-270d-43a6-8abd-d30aa3cc9c7a

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: