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)

019ba9c1-a575-7b75-b8bd-05cdab0db327
019ba9c1-a575-7d30-b274-74f1caf1dcc5
019ba9c1-a575-7e77-9483-3bf6d95a5056
019ba9c1-a575-7fa2-8544-c5c84ef960ad
019ba9c1-a576-70c1-804b-0b30be2ace90
019ba9c1-a576-71e0-a40b-84efd2f208fe
019ba9c1-a576-72fe-ab50-ef2e1bc66b9e
019ba9c1-a576-7425-8177-8a98976434fa
019ba9c1-a576-7548-9bdf-3f4d301fdd6f
019ba9c1-a576-7667-9c5c-ba2c41b4f406
019ba9c1-a576-7786-b1bb-7d64d28a971f
019ba9c1-a576-78a4-bf4c-ab3a5cb3b28f
019ba9c1-a576-79c3-be18-b7a6e30de2cf
019ba9c1-a576-7ae6-a0e8-4189d00c7901
019ba9c1-a576-7c05-a8e4-e3229a373fcc

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)

1f0ee692-fd0b-63e8-a138-4cf95d479851
1f0ee692-fd0b-658c-a138-4cf95d479851
1f0ee692-fd0b-6672-a138-4cf95d479851
1f0ee692-fd0b-673a-a138-4cf95d479851
1f0ee692-fd0b-67f8-a138-4cf95d479851
1f0ee692-fd0b-68b6-a138-4cf95d479851
1f0ee692-fd0b-6974-a138-4cf95d479851
1f0ee692-fd0b-6a28-a138-4cf95d479851
1f0ee692-fd0b-6ae6-a138-4cf95d479851
1f0ee692-fd0b-6ba4-a138-4cf95d479851
1f0ee692-fd0b-6cda-a138-4cf95d479851
1f0ee692-fd0b-6da2-a138-4cf95d479851
1f0ee692-fd0b-6e60-a138-4cf95d479851
1f0ee692-fd0b-6f1e-a138-4cf95d479851
1f0ee692-fd0b-6fd2-a138-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)

dabf28f9-7dc3-4de9-9424-3e119e46b741
17a8f297-5583-47b9-9069-9d786649ae39
4bc91bf0-adb9-4260-a186-989f41ef7542
b4e37010-87bb-46cc-bb07-f8ebe825ae5c
55a9e3f2-13fa-49a4-92fe-3538cd240b13
4ed024ea-b7c4-446a-8eff-fda6a4e85e50
19835b80-9dad-40c5-89d3-964140e9263a
1734c28a-b6a8-4fd0-a0ea-ae3327613aee
07e51bab-0815-4eee-b492-61112ee524f0
5e2d95d3-bcb2-48fe-a558-eac000241450
29374ca6-1df8-4652-9737-d9e6c889f821
b1eb215b-1ad2-4040-be9e-9602a6c30048
2f8a07a9-88f3-4ea2-b9c5-875373b00cee
e213a4b3-0c6c-49b3-9ad2-b0e420ba7166
195cfa9f-6422-4505-958a-11fd5309df7d

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)

2fd0c4e6-ee69-11f0-a138-4cf95d479851
2fd0c540-ee69-11f0-a138-4cf95d479851
2fd0c5a4-ee69-11f0-a138-4cf95d479851
2fd0c5fe-ee69-11f0-a138-4cf95d479851
2fd0c658-ee69-11f0-a138-4cf95d479851
2fd0c6bc-ee69-11f0-a138-4cf95d479851
2fd0c716-ee69-11f0-a138-4cf95d479851
2fd0c770-ee69-11f0-a138-4cf95d479851
2fd0c7ca-ee69-11f0-a138-4cf95d479851
2fd0c824-ee69-11f0-a138-4cf95d479851
2fd0c888-ee69-11f0-a138-4cf95d479851
2fd0c8e2-ee69-11f0-a138-4cf95d479851
2fd0c93c-ee69-11f0-a138-4cf95d479851
2fd0c996-ee69-11f0-a138-4cf95d479851
2fd0c9f0-ee69-11f0-a138-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)

775ff712-fa04-8a00-87ea-5ce32bd83b97
b85af812-fa04-8a00-87ea-5ce32bd83b97
e2d2f912-fa04-8a00-87ea-5ce32bd83b97
efcafa12-fa04-8a00-87ea-5ce32bd83b97
c783fb12-fa04-8a00-87ea-5ce32bd83b97
9461fc12-fa04-8a00-87ea-5ce32bd83b97
8dfafd12-fa04-8a00-87ea-5ce32bd83b97
19fcfe12-fa04-8a00-87ea-5ce32bd83b97
b1570013-fa04-8a00-87ea-5ce32bd83b97
9df40113-fa04-8a00-87ea-5ce32bd83b97
59de0213-fa04-8a00-87ea-5ce32bd83b97
7fb60313-fa04-8a00-87ea-5ce32bd83b97
34c50413-fa04-8a00-87ea-5ce32bd83b97
9be10513-fa04-8a00-87ea-5ce32bd83b97
4b590613-fa04-8a00-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: