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)

019e17b9-39fc-7f9e-a203-ae991b414f0e
019e17b9-39fd-7123-a323-cffca188fb7d
019e17b9-39fd-725f-b182-26d403d24477
019e17b9-39fd-7379-9e52-55a51dfda8a8
019e17b9-39fd-7490-b82f-9797fbbb111b
019e17b9-39fd-75a6-a14c-15f13a776213
019e17b9-39fd-76c1-8c14-31f147778719
019e17b9-39fd-77e0-ba2d-ea67fd2b6a89
019e17b9-39fd-78f6-80cb-707af744f8c3
019e17b9-39fd-7a11-9a77-76c609074447
019e17b9-39fd-7b27-a66f-5f8afb092981
019e17b9-39fd-7c3a-bf1d-26958e9682a8
019e17b9-39fd-7d50-b3b1-e15f257dd3a5
019e17b9-39fd-7e63-b7a2-f08990dd909b
019e17b9-39fd-7f79-a659-aebaf91a5ed9

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)

1f14d50c-6ea9-6456-8abc-4cf95d479851
1f14d50c-6ea9-65dc-8abc-4cf95d479851
1f14d50c-6ea9-66cc-8abc-4cf95d479851
1f14d50c-6ea9-6794-8abc-4cf95d479851
1f14d50c-6ea9-685c-8abc-4cf95d479851
1f14d50c-6ea9-691a-8abc-4cf95d479851
1f14d50c-6ea9-69e2-8abc-4cf95d479851
1f14d50c-6ea9-6ab4-8abc-4cf95d479851
1f14d50c-6ea9-6b72-8abc-4cf95d479851
1f14d50c-6ea9-6c44-8abc-4cf95d479851
1f14d50c-6ea9-6d8e-8abc-4cf95d479851
1f14d50c-6ea9-6e6a-8abc-4cf95d479851
1f14d50c-6ea9-6f3c-8abc-4cf95d479851
1f14d50c-6ea9-6ffa-8abc-4cf95d479851
1f14d50c-6eaa-60c2-8abc-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)

86dd7038-0423-45fd-8ccd-299e015cb84c
f50b2a33-6a5e-46b8-8f8c-31c6fb103216
e1163329-75a9-4fe2-bde1-d0428c9e5beb
f6d286f1-fed4-45d0-a1fc-b854874ea6d1
2005e48a-cc1b-4dd2-bbfa-f7be3a604dc4
915e79f9-6295-44ff-b12f-4b85d22007e4
9823fab5-9e47-4b73-8259-5d389a7e0646
7bb8b8e0-4e66-407d-9f33-a26275aebf68
7dca2e7c-8ab0-478c-b082-53c7e3b32f54
e98dbbb0-2e92-4e75-9f2a-44c210dff1de
58294970-930e-4b72-9318-b3429d1e16eb
3ce9f565-3c69-429e-aeef-27104ff8ba0d
b984dcf7-5a2e-4446-8d69-8aebbcff60ff
1bc706b0-baa4-40dc-a495-e5979f564415
7c80c878-4c66-4da4-8863-9883f51be2bd

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)

c6eaa6bc-4d50-11f1-8abc-4cf95d479851
c6eaa720-4d50-11f1-8abc-4cf95d479851
c6eaa78e-4d50-11f1-8abc-4cf95d479851
c6eaa7fc-4d50-11f1-8abc-4cf95d479851
c6eaa860-4d50-11f1-8abc-4cf95d479851
c6eaa8c4-4d50-11f1-8abc-4cf95d479851
c6eaa928-4d50-11f1-8abc-4cf95d479851
c6eaa98c-4d50-11f1-8abc-4cf95d479851
c6eaa9f0-4d50-11f1-8abc-4cf95d479851
c6eaaa54-4d50-11f1-8abc-4cf95d479851
c6eaaab8-4d50-11f1-8abc-4cf95d479851
c6eaab26-4d50-11f1-8abc-4cf95d479851
c6eaab9e-4d50-11f1-8abc-4cf95d479851
c6eaac0c-4d50-11f1-8abc-4cf95d479851
c6eaac7a-4d50-11f1-8abc-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)

a7438437-b403-8308-87ea-5ce32bd83b97
fbf88537-b403-8308-87ea-5ce32bd83b97
1b078637-b403-8308-87ea-5ce32bd83b97
14c58837-b403-8308-87ea-5ce32bd83b97
5ae28937-b403-8308-87ea-5ce32bd83b97
fdf28a37-b403-8308-87ea-5ce32bd83b97
10c78b37-b403-8308-87ea-5ce32bd83b97
8d488c37-b403-8308-87ea-5ce32bd83b97
936d8d37-b403-8308-87ea-5ce32bd83b97
de138e37-b403-8308-87ea-5ce32bd83b97
afec8f37-b403-8308-87ea-5ce32bd83b97
dc149037-b403-8308-87ea-5ce32bd83b97
1d279137-b403-8308-87ea-5ce32bd83b97
74819237-b403-8308-87ea-5ce32bd83b97
61759337-b403-8308-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: