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)

019bc245-4f97-7dcf-b732-ecaab97eaf53
019bc245-4f97-7f69-83ed-24897e73e694
019bc245-4f98-70b1-8646-44524713d197
019bc245-4f98-71d8-aaff-bed4ff693390
019bc245-4f98-72fa-a810-70d067fd015c
019bc245-4f98-7415-8d87-85121624c43b
019bc245-4f98-7530-8439-e2277ee83d30
019bc245-4f98-764a-8005-4757e8f0eab4
019bc245-4f98-77c7-b533-6e986ca781f7
019bc245-4f98-7917-bda5-35bf3e6c667e
019bc245-4f98-7a3e-aa8f-a0779a0e8a78
019bc245-4f98-7b59-ae54-20cc5e180ab9
019bc245-4f98-7c73-a5dd-38be4532078f
019bc245-4f98-7d8a-870a-0796973f5270
019bc245-4f98-7ea4-bce4-19561652228d

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)

1f0f226c-6f68-6958-bb9f-4cf95d479851
1f0f226c-6f68-6af2-bb9f-4cf95d479851
1f0f226c-6f68-6bd8-bb9f-4cf95d479851
1f0f226c-6f68-6caa-bb9f-4cf95d479851
1f0f226c-6f68-6d72-bb9f-4cf95d479851
1f0f226c-6f68-6e3a-bb9f-4cf95d479851
1f0f226c-6f68-6f02-bb9f-4cf95d479851
1f0f226c-6f68-6fc0-bb9f-4cf95d479851
1f0f226c-6f69-607e-bb9f-4cf95d479851
1f0f226c-6f69-613c-bb9f-4cf95d479851
1f0f226c-6f69-62ae-bb9f-4cf95d479851
1f0f226c-6f69-6376-bb9f-4cf95d479851
1f0f226c-6f69-643e-bb9f-4cf95d479851
1f0f226c-6f69-6506-bb9f-4cf95d479851
1f0f226c-6f69-65c4-bb9f-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)

53639eb1-612d-44f9-b6b1-22e6ceb8f13a
a63d651d-d8df-49dc-b403-a1e07e665da6
6b800cee-41a3-4fe2-962b-cf94b8780369
658c9167-6cd3-4d79-b4c9-7348a5377c06
34faccc9-ac72-434a-9fa8-14b2670f0e27
15b47650-5ac3-4e7f-bd14-b16e29d32e84
2e958bd1-cc2c-44bb-b2d9-e5f495b36877
3ce8f8be-6961-4d88-b9d5-50442b9e0cd3
c41f9a24-779f-4116-90ae-f09e5d08329c
98fc0bd8-e37f-411c-bce2-bfabe418a95f
07439eab-089c-442f-9be0-af5d706e4a6e
2e609e95-01ac-4cf1-bc4b-2694404294c3
deeb5d11-0a5e-4bfa-aa9d-b1578fbfa0c2
493cd05a-1d67-44bc-abd3-06c55ca25009
57424718-ed1e-4d5c-87e4-b18ff2f18638

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)

c6f69af6-f226-11f0-bb9f-4cf95d479851
c6f69b64-f226-11f0-bb9f-4cf95d479851
c6f69bc8-f226-11f0-bb9f-4cf95d479851
c6f69c22-f226-11f0-bb9f-4cf95d479851
c6f69c9a-f226-11f0-bb9f-4cf95d479851
c6f69cfe-f226-11f0-bb9f-4cf95d479851
c6f69d58-f226-11f0-bb9f-4cf95d479851
c6f69dbc-f226-11f0-bb9f-4cf95d479851
c6f69e16-f226-11f0-bb9f-4cf95d479851
c6f69e7a-f226-11f0-bb9f-4cf95d479851
c6f69ede-f226-11f0-bb9f-4cf95d479851
c6f69f42-f226-11f0-bb9f-4cf95d479851
c6f69fa6-f226-11f0-bb9f-4cf95d479851
c6f6a00a-f226-11f0-bb9f-4cf95d479851
c6f6a064-f226-11f0-bb9f-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)

5303eb00-a103-8f00-87ea-5ce32bd83b97
3f6eec00-a103-8f00-87ea-5ce32bd83b97
cdf0ed00-a103-8f00-87ea-5ce32bd83b97
c4d5ee00-a103-8f00-87ea-5ce32bd83b97
2818ef00-a103-8f00-87ea-5ce32bd83b97
1174f000-a103-8f00-87ea-5ce32bd83b97
1a5ef100-a103-8f00-87ea-5ce32bd83b97
d3a9f200-a103-8f00-87ea-5ce32bd83b97
38dcf400-a103-8f00-87ea-5ce32bd83b97
1f71f500-a103-8f00-87ea-5ce32bd83b97
bc6bf600-a103-8f00-87ea-5ce32bd83b97
e1f6f700-a103-8f00-87ea-5ce32bd83b97
b924f800-a103-8f00-87ea-5ce32bd83b97
464ff900-a103-8f00-87ea-5ce32bd83b97
9c3ffa00-a103-8f00-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: