Generate secure random RFC 4122 Version 4 UUIDs and GUIDs in single or bulk batches.
Loading interactive UUID Generator...
This UUID generator creates Universally Unique Identifiers, the 128-bit labels used across databases, APIs, distributed systems and application code to identify records without central coordination. The tool supports the three most common variants: UUID v4 (fully random), UUID v1 (time-based, incorporating the current timestamp and a node identifier), and UUID v7 (Unix-timestamp based, sorting chronologically while keeping a random tail). Because v4 is overwhelmingly the most popular choice for general work, it is the default. Every UUID is generated in your browser using the Web Crypto API, the same source of randomness browsers use for security-sensitive operations.
The generator is useful for developers seeding a database, testers creating sample data, teams preparing mock API responses, or anyone who needs a batch of unique identifiers quickly. You can generate up to a thousand UUIDs at once, apply common formatting rules (uppercase, braces, URN prefix, hyphens), copy them to the clipboard, and export the list as plain text, JSON or CSV. A built-in validator also lets you check any UUID you paste, showing its version, variant and whether it matches the standard 8-4-4-4-12 layout.
UUID v4 is generated entirely from random bits and is the standard choice when you simply need a unique identifier. UUID v1 encodes the current timestamp along with a node (MAC-like) identifier, making it useful when you want some temporal ordering. UUID v7 was designed more recently: it uses a Unix timestamp for the first 48 bits so UUIDs sort roughly in creation order, followed by random bits. v4 remains the most widely adopted for general use.
UUID v4 has 122 random bits (out of 128; 6 bits are fixed for the version and variant). With that many possible values, the probability of generating the same UUID twice is astronomically small — practical tools and databases treat v4 UUIDs as collision-free. Randomness is sourced from the browser’s Web Crypto API, which is designed for cryptographic quality.
The original UUID v1 specification places a 48-bit node identifier in the last segment, historically derived from a machine’s MAC address. Browsers do not expose MAC addresses to JavaScript, so this generator fills that segment with random bytes instead. This means the v1 UUIDs produced here are time-based but do not expose hardware information.
v7 sorts by time, which is valuable when UUIDs are used as primary keys in a database. Sequential inserts are friendlier to B-tree indexes than the random ordering of v4, potentially reducing index fragmentation. If your database or framework supports UUID v7, it can be a good choice for new projects.
No. Everything runs in your browser using JavaScript and the Web Crypto API. The UUIDs you generate, the UUIDs you paste into the validator, and the history list are all kept only in the current page’s memory — nothing is uploaded and nothing is stored after you close or refresh the page.