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)

019ec0b4-2a4c-7d8a-a5fb-8b697150ad77
019ec0b4-2a4c-7f7d-b04f-cbca7381f30f
019ec0b4-2a4d-70fa-9ab4-7958cefa8085
019ec0b4-2a4d-724e-a853-df217ace9e58
019ec0b4-2a4d-739a-acc8-30530e0bbd8b
019ec0b4-2a4d-74e2-9fa4-1ddca986c70d
019ec0b4-2a4d-7629-a683-942f76b295f5
019ec0b4-2a4d-776d-82c9-6fe8a2a88cd7
019ec0b4-2a4d-78a0-8ad5-9879e2da1e3a
019ec0b4-2a4d-79bb-a7ff-344fbdc9985b
019ec0b4-2a4d-7ad1-8ea9-c6bbf4ede336
019ec0b4-2a4d-7be4-8daf-7562e9af13d6
019ec0b4-2a4d-7cf2-85a6-b16322fe20d1
019ec0b4-2a4d-7e09-8511-27d161158345
019ec0b4-2a4d-7f1b-a13d-a395f5ef413c

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)

1f167199-135c-6942-aab5-4cf95d479851
1f167199-135c-6b04-aab5-4cf95d479851
1f167199-135c-6be0-aab5-4cf95d479851
1f167199-135c-6ca8-aab5-4cf95d479851
1f167199-135c-6d66-aab5-4cf95d479851
1f167199-135c-6e24-aab5-4cf95d479851
1f167199-135c-6ee2-aab5-4cf95d479851
1f167199-135c-6fa0-aab5-4cf95d479851
1f167199-135d-605e-aab5-4cf95d479851
1f167199-135d-6112-aab5-4cf95d479851
1f167199-135d-628e-aab5-4cf95d479851
1f167199-135d-63d8-aab5-4cf95d479851
1f167199-135d-64f0-aab5-4cf95d479851
1f167199-135d-661c-aab5-4cf95d479851
1f167199-135d-66e4-aab5-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)

9135d7c0-6719-11f1-aab5-4cf95d479851
9135d824-6719-11f1-aab5-4cf95d479851
9135d87e-6719-11f1-aab5-4cf95d479851
9135d8e2-6719-11f1-aab5-4cf95d479851
9135d93c-6719-11f1-aab5-4cf95d479851
9135da22-6719-11f1-aab5-4cf95d479851
9135da90-6719-11f1-aab5-4cf95d479851
9135daf4-6719-11f1-aab5-4cf95d479851
9135db58-6719-11f1-aab5-4cf95d479851
9135dbbc-6719-11f1-aab5-4cf95d479851
9135dc20-6719-11f1-aab5-4cf95d479851
9135dc7a-6719-11f1-aab5-4cf95d479851
9135dce8-6719-11f1-aab5-4cf95d479851
9135dd42-6719-11f1-aab5-4cf95d479851
9135dda6-6719-11f1-aab5-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)

a488530d-a702-840a-87ea-5ce32bd83b97
8b51540d-a702-840a-87ea-5ce32bd83b97
dab9550d-a702-840a-87ea-5ce32bd83b97
c095560d-a702-840a-87ea-5ce32bd83b97
bbc3580d-a702-840a-87ea-5ce32bd83b97
5e89590d-a702-840a-87ea-5ce32bd83b97
5ca45a0d-a702-840a-87ea-5ce32bd83b97
78a35b0d-a702-840a-87ea-5ce32bd83b97
b8845c0d-a702-840a-87ea-5ce32bd83b97
511a5d0d-a702-840a-87ea-5ce32bd83b97
c8df5e0d-a702-840a-87ea-5ce32bd83b97
c1a25f0d-a702-840a-87ea-5ce32bd83b97
57cc600d-a702-840a-87ea-5ce32bd83b97
e5db610d-a702-840a-87ea-5ce32bd83b97
5422620d-a702-840a-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)

87764d32-348e-4a7a-8d20-b7a78d3185c7
ad775612-84b9-419a-a9b6-2d52c39d0d21
e7a5ed9a-823d-4650-83ee-e0911b16de2c
a4f4e825-264f-45c5-a6bd-60eff7bf48ba
80480051-61ad-4805-8d91-33b20fa97f6f
026282e5-f20b-433b-8539-0e484937ebd3
6f75084c-f674-4e83-a975-1f1c6ba6daab
ef841c80-9d55-45ca-be22-0048f8cf79f2
7b603a11-e9cd-4ab4-a5c2-d09fa0b0b343
93ecae91-39af-465f-840b-2d8aaec83265
10748188-abee-4b1b-873a-076269111993
c8ee1ed3-f957-4cc7-8f0c-d833d54b1c95
ecfe3aac-ecd3-407c-84a6-6b3fffa3a868
d4d672b2-67ed-41b3-9244-d405f30f5287
8028b453-d341-45a1-a27c-53c1dc8ba448

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: