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)

01a00855-279c-7d07-9c0d-baddebc2b180
01a00855-279c-7e98-bf00-79a4d5c1e4a0
01a00855-279c-7fcf-b3c6-0b3979940b6b
01a00855-279d-70fa-9fe2-ef89183d97f5
01a00855-279d-7215-b5e0-98bd0a803569
01a00855-279d-7327-9974-0d98e5ad4117
01a00855-279d-743e-8f26-9abab66043c0
01a00855-279d-7554-9239-8856abd62538
01a00855-279d-7667-9f19-f51d880c6666
01a00855-279d-777d-94d0-f2d4ef97cf83
01a00855-279d-7894-a20b-ea2e01ffccc5
01a00855-279d-79aa-9c49-40ea3faecf05
01a00855-279d-7ac1-913c-5c24249e8a33
01a00855-279d-7bd8-a2a1-0f6572194229
01a00855-279d-7cee-a7e4-766c8d6ef082

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)

1f199179-1dcc-6852-9f51-4cf95d479851
1f199179-1dcc-6a32-9f51-4cf95d479851
1f199179-1dcc-6b0e-9f51-4cf95d479851
1f199179-1dcc-6bd6-9f51-4cf95d479851
1f199179-1dcc-6c9e-9f51-4cf95d479851
1f199179-1dcc-6d52-9f51-4cf95d479851
1f199179-1dcc-6e06-9f51-4cf95d479851
1f199179-1dcc-6ec4-9f51-4cf95d479851
1f199179-1dcc-6f82-9f51-4cf95d479851
1f199179-1dcd-6036-9f51-4cf95d479851
1f199179-1dcd-618a-9f51-4cf95d479851
1f199179-1dcd-6252-9f51-4cf95d479851
1f199179-1dcd-6310-9f51-4cf95d479851
1f199179-1dcd-63c4-9f51-4cf95d479851
1f199179-1dcd-6482-9f51-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)

91dcd54a-9917-11f1-9f51-4cf95d479851
91dcd5ae-9917-11f1-9f51-4cf95d479851
91dcd612-9917-11f1-9f51-4cf95d479851
91dcd66c-9917-11f1-9f51-4cf95d479851
91dcd6d0-9917-11f1-9f51-4cf95d479851
91dcd72a-9917-11f1-9f51-4cf95d479851
91dcd798-9917-11f1-9f51-4cf95d479851
91dcd7f2-9917-11f1-9f51-4cf95d479851
91dcd84c-9917-11f1-9f51-4cf95d479851
91dcd8b0-9917-11f1-9f51-4cf95d479851
91dcd90a-9917-11f1-9f51-4cf95d479851
91dcd96e-9917-11f1-9f51-4cf95d479851
91dcd9c8-9917-11f1-9f51-4cf95d479851
91dcda2c-9917-11f1-9f51-4cf95d479851
91dcda90-9917-11f1-9f51-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)

94b19035-8200-840e-87ea-5ce32bd83b97
5edb9135-8200-840e-87ea-5ce32bd83b97
e6889335-8200-840e-87ea-5ce32bd83b97
e74b9435-8200-840e-87ea-5ce32bd83b97
a1aa9535-8200-840e-87ea-5ce32bd83b97
6dd99635-8200-840e-87ea-5ce32bd83b97
e4c59735-8200-840e-87ea-5ce32bd83b97
11189835-8200-840e-87ea-5ce32bd83b97
98319935-8200-840e-87ea-5ce32bd83b97
89af9a35-8200-840e-87ea-5ce32bd83b97
52ab9b35-8200-840e-87ea-5ce32bd83b97
3a569c35-8200-840e-87ea-5ce32bd83b97
4c699d35-8200-840e-87ea-5ce32bd83b97
466c9e35-8200-840e-87ea-5ce32bd83b97
86ba9f35-8200-840e-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)

13962dbe-fb2e-46d5-a96b-93a4e9d195d3
6611f52a-f449-4e55-a799-dd36f1d633ba
b935a3e8-259a-49e4-ba78-446d57e73e3f
5d6c1ab2-0f6d-423e-9c84-a51467ed44d8
45bf631f-6165-4d9a-8e79-9f80efaf38d0
f2eff63f-39e0-4dd8-ae44-39702c713152
e73c8308-c5c3-45be-945c-ad95b98e4dfd
df805772-b873-40a5-9980-4c99dd8b906d
9d13fe1d-8cd1-43ee-94fc-0c6bbc7d7633
7458282b-c795-4a60-b5cc-80fe59c741c0
4e70244e-9490-4e28-a794-1fd3b07616bc
64f1fc2d-2335-44bd-a050-8ee2c3faddba
25bd4c79-a03d-4748-b7ee-fea84a50577b
e4b526e9-6145-492c-b1bd-db5df092bbbc
0c0c9394-3188-473b-a0d1-559bb4a2be13

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: