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)

018e5484-62b1-7bcf-ad80-a4db5db6a254
018e5484-62b1-7d9a-b244-5dc41368ed47
018e5484-62b1-7ee6-b094-3ac684b0bedd
018e5484-62b1-7009-bf28-ff43ce3f620e
018e5484-62b2-7127-a6e4-a99a28c212d4
018e5484-62b2-7246-82e0-2ff665b29746
018e5484-62b2-7361-a016-60c43fab6137
018e5484-62b2-7477-be13-2a9ac4f007b6
018e5484-62b2-7592-a063-18b1cdaf5927
018e5484-62b2-76ad-ac1c-1b819b99d037
018e5484-62b2-77c7-bb01-513e39540f97
018e5484-62b2-78e2-8c4e-85160beab779
018e5484-62b2-79fc-82af-542b9e551c25
018e5484-62b2-7b13-bc4c-67335c91f824
018e5484-62b2-7c2e-9104-8b1863a5bf4d

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)

1eee5978-6d0a-6c5c-b14c-4cf95d479851
1eee5978-6d0a-6e00-b14c-4cf95d479851
1eee5978-6d0a-6edc-b14c-4cf95d479851
1eee5978-6d0a-6fae-b14c-4cf95d479851
1eee5978-6d0b-6076-b14c-4cf95d479851
1eee5978-6d0b-6134-b14c-4cf95d479851
1eee5978-6d0b-61f2-b14c-4cf95d479851
1eee5978-6d0b-62b0-b14c-4cf95d479851
1eee5978-6d0b-636e-b14c-4cf95d479851
1eee5978-6d0b-642c-b14c-4cf95d479851
1eee5978-6d0b-6594-b14c-4cf95d479851
1eee5978-6d0b-6666-b14c-4cf95d479851
1eee5978-6d0b-6724-b14c-4cf95d479851
1eee5978-6d0b-67d8-b14c-4cf95d479851
1eee5978-6d0b-68a0-b14c-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)

41f7a5c9-e943-4182-b6b5-68e0cf721cb6
62f2c54f-145f-4948-ab91-a3a19d7aee02
e053ea9b-3822-42ca-8245-680fc38bca27
dda2eaa0-3eea-4e9d-b3e7-eb0c221ef5d4
36006d67-9c4e-4a42-9f29-87e193bda528
0f60cc2e-a10a-4c9a-93a4-36909e94f28e
182badf9-293c-44dc-b9fb-6dea049efb32
1d27a2a8-b930-4825-905a-b1b38109e369
24109a84-ba46-4010-9f13-3669bd7d397a
de521562-5154-4fa0-a419-ba7aaf94e2f2
ea3cebcc-60f1-43d5-9ed4-1ac13e456c99
5203b749-9ed7-47ea-852b-826cbbe6c69b
335a6813-343a-429b-b463-26eb29468ecc
880f8227-7629-4543-857c-ace6eec3662e
62ef5190-2fb5-4750-9faf-9dd0b6672bcb

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)

86d0bdbe-e597-11ee-b14c-4cf95d479851
86d0be22-e597-11ee-b14c-4cf95d479851
86d0be90-e597-11ee-b14c-4cf95d479851
86d0befe-e597-11ee-b14c-4cf95d479851
86d0bf62-e597-11ee-b14c-4cf95d479851
86d0bfc6-e597-11ee-b14c-4cf95d479851
86d0c034-e597-11ee-b14c-4cf95d479851
86d0c098-e597-11ee-b14c-4cf95d479851
86d0c0fc-e597-11ee-b14c-4cf95d479851
86d0c16a-e597-11ee-b14c-4cf95d479851
86d0c1ce-e597-11ee-b14c-4cf95d479851
86d0c232-e597-11ee-b14c-4cf95d479851
86d0c296-e597-11ee-b14c-4cf95d479851
86d0c2fa-e597-11ee-b14c-4cf95d479851
86d0c35e-e597-11ee-b14c-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)

b8ecf819-00cb-804f-87e8-5ce32bd83b96
7a56f919-00cb-804f-87e8-5ce32bd83b96
c70cfa19-00cb-804f-87e8-5ce32bd83b96
3694fb19-00cb-804f-87e8-5ce32bd83b96
ca96fc19-00cb-804f-87e8-5ce32bd83b96
6d6cfd19-00cb-804f-87e8-5ce32bd83b96
620dfe19-00cb-804f-87e8-5ce32bd83b96
7ad8001a-00cb-804f-87e8-5ce32bd83b96
842c011a-00cb-804f-87e8-5ce32bd83b96
87c8021a-00cb-804f-87e8-5ce32bd83b96
e729031a-00cb-804f-87e8-5ce32bd83b96
fc22041a-00cb-804f-87e8-5ce32bd83b96
afc8051a-00cb-804f-87e8-5ce32bd83b96
3f28061a-00cb-804f-87e8-5ce32bd83b96
685b071a-00cb-804f-87e8-5ce32bd83b96

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. The revision of RFC4122 also contains an example for a custom UUIDv8 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: