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)

019ee96d-ceeb-775d-810c-166d06f73c07
019ee96d-ceeb-7961-a888-4f86ca354294
019ee96d-ceeb-7aea-9da2-0651beffee48
019ee96d-ceeb-7c3a-bfa6-e184ca833090
019ee96d-ceeb-7d86-afe6-109b84dd8058
019ee96d-ceeb-7ee2-8ce5-dcaad4f7af7e
019ee96d-ceec-704a-a746-97ea5c6096bb
019ee96d-ceec-71af-82e5-41638ca771c4
019ee96d-ceec-730b-b804-8bd1cb03982c
019ee96d-ceec-745f-8a5a-db8edc532936
019ee96d-ceec-75aa-933b-3af3e57d83d5
019ee96d-ceec-7707-a3c7-25f6837028f2
019ee96d-ceec-7873-b8c8-a394523b822e
019ee96d-ceec-79dc-9d33-bc10b8bad5c3
019ee96d-ceec-7b3c-b8a3-a09dea304054

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)

1f16d506-4e44-630e-9e52-4cf95d479851
1f16d506-4e44-6584-9e52-4cf95d479851
1f16d506-4e44-6700-9e52-4cf95d479851
1f16d506-4e44-6868-9e52-4cf95d479851
1f16d506-4e44-69c6-9e52-4cf95d479851
1f16d506-4e44-6b2e-9e52-4cf95d479851
1f16d506-4e44-6c96-9e52-4cf95d479851
1f16d506-4e44-6dfe-9e52-4cf95d479851
1f16d506-4e44-6f7a-9e52-4cf95d479851
1f16d506-4e45-610a-9e52-4cf95d479851
1f16d506-4e45-6344-9e52-4cf95d479851
1f16d506-4e45-64d4-9e52-4cf95d479851
1f16d506-4e45-6646-9e52-4cf95d479851
1f16d506-4e45-67b8-9e52-4cf95d479851
1f16d506-4e45-692a-9e52-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)

64e45aba-6d50-11f1-9e52-4cf95d479851
64e45b64-6d50-11f1-9e52-4cf95d479851
64e45c04-6d50-11f1-9e52-4cf95d479851
64e45c9a-6d50-11f1-9e52-4cf95d479851
64e45d3a-6d50-11f1-9e52-4cf95d479851
64e45dd0-6d50-11f1-9e52-4cf95d479851
64e45e70-6d50-11f1-9e52-4cf95d479851
64e45f06-6d50-11f1-9e52-4cf95d479851
64e45fa6-6d50-11f1-9e52-4cf95d479851
64e46046-6d50-11f1-9e52-4cf95d479851
64e460e6-6d50-11f1-9e52-4cf95d479851
64e46186-6d50-11f1-9e52-4cf95d479851
64e4621c-6d50-11f1-9e52-4cf95d479851
64e462bc-6d50-11f1-9e52-4cf95d479851
64e46352-6d50-11f1-9e52-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)

56374530-2202-8c0a-87ea-5ce32bd83b97
fed34630-2202-8c0a-87ea-5ce32bd83b97
b4784730-2202-8c0a-87ea-5ce32bd83b97
6c924830-2202-8c0a-87ea-5ce32bd83b97
241e4930-2202-8c0a-87ea-5ce32bd83b97
42414a30-2202-8c0a-87ea-5ce32bd83b97
bd3a4b30-2202-8c0a-87ea-5ce32bd83b97
33074c30-2202-8c0a-87ea-5ce32bd83b97
b6704d30-2202-8c0a-87ea-5ce32bd83b97
68fe4e30-2202-8c0a-87ea-5ce32bd83b97
a3fb4f30-2202-8c0a-87ea-5ce32bd83b97
d6ca5030-2202-8c0a-87ea-5ce32bd83b97
b3dd5130-2202-8c0a-87ea-5ce32bd83b97
dd7a5230-2202-8c0a-87ea-5ce32bd83b97
07605330-2202-8c0a-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)

0d3f9daa-78f8-43b9-b515-3baf1c15e4ec
83f93031-38e0-4f92-a2d6-dd2d03401e10
bd20878a-38e7-4e64-9e3e-f51d30a571fc
6ced62ac-e934-43c8-aa3f-58a36983a3fb
48deab12-032b-412a-9a94-9174ad3effff
0600ece7-7d7f-427e-acb3-3f0cbb4aff7f
3182845c-f678-4c68-9f97-ec9dbac20844
554537ba-20ff-4ae5-8efc-5b4eccb17620
567b491d-86b9-4c32-adfa-a023ced32cad
f7f0b08e-3c5b-420d-be0d-254ba4b7576d
1fa120ee-725b-485b-af9f-789bb2305fd1
f17b30f3-6b23-41eb-a404-fe300498796d
d56395cd-2f89-4be2-8f12-0bf18d0fc5ab
5cc61d5a-558e-4ab3-8b4f-03f5aa6bad03
b9953c84-0d3b-4836-8f25-bae823565470

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: