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)

019bdb7e-cdd5-7ebd-b698-e3846fa739c7
019bdb7e-cdd6-7057-96fa-1b0af3f80871
019bdb7e-cdd6-7196-8b26-4858ca665548
019bdb7e-cdd6-72b9-913f-1c81acf91799
019bdb7e-cdd6-73d3-a479-2cee6d1b3cfd
019bdb7e-cdd6-74ee-b326-fc4a39334356
019bdb7e-cdd6-7609-8891-41049cbc0e8e
019bdb7e-cdd6-771f-a81a-4ef241401ca8
019bdb7e-cdd6-7836-ab0c-50ccbec73592
019bdb7e-cdd6-794c-99cb-15e42150e15a
019bdb7e-cdd6-7a63-86ed-ea227e200061
019bdb7e-cdd6-7b7d-806d-adf179c2b504
019bdb7e-cdd6-7c98-9063-e2ba6dc1c5ba
019bdb7e-cdd6-7daf-9f2e-4c8bef632431
019bdb7e-cdd6-7ec5-8529-e8839c55b152

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)

1f0f6001-cc9d-6f38-a6a9-4cf95d479851
1f0f6001-cc9e-60be-a6a9-4cf95d479851
1f0f6001-cc9e-61a4-a6a9-4cf95d479851
1f0f6001-cc9e-6276-a6a9-4cf95d479851
1f0f6001-cc9e-633e-a6a9-4cf95d479851
1f0f6001-cc9e-63fc-a6a9-4cf95d479851
1f0f6001-cc9e-64c4-a6a9-4cf95d479851
1f0f6001-cc9e-6596-a6a9-4cf95d479851
1f0f6001-cc9e-6654-a6a9-4cf95d479851
1f0f6001-cc9e-6712-a6a9-4cf95d479851
1f0f6001-cc9e-685c-a6a9-4cf95d479851
1f0f6001-cc9e-6924-a6a9-4cf95d479851
1f0f6001-cc9e-69ec-a6a9-4cf95d479851
1f0f6001-cc9e-6ab4-a6a9-4cf95d479851
1f0f6001-cc9e-6b72-a6a9-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)

22054f6e-ced5-40c3-b7bc-01f334c77f55
ad39d67a-2f26-4cda-bdc2-b119b5ef7bc4
b30d1a2b-a59b-408d-9a21-a18cb83d837b
06491fc1-cee6-435b-b7d5-48817aedd0a9
e72785c2-9873-4095-b87e-0a1dfe258937
d5898c5f-7536-4896-b081-af807e9885d6
54fd9efc-73ab-4c2a-ac7a-823b819b6aab
963b6fda-6c3a-4268-a7dc-08626a875b33
23bc1411-868a-4831-a097-a7b1f2c0bd73
8598e7f6-797a-4c36-b1c0-482d3f554074
45bbf819-614b-4afe-8965-3bb348dbb87b
7f9a9058-a9d2-4877-a950-f4ffd0d6b217
d554f81a-2c9c-4bde-b840-722df1c549dd
25069a3d-d90f-49b6-bf88-146813baa2d1
3fbac4bc-8c19-48b0-8119-abb13aba343f

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)

1cc9f086-f600-11f0-a6a9-4cf95d479851
1cc9f0ea-f600-11f0-a6a9-4cf95d479851
1cc9f14e-f600-11f0-a6a9-4cf95d479851
1cc9f1b2-f600-11f0-a6a9-4cf95d479851
1cc9f216-f600-11f0-a6a9-4cf95d479851
1cc9f27a-f600-11f0-a6a9-4cf95d479851
1cc9f2d4-f600-11f0-a6a9-4cf95d479851
1cc9f338-f600-11f0-a6a9-4cf95d479851
1cc9f39c-f600-11f0-a6a9-4cf95d479851
1cc9f400-f600-11f0-a6a9-4cf95d479851
1cc9f464-f600-11f0-a6a9-4cf95d479851
1cc9f4be-f600-11f0-a6a9-4cf95d479851
1cc9f518-f600-11f0-a6a9-4cf95d479851
1cc9f57c-f600-11f0-a6a9-4cf95d479851
1cc9f5d6-f600-11f0-a6a9-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)

31e13113-0e03-8401-87ea-5ce32bd83b97
fec63213-0e03-8401-87ea-5ce32bd83b97
98ff3313-0e03-8401-87ea-5ce32bd83b97
a9793413-0e03-8401-87ea-5ce32bd83b97
01a83513-0e03-8401-87ea-5ce32bd83b97
1fe53613-0e03-8401-87ea-5ce32bd83b97
841d3713-0e03-8401-87ea-5ce32bd83b97
1c0c3813-0e03-8401-87ea-5ce32bd83b97
e7533913-0e03-8401-87ea-5ce32bd83b97
56b33a13-0e03-8401-87ea-5ce32bd83b97
8cff3b13-0e03-8401-87ea-5ce32bd83b97
14873c13-0e03-8401-87ea-5ce32bd83b97
81453d13-0e03-8401-87ea-5ce32bd83b97
d8273e13-0e03-8401-87ea-5ce32bd83b97
3d733f13-0e03-8401-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: