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)

01a0f447-1b07-7cb9-80c6-71a4aadd21d1
01a0f447-1b07-7e98-8fec-c2dc566232d9
01a0f447-1b07-7fcf-969e-f30b494a1a23
01a0f447-1b08-70ea-a43b-ab965632e7f0
01a0f447-1b08-71fc-a622-c8b4f4ea4100
01a0f447-1b08-7313-a9d1-9477b57fa47e
01a0f447-1b08-7425-a0ac-6918f2eafaea
01a0f447-1b08-7538-bfdb-148a42dfd426
01a0f447-1b08-764a-8c2c-a05570dac5ee
01a0f447-1b08-775d-b3b6-e9903ef5e4bc
01a0f447-1b08-786f-abf9-47742691efcd
01a0f447-1b08-7982-9998-cdce100ac54a
01a0f447-1b08-7a94-ba8a-a6cfcbfadf55
01a0f447-1b08-7bb3-8d44-1faef93dbcb1
01a0f447-1b08-7cc5-9d24-ce9c506b93d6

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)

1f1bd182-d114-6b9e-b817-4cf95d479851
1f1bd182-d114-6d60-b817-4cf95d479851
1f1bd182-d114-6e46-b817-4cf95d479851
1f1bd182-d114-6f18-b817-4cf95d479851
1f1bd182-d114-6fea-b817-4cf95d479851
1f1bd182-d115-60a8-b817-4cf95d479851
1f1bd182-d115-6170-b817-4cf95d479851
1f1bd182-d115-622e-b817-4cf95d479851
1f1bd182-d115-62ec-b817-4cf95d479851
1f1bd182-d115-63aa-b817-4cf95d479851
1f1bd182-d115-6508-b817-4cf95d479851
1f1bd182-d115-65d0-b817-4cf95d479851
1f1bd182-d115-6698-b817-4cf95d479851
1f1bd182-d115-6756-b817-4cf95d479851
1f1bd182-d115-6814-b817-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)

2d11595e-bd18-11f1-b817-4cf95d479851
2d1159cc-bd18-11f1-b817-4cf95d479851
2d115a3a-bd18-11f1-b817-4cf95d479851
2d115a9e-bd18-11f1-b817-4cf95d479851
2d115b02-bd18-11f1-b817-4cf95d479851
2d115b5c-bd18-11f1-b817-4cf95d479851
2d115bc0-bd18-11f1-b817-4cf95d479851
2d115c2e-bd18-11f1-b817-4cf95d479851
2d115c92-bd18-11f1-b817-4cf95d479851
2d115cf6-bd18-11f1-b817-4cf95d479851
2d115d5a-bd18-11f1-b817-4cf95d479851
2d115dbe-bd18-11f1-b817-4cf95d479851
2d115e22-bd18-11f1-b817-4cf95d479851
2d115e90-bd18-11f1-b817-4cf95d479851
2d115ef4-bd18-11f1-b817-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)

6dcad137-1905-8111-87ea-5ce32bd83b97
fb61d237-1905-8111-87ea-5ce32bd83b97
ebb0d337-1905-8111-87ea-5ce32bd83b97
b30fd437-1905-8111-87ea-5ce32bd83b97
66dad537-1905-8111-87ea-5ce32bd83b97
7a5ed637-1905-8111-87ea-5ce32bd83b97
1baed737-1905-8111-87ea-5ce32bd83b97
c1afd837-1905-8111-87ea-5ce32bd83b97
11ebd937-1905-8111-87ea-5ce32bd83b97
51eeda37-1905-8111-87ea-5ce32bd83b97
48eedb37-1905-8111-87ea-5ce32bd83b97
a5a8dc37-1905-8111-87ea-5ce32bd83b97
ce37dd37-1905-8111-87ea-5ce32bd83b97
6b74de37-1905-8111-87ea-5ce32bd83b97
3135df37-1905-8111-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)

302e2693-2022-41de-83fe-07b8370d779e
64bcca0e-2009-4c55-bf41-2906ea1f8dc3
f0f02eee-0a73-4514-8176-66c423ff125e
cc4c7249-adce-42eb-b7a0-b80da1ea021a
2a48c98f-4331-45d3-9526-e9f3bfacb2c7
d63ab102-6ac8-43c2-83be-96980cda8661
97b1302b-3b22-4583-999f-46e0ba8a2f40
554b703d-0480-48bb-aa83-1b525fbe357c
b1819834-d9b1-4f20-9032-fd3440bbba60
1a8dd51e-7a18-426d-9698-f7bb5b703c1f
e0f9f942-85d3-4650-98a0-b64a1fcc8754
63335f5a-0ae9-4614-b251-c94b2be1bfbd
774b3aea-794b-4bdd-926f-40b39ff1b3b2
34210d82-9dc7-4145-a907-f65ed11306c9
3c1fa395-8fd4-41a1-a657-7da2b3c6f12a

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: