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)

019c8428-8265-7ff4-b490-6ef2e056646b
019c8428-8266-71a2-a7e2-a030eff7f7c0
019c8428-8266-72e2-8db9-70b0cda519bb
019c8428-8266-7405-8bbf-02b8d07e3fb8
019c8428-8266-751f-9cec-282bba468abd
019c8428-8266-763a-8406-b0f643e5c196
019c8428-8266-7754-b63a-7c25bfc951e9
019c8428-8266-786f-9c1e-ade332f3ed77
019c8428-8266-798a-942c-00bb1c0eee1b
019c8428-8266-7aa4-bc8b-4c757badc630
019c8428-8266-7bbf-9441-2b72ddae9b6c
019c8428-8266-7cd5-97b9-e462d81c4509
019c8428-8266-7df0-8d2c-88e84cb95ffc
019c8428-8266-7f07-ab30-cc1ad75349a4
019c8428-8267-7021-ba98-81da53a1c067

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)

1f10fbc8-1e71-6b9e-8d22-4cf95d479851
1f10fbc8-1e71-6d10-8d22-4cf95d479851
1f10fbc8-1e71-6e00-8d22-4cf95d479851
1f10fbc8-1e71-6ed2-8d22-4cf95d479851
1f10fbc8-1e71-6f9a-8d22-4cf95d479851
1f10fbc8-1e72-6062-8d22-4cf95d479851
1f10fbc8-1e72-6120-8d22-4cf95d479851
1f10fbc8-1e72-61e8-8d22-4cf95d479851
1f10fbc8-1e72-62a6-8d22-4cf95d479851
1f10fbc8-1e72-6364-8d22-4cf95d479851
1f10fbc8-1e72-649a-8d22-4cf95d479851
1f10fbc8-1e72-656c-8d22-4cf95d479851
1f10fbc8-1e72-662a-8d22-4cf95d479851
1f10fbc8-1e72-66e8-8d22-4cf95d479851
1f10fbc8-1e72-67a6-8d22-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)

d743e2cc-c5e8-44c1-8361-4b2ac4cfebe1
4d5745b4-d077-4740-8e1c-9613eaf332e5
b4b2dc08-6985-4b36-8c63-7a627c21e8ee
6f217add-f634-415c-95a9-9bab93a53475
fc0d8dd1-829e-41b0-860b-cd8185046ea4
8138029d-48ee-4c2c-8a39-c36a8de5fb68
7ff05acf-6195-4337-b18b-ebd0b926bc70
29b97171-8b22-494e-8e6b-3b20991eca59
129a2471-927e-4848-b948-20e74df40f1c
024823a3-2103-4a69-a19b-99c759bc9166
387b6acd-d3b1-4956-a252-3a91c3da5d35
ebe31562-609d-4a4f-bd87-9f0d738456da
e3202244-2e47-4dc0-96a1-ef939fa33cec
97476617-9541-4ac9-ade5-35b9e3b8690d
e99b958e-c32d-40b1-98ce-2824012a2af9

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)

81e72cce-0fbc-11f1-8d22-4cf95d479851
81e72d3c-0fbc-11f1-8d22-4cf95d479851
81e72da0-0fbc-11f1-8d22-4cf95d479851
81e72e0e-0fbc-11f1-8d22-4cf95d479851
81e72e68-0fbc-11f1-8d22-4cf95d479851
81e72ecc-0fbc-11f1-8d22-4cf95d479851
81e72f3a-0fbc-11f1-8d22-4cf95d479851
81e72f9e-0fbc-11f1-8d22-4cf95d479851
81e73002-0fbc-11f1-8d22-4cf95d479851
81e7305c-0fbc-11f1-8d22-4cf95d479851
81e730c0-0fbc-11f1-8d22-4cf95d479851
81e73124-0fbc-11f1-8d22-4cf95d479851
81e73188-0fbc-11f1-8d22-4cf95d479851
81e731ec-0fbc-11f1-8d22-4cf95d479851
81e73246-0fbc-11f1-8d22-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)

26ab4935-a701-8503-87ea-5ce32bd83b97
f56d4a35-a701-8503-87ea-5ce32bd83b97
e2784b35-a701-8503-87ea-5ce32bd83b97
d0e24d35-a701-8503-87ea-5ce32bd83b97
23aa4e35-a701-8503-87ea-5ce32bd83b97
68f34f35-a701-8503-87ea-5ce32bd83b97
8ed25035-a701-8503-87ea-5ce32bd83b97
fe505135-a701-8503-87ea-5ce32bd83b97
f58b5235-a701-8503-87ea-5ce32bd83b97
42065335-a701-8503-87ea-5ce32bd83b97
887d5435-a701-8503-87ea-5ce32bd83b97
91da5535-a701-8503-87ea-5ce32bd83b97
e5c35635-a701-8503-87ea-5ce32bd83b97
28c85735-a701-8503-87ea-5ce32bd83b97
cda35835-a701-8503-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: