Skip to main content
CaseSwitch

UUID Generator

Produce random UUID v4 values for database keys, API request IDs, and test fixtures. Each value is generated locally using your browser's random number source.

Last reviewed: 2026-07-23

Uses secure browser randomness when available. Nothing is sent to a server.

How to use

  1. Click generate to create a new UUID.
  2. Copy the value to your clipboard.
  3. Paste into your code, database migration, or API request.

Examples

Single UUID v4

Input

(click Generate)

Output

f47ac10b-58cc-4372-a567-0e02b2c3d479

UUID v4 vs other versions

Version 4 UUIDs are random. Version 1 UUIDs embed a timestamp and MAC address. For most application IDs, v4 is the right choice because it carries no hardware information.

Collision probability

The chance of generating duplicate v4 UUIDs is astronomically low for practical purposes — safe for billions of records without coordination between servers.

Frequently asked questions

Are these values cryptographically secure?+

Random generators use crypto.getRandomValues() in your browser for secure randomness where supported.

Are these UUID v4?+

Yes. Each identifier is a version 4 UUID generated with cryptographically strong randomness when available in your browser.

Related guides

Learn more about this topic in our blog.

Related tools