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)

019ea4e2-19fa-7b86-8609-166347a5a2b9
019ea4e2-19fa-7d71-9286-4717fb135fc8
019ea4e2-19fa-7ead-80cc-0e9c99de07db
019ea4e2-19fa-7fd3-9fe2-7bdd60d3ddcf
019ea4e2-19fb-70ea-b7ee-3d3c96542f77
019ea4e2-19fb-71fc-b6ae-527c05bd9767
019ea4e2-19fb-730f-9b26-aa1de4be6833
019ea4e2-19fb-7425-8a36-5ade0d209b77
019ea4e2-19fb-753c-a05e-cf4c395c47a5
019ea4e2-19fb-764e-8e94-2ca0a24de299
019ea4e2-19fb-7765-883b-57fac0c3cd0a
019ea4e2-19fb-7877-baf1-c7cb99173cce
019ea4e2-19fb-798e-a85d-879704dd4eab
019ea4e2-19fb-7a9c-b54f-9e84cbbb96d6
019ea4e2-19fb-7bb3-b27b-48e2f5d59e74

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)

1f162dad-3983-6da8-9d1a-4cf95d479851
1f162dad-3983-6f88-9d1a-4cf95d479851
1f162dad-3984-6078-9d1a-4cf95d479851
1f162dad-3984-6140-9d1a-4cf95d479851
1f162dad-3984-6212-9d1a-4cf95d479851
1f162dad-3984-62da-9d1a-4cf95d479851
1f162dad-3984-6398-9d1a-4cf95d479851
1f162dad-3984-6460-9d1a-4cf95d479851
1f162dad-3984-6528-9d1a-4cf95d479851
1f162dad-3984-65f0-9d1a-4cf95d479851
1f162dad-3984-673a-9d1a-4cf95d479851
1f162dad-3984-6802-9d1a-4cf95d479851
1f162dad-3984-68ca-9d1a-4cf95d479851
1f162dad-3984-6988-9d1a-4cf95d479851
1f162dad-3984-6a50-9d1a-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)

d3984b22-62da-11f1-9d1a-4cf95d479851
d3984b86-62da-11f1-9d1a-4cf95d479851
d3984bea-62da-11f1-9d1a-4cf95d479851
d3984c4e-62da-11f1-9d1a-4cf95d479851
d3984cb2-62da-11f1-9d1a-4cf95d479851
d3984d0c-62da-11f1-9d1a-4cf95d479851
d3984d70-62da-11f1-9d1a-4cf95d479851
d3984dca-62da-11f1-9d1a-4cf95d479851
d3984e38-62da-11f1-9d1a-4cf95d479851
d3984e9c-62da-11f1-9d1a-4cf95d479851
d3984ef6-62da-11f1-9d1a-4cf95d479851
d3984f5a-62da-11f1-9d1a-4cf95d479851
d3984fbe-62da-11f1-9d1a-4cf95d479851
d3985018-62da-11f1-9d1a-4cf95d479851
d398507c-62da-11f1-9d1a-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)

c111c101-6400-8f09-87ea-5ce32bd83b97
87a0c201-6400-8f09-87ea-5ce32bd83b97
66ffc301-6400-8f09-87ea-5ce32bd83b97
b2ecc401-6400-8f09-87ea-5ce32bd83b97
644ec501-6400-8f09-87ea-5ce32bd83b97
2f1fc601-6400-8f09-87ea-5ce32bd83b97
f000c701-6400-8f09-87ea-5ce32bd83b97
3487c801-6400-8f09-87ea-5ce32bd83b97
8369c901-6400-8f09-87ea-5ce32bd83b97
e53eca01-6400-8f09-87ea-5ce32bd83b97
7afecb01-6400-8f09-87ea-5ce32bd83b97
f91fcc01-6400-8f09-87ea-5ce32bd83b97
2dabcd01-6400-8f09-87ea-5ce32bd83b97
45fbcf01-6400-8f09-87ea-5ce32bd83b97
1ad2d001-6400-8f09-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)

f1ceb461-fea7-496a-a471-2bb63256e1f4
53edf0e3-fee5-4f30-b114-ea40930683c0
9a83e975-1da8-40ad-b68c-9ce7509e630f
a455d964-a6f5-4e2a-96de-489f6dd6ba89
0e315cbf-70c7-43fa-a511-5b3e868035e1
48d46ab5-1df9-4c4b-b553-41786b06b878
22e59095-5723-4682-b515-a452f00f0230
ed29c8ff-6103-4d45-a829-a746a880ca4d
303977d2-e629-4ca6-ac0e-b04dcf432c60
50078a0f-4a6c-491d-8304-691fc69ff430
9e4087fe-55bf-4488-a477-c5d9445d1a08
6d71d6dd-71b8-44eb-9027-5bd9edb1313f
beec670f-ab93-43f6-86f1-cd7fb2e22b1c
fbe89cd0-8808-412d-a78b-7c3c9bbe003f
43acb3da-ea71-4327-a760-05b1a008a3bd

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: