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)

019c0dd2-151b-75cf-af86-49ab4ca0db59
019c0dd2-151b-7761-ba93-bc51a9d33f50
019c0dd2-151b-78a4-940f-a05aea5b95d7
019c0dd2-151b-7961-a6b4-edbdefedfcb4
019c0dd2-151b-7a84-a2b4-f86440a12210
019c0dd2-151b-7ba2-a39d-55410a55c6e9
019c0dd2-151b-7cc1-af15-754bc676d7f0
019c0dd2-151b-7de4-b205-68fa66d7b287
019c0dd2-151b-7f07-8cd0-53e3e954c8cd
019c0dd2-151c-7025-b230-8585f36ac7c6
019c0dd2-151c-7148-b165-79ebb74ff4a1
019c0dd2-151c-7267-a4fa-b3c043bbeaf7
019c0dd2-151c-7386-b9f7-e5386d6040d3
019c0dd2-151c-74a4-bac3-c8f2db834231
019c0dd2-151c-75c3-9ca2-df318b0fc22b

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)

1f0fdadf-1d9e-67cc-838b-4cf95d479851
1f0fdadf-1d9e-6952-838b-4cf95d479851
1f0fdadf-1d9e-6a38-838b-4cf95d479851
1f0fdadf-1d9e-6b0a-838b-4cf95d479851
1f0fdadf-1d9e-6bc8-838b-4cf95d479851
1f0fdadf-1d9e-6c90-838b-4cf95d479851
1f0fdadf-1d9e-6d58-838b-4cf95d479851
1f0fdadf-1d9e-6e16-838b-4cf95d479851
1f0fdadf-1d9e-6ed4-838b-4cf95d479851
1f0fdadf-1d9e-6f92-838b-4cf95d479851
1f0fdadf-1d9f-60d2-838b-4cf95d479851
1f0fdadf-1d9f-61a4-838b-4cf95d479851
1f0fdadf-1d9f-6262-838b-4cf95d479851
1f0fdadf-1d9f-6320-838b-4cf95d479851
1f0fdadf-1d9f-63de-838b-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)

6b8498d4-0a62-48ab-819d-4c7047e7ede0
5eacc1f7-cf64-4687-b5ed-82a6043aaf91
43f1f8ae-3951-458e-bcbf-8963f56378f2
cb026ec8-fb24-4ffd-a1b1-57fc87b2a8a4
4a8c9303-55b7-4cc4-8486-5171f273d09c
2cf85b00-1ee9-4ac7-9779-37439557b9b5
50592519-61c4-4cad-b2a6-421e88ecaf4c
ba60cb01-ec3a-41ec-bd87-fec9fae55687
93f91c1a-23a2-4c45-950c-2ca48d958e7d
7fd2dfa2-9bd8-4bc7-9833-3f97821bb5b4
0d3034c6-87a3-4369-9bd5-edc05805ada2
ca731191-e8f2-4b19-9b47-39deca62715b
6410d7b0-be6f-44bf-a68c-744baa2bec4e
c92dc878-9261-4b8a-8ee5-b71579f384f2
24c08361-0b7f-449a-a124-e56b1efb506d

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)

f1d9f8fc-fdad-11f0-838b-4cf95d479851
f1d9f96a-fdad-11f0-838b-4cf95d479851
f1d9f9ce-fdad-11f0-838b-4cf95d479851
f1d9fa3c-fdad-11f0-838b-4cf95d479851
f1d9faaa-fdad-11f0-838b-4cf95d479851
f1d9fb0e-fdad-11f0-838b-4cf95d479851
f1d9fb7c-fdad-11f0-838b-4cf95d479851
f1d9fbd6-fdad-11f0-838b-4cf95d479851
f1d9fc44-fdad-11f0-838b-4cf95d479851
f1d9fc9e-fdad-11f0-838b-4cf95d479851
f1d9fd02-fdad-11f0-838b-4cf95d479851
f1d9fd66-fdad-11f0-838b-4cf95d479851
f1d9fdc0-fdad-11f0-838b-4cf95d479851
f1d9fe24-fdad-11f0-838b-4cf95d479851
f1d9fe7e-fdad-11f0-838b-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)

5beeb911-c601-8e01-87ea-5ce32bd83b97
c648ba11-c601-8e01-87ea-5ce32bd83b97
4915bb11-c601-8e01-87ea-5ce32bd83b97
dd10bc11-c601-8e01-87ea-5ce32bd83b97
3ec7bd11-c601-8e01-87ea-5ce32bd83b97
0345be11-c601-8e01-87ea-5ce32bd83b97
bdf0bf11-c601-8e01-87ea-5ce32bd83b97
6e4ac011-c601-8e01-87ea-5ce32bd83b97
fd5bc111-c601-8e01-87ea-5ce32bd83b97
d4f0c211-c601-8e01-87ea-5ce32bd83b97
8b31c311-c601-8e01-87ea-5ce32bd83b97
d791c511-c601-8e01-87ea-5ce32bd83b97
6104c611-c601-8e01-87ea-5ce32bd83b97
547cc711-c601-8e01-87ea-5ce32bd83b97
860ec811-c601-8e01-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: