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)

019e1116-a4d9-75aa-bad4-16c0427330d9
019e1116-a4d9-7734-9183-311bc643f646
019e1116-a4d9-7873-86c0-030ac1c12528
019e1116-a4d9-798e-be30-9bee8bf65b2d
019e1116-a4d9-7aa8-9913-1ae4026d46ef
019e1116-a4d9-7bbf-82d4-8c1a4a57fb24
019e1116-a4d9-7cd5-9d86-affc65ec1471
019e1116-a4d9-7dec-91eb-087fcb228a26
019e1116-a4d9-7efe-989a-73c7b72d0119
019e1116-a4da-7015-8a05-3333c29138c2
019e1116-a4da-708c-ac2d-9cd3b2bda451
019e1116-a4da-71a2-bb97-6424c0e4ba3a
019e1116-a4da-72b9-bc60-f38798d080a7
019e1116-a4da-73cb-a5fa-ac4488bb6f01
019e1116-a4da-74e2-ae3b-08404ff33fac

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)

1f14c4d9-808d-635e-8aac-4cf95d479851
1f14c4d9-808d-64f8-8aac-4cf95d479851
1f14c4d9-808d-65e8-8aac-4cf95d479851
1f14c4d9-808d-66ba-8aac-4cf95d479851
1f14c4d9-808d-678c-8aac-4cf95d479851
1f14c4d9-808d-6854-8aac-4cf95d479851
1f14c4d9-808d-691c-8aac-4cf95d479851
1f14c4d9-808d-69da-8aac-4cf95d479851
1f14c4d9-808d-6aa2-8aac-4cf95d479851
1f14c4d9-808d-6b60-8aac-4cf95d479851
1f14c4d9-808d-6ca0-8aac-4cf95d479851
1f14c4d9-808d-6d72-8aac-4cf95d479851
1f14c4d9-808d-6e3a-8aac-4cf95d479851
1f14c4d9-808d-6ef8-8aac-4cf95d479851
1f14c4d9-808d-6fb6-8aac-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)

b225685a-232e-4d9e-b61f-14ed47d57cf3
e5d8346d-2324-4f86-8f54-27d573ec82aa
a0e224aa-64a8-4663-8810-acdc8bdf8e6b
3e1f7d07-ddb8-420a-98a0-68e935d3b78c
c19d183b-ce9c-4af6-b0d8-369f1ceb7133
dea00efe-6b9a-4e7f-9688-0a027e80816b
75077a32-cd81-4994-88dc-80e87bca2739
d8f9d0e5-fc1c-4527-aba3-f99732a1a35e
3f125616-c805-45f5-8bb2-cdd599f6345c
a6067baf-230c-4aba-a748-8bdbdcfd7f5f
11f7240a-4154-4991-8f64-23a11e74f988
2aad8dc8-4ea1-414e-86f5-4b3cb7810c25
4bfc4676-8441-4ae7-aecc-6e519b212b90
1b87362e-7cad-4bc5-9f72-0b48c7e921e0
376445e0-9a16-409b-9a51-669cd716b42a

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)

9808e4de-4c4d-11f1-8aac-4cf95d479851
9808e54c-4c4d-11f1-8aac-4cf95d479851
9808e5b0-4c4d-11f1-8aac-4cf95d479851
9808e614-4c4d-11f1-8aac-4cf95d479851
9808e678-4c4d-11f1-8aac-4cf95d479851
9808e6dc-4c4d-11f1-8aac-4cf95d479851
9808e740-4c4d-11f1-8aac-4cf95d479851
9808e79a-4c4d-11f1-8aac-4cf95d479851
9808e7fe-4c4d-11f1-8aac-4cf95d479851
9808e862-4c4d-11f1-8aac-4cf95d479851
9808e8bc-4c4d-11f1-8aac-4cf95d479851
9808e920-4c4d-11f1-8aac-4cf95d479851
9808e984-4c4d-11f1-8aac-4cf95d479851
9808e9de-4c4d-11f1-8aac-4cf95d479851
9808ea4c-4c4d-11f1-8aac-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)

637c3625-1502-8208-87ea-5ce32bd83b97
31a13725-1502-8208-87ea-5ce32bd83b97
16583825-1502-8208-87ea-5ce32bd83b97
c2723925-1502-8208-87ea-5ce32bd83b97
19533a25-1502-8208-87ea-5ce32bd83b97
6b2d3b25-1502-8208-87ea-5ce32bd83b97
751d3c25-1502-8208-87ea-5ce32bd83b97
02463d25-1502-8208-87ea-5ce32bd83b97
1a0b3e25-1502-8208-87ea-5ce32bd83b97
c35f3f25-1502-8208-87ea-5ce32bd83b97
ca1a4025-1502-8208-87ea-5ce32bd83b97
96874125-1502-8208-87ea-5ce32bd83b97
d2a84225-1502-8208-87ea-5ce32bd83b97
38684325-1502-8208-87ea-5ce32bd83b97
273c4425-1502-8208-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: