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)

01a21658-683f-71a6-b422-791966f7c1ab
01a21658-6840-73f0-87db-9a5cfec07389
01a21658-6840-752c-80dd-dab94c123f97
01a21658-6840-764a-a24d-6eb5f16b7596
01a21658-6840-7761-9cfc-3d505cf4f92a
01a21658-6840-7877-9ac6-5447ce519a14
01a21658-6840-7992-a1bf-2f5fb2420ca1
01a21658-6840-7aa8-bbc8-5b7b0b51dfb8
01a21658-6840-7bbf-b5f1-fc48f83f3758
01a21658-6840-7cd5-97dc-886d40fe9ec4
01a21658-6840-7df0-a38a-5b7402701323
01a21658-6840-7f07-ae42-707519ccc4df
01a21658-6841-701d-9c15-0e310c886212
01a21658-6841-713c-9729-5d735e88b86f
01a21658-6841-7252-b439-b5a881aa7f49

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)

1f1e95af-0e9b-67ae-8673-4cf95d479851
1f1e95af-0e9b-69c0-8673-4cf95d479851
1f1e95af-0e9b-6aba-8673-4cf95d479851
1f1e95af-0e9b-6b96-8673-4cf95d479851
1f1e95af-0e9b-6c72-8673-4cf95d479851
1f1e95af-0e9b-6d58-8673-4cf95d479851
1f1e95af-0e9b-6e2a-8673-4cf95d479851
1f1e95af-0e9b-6efc-8673-4cf95d479851
1f1e95af-0e9b-6fce-8673-4cf95d479851
1f1e95af-0e9c-60aa-8673-4cf95d479851
1f1e95af-0e9c-6212-8673-4cf95d479851
1f1e95af-0e9c-62ee-8673-4cf95d479851
1f1e95af-0e9c-63c0-8673-4cf95d479851
1f1e95af-0e9c-6492-8673-4cf95d479851
1f1e95af-0e9c-6564-8673-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)

f0e9c64a-e95a-11f1-8673-4cf95d479851
f0e9c6b8-e95a-11f1-8673-4cf95d479851
f0e9c726-e95a-11f1-8673-4cf95d479851
f0e9c794-e95a-11f1-8673-4cf95d479851
f0e9c802-e95a-11f1-8673-4cf95d479851
f0e9c866-e95a-11f1-8673-4cf95d479851
f0e9c8d4-e95a-11f1-8673-4cf95d479851
f0e9c938-e95a-11f1-8673-4cf95d479851
f0e9c9a6-e95a-11f1-8673-4cf95d479851
f0e9ca14-e95a-11f1-8673-4cf95d479851
f0e9ca78-e95a-11f1-8673-4cf95d479851
f0e9cadc-e95a-11f1-8673-4cf95d479851
f0e9cb40-e95a-11f1-8673-4cf95d479851
f0e9cbae-e95a-11f1-8673-4cf95d479851
f0e9cc1c-e95a-11f1-8673-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)

d804562a-4e01-8a14-87ea-5ce32bd83b97
5d18572a-4e01-8a14-87ea-5ce32bd83b97
3dc5582a-4e01-8a14-87ea-5ce32bd83b97
8e36592a-4e01-8a14-87ea-5ce32bd83b97
7a775a2a-4e01-8a14-87ea-5ce32bd83b97
d4365b2a-4e01-8a14-87ea-5ce32bd83b97
73cd5c2a-4e01-8a14-87ea-5ce32bd83b97
e48f5d2a-4e01-8a14-87ea-5ce32bd83b97
01cd5e2a-4e01-8a14-87ea-5ce32bd83b97
65195f2a-4e01-8a14-87ea-5ce32bd83b97
081c602a-4e01-8a14-87ea-5ce32bd83b97
2a2d622a-4e01-8a14-87ea-5ce32bd83b97
5ce1632a-4e01-8a14-87ea-5ce32bd83b97
5bbc642a-4e01-8a14-87ea-5ce32bd83b97
051c652a-4e01-8a14-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)

069afe2f-37f2-455b-8dfa-39aa1429612c
23d5b41c-8204-42ae-a682-1e3106047e1a
7d000834-4cea-4a0e-b18a-0a8c9b9f8493
b0338461-84a8-4cba-982a-2436bf27cb27
f3626184-ec7c-40af-8de3-4712a22cb134
7d23904c-492a-4ff3-869c-ca3be685f640
ae4a043c-4c11-4984-a0a9-45b805462489
40bd9fb2-d498-439d-8b53-5cced4fc3fdc
07d468f1-3f9a-4e91-9bee-aa9a7cf3dcc7
373ae767-5d9c-40a5-b418-7b474f7a8923
15539a98-cd03-45fe-8d84-08e50791c77d
96ca712c-fbb9-4923-b1cf-8fb4dd305b1c
4a7c2c78-053b-494f-9d33-944d45f0c36f
7fec0771-3361-4193-b0f9-e8add665d1e8
a40a9d41-a262-43d0-8865-a408a14b5c18

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: