UUID / Nano ID Generator

Generate UUID v4 or Nano IDs in bulk using cryptographically secure randomness. Copy all at once.

Runs in your browser
Type
Count

How to Use the UUID Generator

  1. Choose your ID type: UUID v4 (random), UUID v1 (time-based), or Nano ID (URL-safe, compact).
  2. Set the number of IDs to generate (1 to 100).
  3. Click Generate to produce the IDs instantly.
  4. Click Copy All to copy every generated ID to your clipboard at once.

About the UUID Generator

Universally Unique Identifiers (UUIDs) are 128-bit identifiers used throughout software engineering for database primary keys, session tokens, correlation IDs, and more. UUID v4 uses cryptographically secure random numbers via the browser's crypto.randomUUID() API, making collisions astronomically unlikely. UUID v1 incorporates the current timestamp and is useful when you need time-ordered IDs. Nano IDs are a modern alternative: shorter, URL-safe, and also cryptographically secure — ideal for use in URLs or compact storage formats. All generation happens locally in your browser.

Frequently Asked Questions

What is a UUID?
A UUID (Universally Unique Identifier) is a 128-bit identifier standardized by RFC 4122. It is formatted as 32 hexadecimal characters in the pattern xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx. UUIDs are designed to be unique across time and space without requiring a central authority to assign them.
When should I use UUID v4 vs Nano ID?
UUID v4 is the most widely supported format and the best default choice for database keys and APIs that expect UUID format. Nano ID is shorter (21 characters by default vs 36 for UUID), URL-safe, and more compact for use in URLs, filenames, or environments where brevity matters. Both are cryptographically secure.
Are these UUIDs cryptographically secure?
Yes. UUID v4 is generated using the browser's Web Crypto API (crypto.randomUUID()), which uses a cryptographically secure pseudo-random number generator (CSPRNG). Nano IDs also use crypto.getRandomValues(). Both are suitable for security-sensitive applications.
Can I generate more than 100 UUIDs at once?
The default upper limit is 100, which covers most development use cases like seeding a database or populating test fixtures. If you need thousands of UUIDs, consider using a CLI tool like the uuid npm package in a script instead.