A UUID (Universally Unique Identifier) is a 128-bit value written as a standard string so systems can mint IDs without a central counter. You use them for database primary keys, API resource IDs, correlation IDs in logs, and temporary object names when two machines must never clash.
This guide explains how UUID version 4 works, why collisions are astronomically rare in normal use, how bulk generation and formatting (hyphens, case) affect storage and APIs, and when a sequential ID is still a better fit. Generate ready-to-paste values with the free UUID generator — browser-side, no signup.
You will also see how GUIDs relate to UUIDs and what to check before dropping random IDs into indexes or public URLs.