Developer ToolsGeneratorsFree Tool

UUID Generator v4

Generate a random RFC 4122 version 4 UUID with the version and variant bits set correctly.

How to Use UUID Generator v4
  1. 1Click Process to generate a new UUID v4
  2. 2Copy the result
  3. 3Click Process again for another random UUID
Frequently Asked Questions

Each hex digit is randomly generated, and the version (4) and variant bits are set correctly per RFC 4122 — giving the standard UUID v4 shape with effectively no collision risk in practice.

Yes for most purposes — UUID v4 is widely used as a primary key format. If you specifically need cryptographically unpredictable IDs for security purposes (like session tokens), the API Key/Token Generator uses crypto.getRandomValues rather than Math.random.

v4 is fully random; v1 (a separate tool on this site) encodes the current timestamp plus a random node identifier, making it roughly sortable by creation time but revealing when it was generated.

No — generation happens entirely in your browser.

Related Tools

Related Articles

More from Developer Tools