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)

019dfb4a-64f5-79c7-9d8e-04e0d8f8d57d
019dfb4a-64f5-7b86-a8bd-5d79026449ef
019dfb4a-64f5-7cc9-af6d-9473e7578e94
019dfb4a-64f5-7e0d-87a2-f94e081bb4e2
019dfb4a-64f5-7f48-bb8a-fdf0611e9530
019dfb4a-64f6-7094-bfc0-41281bc5a506
019dfb4a-64f6-71b7-80fa-19ca3ff731ba
019dfb4a-64f6-72cd-94b2-beb1fe5e6912
019dfb4a-64f6-73e0-9d6d-32dbb13dbd46
019dfb4a-64f6-74f2-a88b-ef726dffe512
019dfb4a-64f6-7609-aa2e-27391e47fe7a
019dfb4a-64f6-771b-9c26-99dcfbc9be76
019dfb4a-64f6-782e-a424-fa101650a537
019dfb4a-64f6-7944-aa12-a6a0c56c7325
019dfb4a-64f6-7a57-aa9e-fcea0fbf721a

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)

1f148fa1-d892-66ac-bfe4-4cf95d479851
1f148fa1-d892-6864-bfe4-4cf95d479851
1f148fa1-d892-694a-bfe4-4cf95d479851
1f148fa1-d892-6a1c-bfe4-4cf95d479851
1f148fa1-d892-6aee-bfe4-4cf95d479851
1f148fa1-d892-6bb6-bfe4-4cf95d479851
1f148fa1-d892-6c74-bfe4-4cf95d479851
1f148fa1-d892-6d3c-bfe4-4cf95d479851
1f148fa1-d892-6e04-bfe4-4cf95d479851
1f148fa1-d892-6ec2-bfe4-4cf95d479851
1f148fa1-d893-600c-bfe4-4cf95d479851
1f148fa1-d893-60d4-bfe4-4cf95d479851
1f148fa1-d893-619c-bfe4-4cf95d479851
1f148fa1-d893-626e-bfe4-4cf95d479851
1f148fa1-d893-632c-bfe4-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)

6794a3a1-48d7-4ca3-b7f5-b299290a2337
37a8825c-5a3e-4a3a-b45a-d242dc6ae3fc
9a0338ef-275c-435f-9a0a-754506db10c7
261260fc-d08f-4aa5-942f-83527b058da1
fb77a0cb-76bd-4ae2-b2d5-ef0b8daa966d
92a1d766-b049-4567-bae9-416717df67a2
4e038bb8-297c-4db0-9dd8-9f711342817f
38a37733-5f0f-425b-ad57-b5c0884e8d58
ad6d43c4-a9b7-44da-9f2f-c50a85ec1e99
1ff26327-bc7b-473c-a077-ef4791724923
89823543-9a3b-45cd-ae09-e22aa385c146
2ab83ff9-25af-49f1-b025-0233b1baef56
2b4b8b1c-9878-4088-b435-22bc6ace058d
fb610fcb-ff43-4577-8ba0-8a292c752363
c1bf13c7-0c33-46af-82fe-6ae54f2fcc81

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)

1d893868-48fa-11f1-bfe4-4cf95d479851
1d8938cc-48fa-11f1-bfe4-4cf95d479851
1d893930-48fa-11f1-bfe4-4cf95d479851
1d89399e-48fa-11f1-bfe4-4cf95d479851
1d893a0c-48fa-11f1-bfe4-4cf95d479851
1d893a66-48fa-11f1-bfe4-4cf95d479851
1d893aca-48fa-11f1-bfe4-4cf95d479851
1d893b2e-48fa-11f1-bfe4-4cf95d479851
1d893b88-48fa-11f1-bfe4-4cf95d479851
1d893bec-48fa-11f1-bfe4-4cf95d479851
1d893c5a-48fa-11f1-bfe4-4cf95d479851
1d893cbe-48fa-11f1-bfe4-4cf95d479851
1d893d54-48fa-11f1-bfe4-4cf95d479851
1d893dc2-48fa-11f1-bfe4-4cf95d479851
1d893e30-48fa-11f1-bfe4-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)

9fbef91d-c600-8e07-87ea-5ce32bd83b97
2af4fa1d-c600-8e07-87ea-5ce32bd83b97
04e6fb1d-c600-8e07-87ea-5ce32bd83b97
dfc5fc1d-c600-8e07-87ea-5ce32bd83b97
3b1afd1d-c600-8e07-87ea-5ce32bd83b97
2e4cfe1d-c600-8e07-87ea-5ce32bd83b97
f8c0001e-c600-8e07-87ea-5ce32bd83b97
fc32011e-c600-8e07-87ea-5ce32bd83b97
cc66021e-c600-8e07-87ea-5ce32bd83b97
cbb0031e-c600-8e07-87ea-5ce32bd83b97
288c041e-c600-8e07-87ea-5ce32bd83b97
91bd051e-c600-8e07-87ea-5ce32bd83b97
f953061e-c600-8e07-87ea-5ce32bd83b97
638c071e-c600-8e07-87ea-5ce32bd83b97
08ab081e-c600-8e07-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: