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)

019cd517-62fd-7063-9216-c8435abb7a47
019cd517-62fe-7200-bf35-ad89bfac30d6
019cd517-62fe-7340-be8b-05626ff6e189
019cd517-62fe-745f-bf28-dec31cd07351
019cd517-62fe-7579-8191-b7a14137a6ef
019cd517-62fe-7694-bc9e-899eeb2242f5
019cd517-62fe-77af-8286-b8705f7e9fe8
019cd517-62fe-78c9-a4e9-1593be65adc1
019cd517-62fe-79e4-b541-176698970e20
019cd517-62fe-7afa-8d47-6658283bd3ba
019cd517-62fe-7c11-8bd1-51f6d3f2a243
019cd517-62fe-7d2c-9869-261487f7a19e
019cd517-62fe-7e1d-ba95-8c456d5c5680
019cd517-62fe-7f3c-9df9-0db5f5f6ea05
019cd517-62ff-7057-9dbe-2b22e0bfee6b

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)

1f11c15f-50c4-6dbe-84e5-4cf95d479851
1f11c15f-50c4-6f6c-84e5-4cf95d479851
1f11c15f-50c5-6052-84e5-4cf95d479851
1f11c15f-50c5-6124-84e5-4cf95d479851
1f11c15f-50c5-6200-84e5-4cf95d479851
1f11c15f-50c5-62c8-84e5-4cf95d479851
1f11c15f-50c5-639a-84e5-4cf95d479851
1f11c15f-50c5-6462-84e5-4cf95d479851
1f11c15f-50c5-652a-84e5-4cf95d479851
1f11c15f-50c5-65fc-84e5-4cf95d479851
1f11c15f-50c5-6732-84e5-4cf95d479851
1f11c15f-50c5-6804-84e5-4cf95d479851
1f11c15f-50c5-68cc-84e5-4cf95d479851
1f11c15f-50c5-6994-84e5-4cf95d479851
1f11c15f-50c5-6a5c-84e5-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)

a721b6ad-af10-49e4-ad9f-4ada83ca6e73
2c16c516-0770-446c-862a-36851d53f559
d0f62cab-59fe-41de-a0d5-edbb5a738381
43149d10-b30c-4fc0-87fc-a4e2ba637486
5d2ef1e9-1bc4-4f44-ac2d-439cce8628ea
ef15ee7b-bd23-4a6a-b373-31a9f240500e
9bd59317-716a-4c37-8858-6f6fcb632b50
7215c726-b335-4e17-bfed-5c561b8bbe4f
e30e9a46-7ab9-4316-9474-58e3e3b16cdc
beeaa364-2ec6-4321-a301-4f2bbe65c6f1
a96ccc4c-97e7-453b-8a60-6139c6f9b4f1
af0d5f79-b580-4f6f-9594-3c71eb1fc949
d3923caa-ff75-46f1-93c2-8c1e97f0287a
483577cf-fd40-4abc-b355-7ec6c54cf4cd
b7555ee7-dde8-4d39-99dc-de397688b3e7

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)

f50c5f7a-1c15-11f1-84e5-4cf95d479851
f50c5fde-1c15-11f1-84e5-4cf95d479851
f50c6042-1c15-11f1-84e5-4cf95d479851
f50c60a6-1c15-11f1-84e5-4cf95d479851
f50c6100-1c15-11f1-84e5-4cf95d479851
f50c6164-1c15-11f1-84e5-4cf95d479851
f50c61be-1c15-11f1-84e5-4cf95d479851
f50c6222-1c15-11f1-84e5-4cf95d479851
f50c6286-1c15-11f1-84e5-4cf95d479851
f50c62ea-1c15-11f1-84e5-4cf95d479851
f50c634e-1c15-11f1-84e5-4cf95d479851
f50c63a8-1c15-11f1-84e5-4cf95d479851
f50c640c-1c15-11f1-84e5-4cf95d479851
f50c6470-1c15-11f1-84e5-4cf95d479851
f50c64d4-1c15-11f1-84e5-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)

33e0a119-0e00-8504-87ea-5ce32bd83b97
64d0a219-0e00-8504-87ea-5ce32bd83b97
ce90a319-0e00-8504-87ea-5ce32bd83b97
0652a419-0e00-8504-87ea-5ce32bd83b97
c415a519-0e00-8504-87ea-5ce32bd83b97
592aa619-0e00-8504-87ea-5ce32bd83b97
d7e3a719-0e00-8504-87ea-5ce32bd83b97
383ea819-0e00-8504-87ea-5ce32bd83b97
3e83a919-0e00-8504-87ea-5ce32bd83b97
a7b3ab19-0e00-8504-87ea-5ce32bd83b97
a603ac19-0e00-8504-87ea-5ce32bd83b97
8bb2ad19-0e00-8504-87ea-5ce32bd83b97
ff2eae19-0e00-8504-87ea-5ce32bd83b97
f480af19-0e00-8504-87ea-5ce32bd83b97
e4acb019-0e00-8504-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: