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)

019acf60-58e6-709c-9b2e-16a0b29a1f19
019acf60-58e6-724e-81d3-74619f286180
019acf60-58e6-7396-b0f8-40b21250142e
019acf60-58e6-74b9-95d5-4dccbfc8808b
019acf60-58e6-75dc-9736-64317b01f751
019acf60-58e6-76f6-b72b-cab308179a4b
019acf60-58e6-7815-8744-8aec80259a89
019acf60-58e6-7930-afbb-fd4c2456b5ab
019acf60-58e6-7a4e-b6cf-2cfb42908790
019acf60-58e6-7b6d-827d-13cb53c361ff
019acf60-58e6-7c88-99f0-5ce56d21b96b
019acf60-58e6-7da2-85aa-47550f62a13e
019acf60-58e6-7ebd-8348-c85091b41114
019acf60-58e6-7fd8-a517-4b40c2b50052
019acf60-58e7-70f2-b3b1-b8530e935cd7

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)

1f0cd16b-7120-65f6-8c9d-4cf95d479851
1f0cd16b-7120-679a-8c9d-4cf95d479851
1f0cd16b-7120-6880-8c9d-4cf95d479851
1f0cd16b-7120-6952-8c9d-4cf95d479851
1f0cd16b-7120-6a1a-8c9d-4cf95d479851
1f0cd16b-7120-6ae2-8c9d-4cf95d479851
1f0cd16b-7120-6ba0-8c9d-4cf95d479851
1f0cd16b-7120-6c68-8c9d-4cf95d479851
1f0cd16b-7120-6d26-8c9d-4cf95d479851
1f0cd16b-7120-6dee-8c9d-4cf95d479851
1f0cd16b-7120-6f24-8c9d-4cf95d479851
1f0cd16b-7121-6000-8c9d-4cf95d479851
1f0cd16b-7121-60be-8c9d-4cf95d479851
1f0cd16b-7121-6186-8c9d-4cf95d479851
1f0cd16b-7121-6244-8c9d-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)

12f207cb-5eca-46f5-90cf-d73ed8f24b91
a78c16af-8f99-45a6-8bae-e7874ebb6b7d
0b09b71f-1c8a-4173-9a61-c6d213e56630
75036447-538f-40d4-9e1b-eae75fcacaa9
8b3c2d2b-a639-40e8-8630-7b2a8f13f038
be21182f-2204-4c18-89ce-dffdfeb1540a
629ee8bf-6079-4b46-a6cc-a2588ce00c3a
0e870d36-065b-43f3-b15f-b944a10a2562
a6ca3312-a9e7-413d-8c79-3531088c234b
c0477187-ae0d-4253-90e3-21d0b828ef1c
a10b3448-d357-4db0-8ac7-b45e6cfae740
e9f05ec1-6a86-4d85-9afb-64461313d871
ff43e27a-2b1e-4b86-89e8-3a2ed8d7bca6
a61045ed-d5bf-42b9-84d8-8c3a00b1504d
37690b3a-2f7c-4aab-8439-18e84ccc52d3

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)

b7121758-cd16-11f0-8c9d-4cf95d479851
b71217c6-cd16-11f0-8c9d-4cf95d479851
b7121834-cd16-11f0-8c9d-4cf95d479851
b7121898-cd16-11f0-8c9d-4cf95d479851
b71218fc-cd16-11f0-8c9d-4cf95d479851
b7121960-cd16-11f0-8c9d-4cf95d479851
b71219c4-cd16-11f0-8c9d-4cf95d479851
b7121a28-cd16-11f0-8c9d-4cf95d479851
b7121a82-cd16-11f0-8c9d-4cf95d479851
b7121af0-cd16-11f0-8c9d-4cf95d479851
b7121b4a-cd16-11f0-8c9d-4cf95d479851
b7121bae-cd16-11f0-8c9d-4cf95d479851
b7121c12-cd16-11f0-8c9d-4cf95d479851
b7121c6c-cd16-11f0-8c9d-4cf95d479851
b7121cd0-cd16-11f0-8c9d-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)

54794931-b202-8d14-87e9-5ce32bd83b97
75374a31-b202-8d14-87e9-5ce32bd83b97
db8d4c31-b202-8d14-87e9-5ce32bd83b97
e3654d31-b202-8d14-87e9-5ce32bd83b97
0d794e31-b202-8d14-87e9-5ce32bd83b97
357a4f31-b202-8d14-87e9-5ce32bd83b97
c9965031-b202-8d14-87e9-5ce32bd83b97
82385131-b202-8d14-87e9-5ce32bd83b97
42d55231-b202-8d14-87e9-5ce32bd83b97
48b95331-b202-8d14-87e9-5ce32bd83b97
5fa95431-b202-8d14-87e9-5ce32bd83b97
76a85531-b202-8d14-87e9-5ce32bd83b97
2c6d5631-b202-8d14-87e9-5ce32bd83b97
16b55731-b202-8d14-87e9-5ce32bd83b97
817e5831-b202-8d14-87e9-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

An 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

An UUIDv3 is made out of a MD5 hash and an 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: