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)

019ac0e0-d531-7ac5-b7f3-5c169b325c7c
019ac0e0-d531-7c57-9927-d058f8f2b5de
019ac0e0-d531-7d96-9b1a-58079986affb
019ac0e0-d531-7eb5-a2cf-fc368b4ea543
019ac0e0-d531-7fcf-99e3-c81c0b7812df
019ac0e0-d532-70e6-af78-b114deda2a3c
019ac0e0-d532-7200-93f6-f4d17dbb3486
019ac0e0-d532-731f-ae66-2ccb90d1adfd
019ac0e0-d532-743a-bad5-2f2714a6dabd
019ac0e0-d532-7554-b1d2-3f5c13de0835
019ac0e0-d532-766f-9089-3ec8d2a3417f
019ac0e0-d532-7786-a692-2c1393717ea9
019ac0e0-d532-78f6-bdc7-7f0260ec2a0e
019ac0e0-d532-7a15-a1f8-eea17b7fcf03
019ac0e0-d532-7b30-8a91-8b7893a5de4b

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)

1f0cae06-2095-6056-b2c6-4cf95d479851
1f0cae06-2095-61f0-b2c6-4cf95d479851
1f0cae06-2095-62d6-b2c6-4cf95d479851
1f0cae06-2095-639e-b2c6-4cf95d479851
1f0cae06-2095-6466-b2c6-4cf95d479851
1f0cae06-2095-6524-b2c6-4cf95d479851
1f0cae06-2095-65e2-b2c6-4cf95d479851
1f0cae06-2095-66a0-b2c6-4cf95d479851
1f0cae06-2095-6768-b2c6-4cf95d479851
1f0cae06-2095-6826-b2c6-4cf95d479851
1f0cae06-2095-6966-b2c6-4cf95d479851
1f0cae06-2095-6a2e-b2c6-4cf95d479851
1f0cae06-2095-6aec-b2c6-4cf95d479851
1f0cae06-2095-6baa-b2c6-4cf95d479851
1f0cae06-2095-6c5e-b2c6-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)

34502113-114d-448f-99d0-5f931ac1e96e
f275d237-490a-432f-8abf-e364c723710e
50180f9d-e778-427e-a4ac-5fd49d9b2471
6a6903e9-a333-4304-bf43-3615fc9a8784
1965628f-3dcf-4430-a69d-e0147dad3d47
a6f7f005-e159-47a6-b5cc-f8c9b8be9204
2a0d8cdb-2e3c-4ff5-acfe-81a5c4669634
7bedf735-23c1-42c1-b44f-4589dcfd1bbe
ddfab31f-ae7f-4238-8012-d71c256ef0d7
9f3289a0-8cb7-44fa-b651-609a4516caf1
0922718e-61d6-4504-9b3d-9acc12ebf749
39454aa0-7a8f-46b3-8ce6-4013375226c2
3abccd12-49a9-4475-9318-7410669204ed
e3447b50-d8a6-4b9b-aac9-73df65a5bf6d
2c816ff5-a9ce-4920-ae74-028754304272

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)

62096190-cae0-11f0-b2c6-4cf95d479851
620961fe-cae0-11f0-b2c6-4cf95d479851
62096262-cae0-11f0-b2c6-4cf95d479851
620962c6-cae0-11f0-b2c6-4cf95d479851
6209632a-cae0-11f0-b2c6-4cf95d479851
6209638e-cae0-11f0-b2c6-4cf95d479851
620963f2-cae0-11f0-b2c6-4cf95d479851
62096460-cae0-11f0-b2c6-4cf95d479851
620964d8-cae0-11f0-b2c6-4cf95d479851
62096546-cae0-11f0-b2c6-4cf95d479851
620965aa-cae0-11f0-b2c6-4cf95d479851
6209660e-cae0-11f0-b2c6-4cf95d479851
62096672-cae0-11f0-b2c6-4cf95d479851
620966ea-cae0-11f0-b2c6-4cf95d479851
6209674e-cae0-11f0-b2c6-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)

91e87933-bc03-8a14-87e9-5ce32bd83b97
cd707a33-bc03-8a14-87e9-5ce32bd83b97
1d2c7b33-bc03-8a14-87e9-5ce32bd83b97
bd6d7c33-bc03-8a14-87e9-5ce32bd83b97
915f7d33-bc03-8a14-87e9-5ce32bd83b97
f0d17e33-bc03-8a14-87e9-5ce32bd83b97
c6d37f33-bc03-8a14-87e9-5ce32bd83b97
2f498033-bc03-8a14-87e9-5ce32bd83b97
647f8233-bc03-8a14-87e9-5ce32bd83b97
39228333-bc03-8a14-87e9-5ce32bd83b97
d5f28433-bc03-8a14-87e9-5ce32bd83b97
d13c8533-bc03-8a14-87e9-5ce32bd83b97
c6a18633-bc03-8a14-87e9-5ce32bd83b97
56988733-bc03-8a14-87e9-5ce32bd83b97
779e8833-bc03-8a14-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: