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)

019ec663-3cea-7171-8268-0513affbb4c4
019ec663-3cea-72f2-8e71-6c347f33f503
019ec663-3cea-742e-bd29-21458e086805
019ec663-3cea-7544-9621-faa45a69a68b
019ec663-3cea-765b-af2d-07428598df7b
019ec663-3cea-7771-a84e-720d2086d26a
019ec663-3cea-77ec-ae0b-66a146665b52
019ec663-3cea-7903-a851-c1f68e014ca8
019ec663-3cea-7a19-afd0-b3e1fbac2d14
019ec663-3cea-7b2c-a4ae-42cd8cf4b18a
019ec663-3cea-7c3e-ae1e-3ad80d413031
019ec663-3cea-7d50-98d2-653a81008af9
019ec663-3cea-7e63-81d2-0e8de1ee8a02
019ec663-3cea-7f75-85ca-2e5caf394d47
019ec663-3ceb-7088-9b28-13fea733ba1d

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)

1f167f79-7fce-60ce-b7b7-4cf95d479851
1f167f79-7fce-6272-b7b7-4cf95d479851
1f167f79-7fce-6358-b7b7-4cf95d479851
1f167f79-7fce-6420-b7b7-4cf95d479851
1f167f79-7fce-64de-b7b7-4cf95d479851
1f167f79-7fce-659c-b7b7-4cf95d479851
1f167f79-7fce-665a-b7b7-4cf95d479851
1f167f79-7fce-6718-b7b7-4cf95d479851
1f167f79-7fce-67cc-b7b7-4cf95d479851
1f167f79-7fce-688a-b7b7-4cf95d479851
1f167f79-7fce-69ca-b7b7-4cf95d479851
1f167f79-7fce-6a88-b7b7-4cf95d479851
1f167f79-7fce-6b46-b7b7-4cf95d479851
1f167f79-7fce-6bfa-b7b7-4cf95d479851
1f167f79-7fce-6cb8-b7b7-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)

97fced80-67f7-11f1-b7b7-4cf95d479851
97fcede4-67f7-11f1-b7b7-4cf95d479851
97fcee3e-67f7-11f1-b7b7-4cf95d479851
97fceea2-67f7-11f1-b7b7-4cf95d479851
97fceefc-67f7-11f1-b7b7-4cf95d479851
97fcef56-67f7-11f1-b7b7-4cf95d479851
97fcefb0-67f7-11f1-b7b7-4cf95d479851
97fcf01e-67f7-11f1-b7b7-4cf95d479851
97fcf082-67f7-11f1-b7b7-4cf95d479851
97fcf0e6-67f7-11f1-b7b7-4cf95d479851
97fcf140-67f7-11f1-b7b7-4cf95d479851
97fcf19a-67f7-11f1-b7b7-4cf95d479851
97fcf1f4-67f7-11f1-b7b7-4cf95d479851
97fcf24e-67f7-11f1-b7b7-4cf95d479851
97fcf2a8-67f7-11f1-b7b7-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)

68aef820-3c03-850a-87ea-5ce32bd83b97
f148f920-3c03-850a-87ea-5ce32bd83b97
4a82fa20-3c03-850a-87ea-5ce32bd83b97
056dfb20-3c03-850a-87ea-5ce32bd83b97
3083fc20-3c03-850a-87ea-5ce32bd83b97
70edfd20-3c03-850a-87ea-5ce32bd83b97
54fcfe20-3c03-850a-87ea-5ce32bd83b97
b5450021-3c03-850a-87ea-5ce32bd83b97
58f70121-3c03-850a-87ea-5ce32bd83b97
e49c0221-3c03-850a-87ea-5ce32bd83b97
2d3e0321-3c03-850a-87ea-5ce32bd83b97
81910421-3c03-850a-87ea-5ce32bd83b97
12800521-3c03-850a-87ea-5ce32bd83b97
9f600621-3c03-850a-87ea-5ce32bd83b97
0bc20721-3c03-850a-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)

a0ade255-052c-4a87-8aaf-8ea7800d8dce
41d32200-d153-42a2-9b9b-44f87de9d0cc
bbaa8167-86f6-439e-a42a-a1175a7986d5
d6cf71ad-f4bb-4bdf-bd19-9079324bfbb0
b61ec209-8f55-4163-bb58-a9c5069ae64d
1f1d2c0e-ae83-4e0a-b1fd-c1bb4f9fcc53
2365bd9f-0f29-42a0-9413-6307dc150ee7
96ee7c8c-5a58-46be-a7ba-1d40bcec3f83
3a9a39ef-dfcb-4bcb-989a-2afb2b842e6c
16db29e8-fa49-492b-8688-6afc021297a7
31cdcd63-0352-4327-9c44-43363d0d766d
884b7f06-c756-4be0-8a89-7ae658d00f1b
573f04f5-0d58-4ce1-84ab-d5cf916a120a
64ceab2f-b933-41f5-b9e2-9072df83a4ad
20930f27-0659-408a-bccd-4479c321f181

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: