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)

01995411-dee7-78da-bfc9-0ecd9646c665
01995411-dee7-7a6b-b2b7-d5ee3d7c6c3f
01995411-dee7-7baf-91f3-189b9b5c64fd
01995411-dee7-7cda-a0d1-0a96620d98d3
01995411-dee7-7df8-82a6-63479274d4b0
01995411-dee7-7f17-9eca-757a1ab2475d
01995411-dee8-7036-81af-cf0fb2137daf
01995411-dee8-7154-be0b-88356dd96cb0
01995411-dee8-726f-9f39-5ca4e2532802
01995411-dee8-738e-a56f-e4d6e8d92074
01995411-dee8-74a8-abb8-9f37fe3a58e1
01995411-dee8-75e8-b7d4-b7c19e8616ba
01995411-dee8-7769-bfda-80e60b65d260
01995411-dee8-78c1-8ae6-ec3c671c994f
01995411-dee8-79e8-a8b5-1b37d39f090d

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)

1f093360-d94a-62e6-b273-4cf95d479851
1f093360-d94a-64a8-b273-4cf95d479851
1f093360-d94a-658e-b273-4cf95d479851
1f093360-d94a-666a-b273-4cf95d479851
1f093360-d94a-6732-b273-4cf95d479851
1f093360-d94a-67fa-b273-4cf95d479851
1f093360-d94a-68b8-b273-4cf95d479851
1f093360-d94a-6976-b273-4cf95d479851
1f093360-d94a-6a3e-b273-4cf95d479851
1f093360-d94a-6afc-b273-4cf95d479851
1f093360-d94a-6c50-b273-4cf95d479851
1f093360-d94a-6d18-b273-4cf95d479851
1f093360-d94a-6dd6-b273-4cf95d479851
1f093360-d94a-6e9e-b273-4cf95d479851
1f093360-d94a-6f5c-b273-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)

2ce0a3f9-cbf2-455b-8b07-be7b53e0744c
ef030fe4-5365-4821-8a13-8eea3f969ebb
e31a596c-35b3-44d4-8009-c933e7a86350
7d58b05d-4fb2-42d4-9e41-29897008d98c
e44931b6-7e25-488a-9252-aa8cc6cb0e7e
e5f7c51a-6480-47e5-a542-dfcb0eb3dd99
dc7115e1-8a35-4ec0-9b15-c4b728c8161a
876cc46b-e9a6-40be-aa71-1ecf171e7086
b45a1474-4784-4cb7-ad83-59156dd88f2e
83afa626-ef6a-4319-8d69-c3ad71363a78
316f4ce1-cc1f-4856-9b54-56f21a67dfc3
a88592b0-3205-476b-8bbe-a7cf7ddb7da6
bdd347fd-d2a4-4fe9-a04a-2aa334179150
2c5dfb5e-f1f6-4c94-aeb7-a08887be4bca
296572f0-b8f9-4b11-a34e-93e90865be71

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)

0d94b48e-9336-11f0-b273-4cf95d479851
0d94b4f2-9336-11f0-b273-4cf95d479851
0d94b556-9336-11f0-b273-4cf95d479851
0d94b5ba-9336-11f0-b273-4cf95d479851
0d94b614-9336-11f0-b273-4cf95d479851
0d94b66e-9336-11f0-b273-4cf95d479851
0d94b6d2-9336-11f0-b273-4cf95d479851
0d94b736-9336-11f0-b273-4cf95d479851
0d94b79a-9336-11f0-b273-4cf95d479851
0d94b812-9336-11f0-b273-4cf95d479851
0d94b876-9336-11f0-b273-4cf95d479851
0d94b8da-9336-11f0-b273-4cf95d479851
0d94b948-9336-11f0-b273-4cf95d479851
0d94b9ac-9336-11f0-b273-4cf95d479851
0d94ba06-9336-11f0-b273-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)

04676201-a504-8310-87e9-5ce32bd83b97
27cc6301-a504-8310-87e9-5ce32bd83b97
de7b6401-a504-8310-87e9-5ce32bd83b97
df686501-a504-8310-87e9-5ce32bd83b97
d5df6601-a504-8310-87e9-5ce32bd83b97
ebd56701-a504-8310-87e9-5ce32bd83b97
c6dc6901-a504-8310-87e9-5ce32bd83b97
7b016a01-a504-8310-87e9-5ce32bd83b97
f8ce6b01-a504-8310-87e9-5ce32bd83b97
5b806c01-a504-8310-87e9-5ce32bd83b97
e77a6d01-a504-8310-87e9-5ce32bd83b97
4c8c6e01-a504-8310-87e9-5ce32bd83b97
64366f01-a504-8310-87e9-5ce32bd83b97
fad67001-a504-8310-87e9-5ce32bd83b97
f6ae7101-a504-8310-87e9-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

An 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

An UUIDv3 is made out of a MD5 hash and an 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: