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)

019b8a36-285d-789c-82cf-64c7b089cece
019b8a36-285d-7a2e-a9b3-515616ab5681
019b8a36-285d-7b71-9085-0277afbab0bf
019b8a36-285d-7c90-9aab-9c239fc3a94c
019b8a36-285d-7daf-8899-179c51acb173
019b8a36-285d-7ecd-87f5-acb79caf4611
019b8a36-285d-7fec-a33d-7d5d203b73c3
019b8a36-285e-7107-9ad4-696e154d19c6
019b8a36-285e-7221-9300-1b3c8be44d4e
019b8a36-285e-7340-9ef7-a8044fd11389
019b8a36-285e-745b-ab28-f1f4f3d1fccc
019b8a36-285e-7579-bce8-b412df774cfb
019b8a36-285e-7698-ae41-c8fc9bf6c07e
019b8a36-285e-77af-a156-4d65a737a753
019b8a36-285e-78cd-9b50-db353986e8aa

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)

1f0e998f-70a3-6130-9117-4cf95d479851
1f0e998f-70a3-62d4-9117-4cf95d479851
1f0e998f-70a3-63ce-9117-4cf95d479851
1f0e998f-70a3-64a0-9117-4cf95d479851
1f0e998f-70a3-6572-9117-4cf95d479851
1f0e998f-70a3-663a-9117-4cf95d479851
1f0e998f-70a3-670c-9117-4cf95d479851
1f0e998f-70a3-67d4-9117-4cf95d479851
1f0e998f-70a3-68a6-9117-4cf95d479851
1f0e998f-70a3-6978-9117-4cf95d479851
1f0e998f-70a3-6ab8-9117-4cf95d479851
1f0e998f-70a3-6b94-9117-4cf95d479851
1f0e998f-70a3-6c5c-9117-4cf95d479851
1f0e998f-70a3-6d24-9117-4cf95d479851
1f0e998f-70a3-6dec-9117-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)

4f164523-2eac-4d02-99d1-9e120aba5d5b
a00de36b-1be4-464d-bc97-ff0df309522f
79acd6e1-8312-4cb7-902c-1c3a2c154b1d
bae55b79-6a0d-4820-8563-fd3e4582b7af
1cff84dd-082f-470d-8d28-637f2fbf7f0b
b1ea8e06-4d84-4457-965d-a935e78968b8
5705bcf4-694e-4da0-ba25-098da5cb9f28
2776c8de-a5ce-4194-9721-0fcfb55a1bfd
cde1b6f2-d61f-4e4c-9fd0-1d38656e847b
bffc7062-ba9c-4c34-8218-439a50911145
ab0e5335-271e-4c6c-8fc9-dbd5e3927cf7
fa68678e-7f00-4fba-9e59-7ee5e37004c9
e4a8bf46-7bb4-44fa-81ed-307ea886a59d
36ab7daf-660e-4191-b5df-efd6940fc301
b718b539-61d8-42ed-b062-1895ac6f5864

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)

f70a43b4-e998-11f0-9117-4cf95d479851
f70a4422-e998-11f0-9117-4cf95d479851
f70a4486-e998-11f0-9117-4cf95d479851
f70a44e0-e998-11f0-9117-4cf95d479851
f70a4544-e998-11f0-9117-4cf95d479851
f70a45b2-e998-11f0-9117-4cf95d479851
f70a4616-e998-11f0-9117-4cf95d479851
f70a467a-e998-11f0-9117-4cf95d479851
f70a46de-e998-11f0-9117-4cf95d479851
f70a4742-e998-11f0-9117-4cf95d479851
f70a47a6-e998-11f0-9117-4cf95d479851
f70a4814-e998-11f0-9117-4cf95d479851
f70a4878-e998-11f0-9117-4cf95d479851
f70a48dc-e998-11f0-9117-4cf95d479851
f70a4940-e998-11f0-9117-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)

96e1be2b-4504-8400-87ea-5ce32bd83b97
fb58bf2b-4504-8400-87ea-5ce32bd83b97
f639c02b-4504-8400-87ea-5ce32bd83b97
07a0c12b-4504-8400-87ea-5ce32bd83b97
9fddc22b-4504-8400-87ea-5ce32bd83b97
e427c32b-4504-8400-87ea-5ce32bd83b97
dfa2c42b-4504-8400-87ea-5ce32bd83b97
d716c52b-4504-8400-87ea-5ce32bd83b97
5db0c62b-4504-8400-87ea-5ce32bd83b97
867cc72b-4504-8400-87ea-5ce32bd83b97
209bc82b-4504-8400-87ea-5ce32bd83b97
6053c92b-4504-8400-87ea-5ce32bd83b97
54e6ca2b-4504-8400-87ea-5ce32bd83b97
d6a0cb2b-4504-8400-87ea-5ce32bd83b97
4323cc2b-4504-8400-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: