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)

01a01887-80a4-71d3-a1f7-6beb8474c30f
01a01887-80a4-7350-8135-94d8c14b480b
01a01887-80a4-748c-835d-83f6c3f0a661
01a01887-80a4-75a6-b0e6-f3c25d79c518
01a01887-80a4-76b9-932a-6dfc2105d01b
01a01887-80a4-77d3-ad61-651534b19cf1
01a01887-80a4-78ea-bf7a-673c83106382
01a01887-80a4-79fc-bb17-69f5296e9e7b
01a01887-80a4-7b1b-9e08-d69baeb49a63
01a01887-80a4-7c2e-9793-883beb04ef93
01a01887-80a4-7d40-88c0-c1faaccc0db5
01a01887-80a4-7e52-9915-7029ac42017e
01a01887-80a4-7f65-9045-a76b8a761aa5
01a01887-80a5-7073-99da-72eb934408f6
01a01887-80a5-7186-a466-ac7e44f5239f

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)

1f19b904-0927-64d0-89d8-4cf95d479851
1f19b904-0927-6674-89d8-4cf95d479851
1f19b904-0927-675a-89d8-4cf95d479851
1f19b904-0927-682c-89d8-4cf95d479851
1f19b904-0927-68f4-89d8-4cf95d479851
1f19b904-0927-69b2-89d8-4cf95d479851
1f19b904-0927-6a7a-89d8-4cf95d479851
1f19b904-0927-6b42-89d8-4cf95d479851
1f19b904-0927-6c0a-89d8-4cf95d479851
1f19b904-0927-6cd2-89d8-4cf95d479851
1f19b904-0927-6e26-89d8-4cf95d479851
1f19b904-0927-6ef8-89d8-4cf95d479851
1f19b904-0927-6fc0-89d8-4cf95d479851
1f19b904-0928-6088-89d8-4cf95d479851
1f19b904-0928-6150-89d8-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)

40928222-9b90-11f1-89d8-4cf95d479851
40928290-9b90-11f1-89d8-4cf95d479851
409282f4-9b90-11f1-89d8-4cf95d479851
4092834e-9b90-11f1-89d8-4cf95d479851
409283b2-9b90-11f1-89d8-4cf95d479851
40928416-9b90-11f1-89d8-4cf95d479851
4092847a-9b90-11f1-89d8-4cf95d479851
409284de-9b90-11f1-89d8-4cf95d479851
40928538-9b90-11f1-89d8-4cf95d479851
4092859c-9b90-11f1-89d8-4cf95d479851
40928600-9b90-11f1-89d8-4cf95d479851
4092866e-9b90-11f1-89d8-4cf95d479851
409286dc-9b90-11f1-89d8-4cf95d479851
40928740-9b90-11f1-89d8-4cf95d479851
409287ae-9b90-11f1-89d8-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)

f0359c30-5301-870e-87ea-5ce32bd83b97
4c8c9d30-5301-870e-87ea-5ce32bd83b97
c3da9f30-5301-870e-87ea-5ce32bd83b97
55a1a030-5301-870e-87ea-5ce32bd83b97
393ea130-5301-870e-87ea-5ce32bd83b97
ef16a230-5301-870e-87ea-5ce32bd83b97
27b6a330-5301-870e-87ea-5ce32bd83b97
a3dda430-5301-870e-87ea-5ce32bd83b97
5ee9a530-5301-870e-87ea-5ce32bd83b97
d7efa630-5301-870e-87ea-5ce32bd83b97
ac05a730-5301-870e-87ea-5ce32bd83b97
e70fa830-5301-870e-87ea-5ce32bd83b97
3971a930-5301-870e-87ea-5ce32bd83b97
8e8daa30-5301-870e-87ea-5ce32bd83b97
31d3ab30-5301-870e-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)

3f7d8da2-cfbd-4d9e-96db-ac903b8cf775
51daafd5-9708-411b-8f39-d22926ad5053
ae05589c-7951-46e0-965b-652e695e9fb8
d83e6804-b811-4143-8b09-ff389fb974bc
4631858c-ff7f-446f-be4a-7feb3e422f93
d13e1abe-ca55-455b-9a59-02ce90d9b2df
b67246a4-c518-4a57-8ed9-06001b11cb9b
591c1398-238f-4873-a63a-de7f59183d66
b74e62f2-9bb2-40ac-97f3-6729ab76bf52
86b17dcc-59cc-4f72-8237-4f7667dbe1b0
ca7bf543-9b0d-4c47-8baa-0fe40caa30b8
72d0b90f-7e00-4de2-b970-51f97ba53a62
19300f31-cc4f-408b-842b-de26252fdfd1
53807bea-e53b-41c0-bea2-34511b64ba4b
f1be66fa-d1ce-4c67-a7f8-7eddea7bbc1e

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: