Generators

UUID Generator

Create one or many RFC 4122 version 4 UUIDs using the browser’s cryptographically secure random-number generator.

Generate UUIDs

Recognize a version 4 identifier

550e8400-e29b-41d4-a716-446655440000 is a public format example, not a newly generated secret. A fresh batch should contain different values in the same shape. An application still needs uniqueness and authorization checks.

Input or checkExpected result or decision
The first character of the third group is 4The version marker.
The first character of the fourth group is 8, 9, a, or bThe required variant bits in hexadecimal form.
Five hexadecimal groups: 8-4-4-4-1236 characters including hyphens; an identifier does not grant access.
Case-insensitive format/version/variant check^[0-9a-f]{8}-[0-9a-f]{4}-4[0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}$; this does not authenticate the identifier.

How it works

  • Choose a count from 1 to 100.
  • Each UUID uses secure random bytes and the required version and variant bits.
  • Copy the list or download it as a plain-text file.

Common uses

  • Creating database identifiers.
  • Preparing unique IDs for test fixtures.
  • Generating correlation IDs for development.
Your input stays in this browser. Nothing entered into this tool is sent to the Anvil Tools server.

A practical walkthrough

  1. Generate a batch of UUIDs for test records, then copy the values into your development dataset.
  2. Preserve the full identifier, including all hexadecimal groups, when moving it between systems.
  3. Copy the generated UUIDs or download the text file. Enforce uniqueness in your application when storing identifiers.

Tips for a reliable result

Random UUIDs have an extremely low collision probability, but a database should still enforce uniqueness. Identifiers are not passwords or access controls.

What to use next

These tools open separately; inputs are not transferred.

Developer tools

JSON Formatter & Validator

Pretty-print, minify, and validate JSON directly in your browser.

Open tool →
Developer tools

CSV to JSON Converter

Convert quoted CSV data into JSON arrays or objects locally.

Open tool →
Generators

Password Generator

Create a strong, random password with adjustable length and character types.

Open tool →
Generators

Color Palette Generator

Generate a five-color palette for design work, with the option to lock colors you like.

Open tool →

How this tool handles your data

UUIDs are generated in your browser and are not sent to or stored by an Anvil processing server.

Compare privacy behavior across all tools.

Known limitations

UUIDs are identifiers, not passwords, access tokens, or proof of uniqueness across every possible system. Randomness depends on supported browser cryptography.

Related guide and Lab test

Questions and troubleshooting

Are these UUIDs guaranteed never to collide?

No finite random identifier can offer an absolute guarantee, but version 4 UUIDs have 122 random bits, making accidental collisions extraordinarily unlikely when generated correctly.

Are they generated securely?

Yes. The tool uses crypto.randomUUID when available and a crypto.getRandomValues fallback with RFC 4122 version and variant bits.

When UUID generation is unavailable

Use a supported browser with cryptographic randomness and enter a count within the displayed range. Do not substitute a predictable counter when a random UUID is required. Save the generated list using Copy or Download; identifiers still need application access controls.

Can a UUID prove that someone owns a record?

No. An identifier names a record; authorization must still be checked by the application. Do not treat possession of a UUID as permission to access private data.

Do I still need a unique constraint?

Yes. Random version 4 UUID collisions are extremely unlikely, but storage should enforce uniqueness and handle conflicts rather than assuming they are impossible.

Explore practical guides and experiments

Are UUIDs Really Unique? Version 4 Collisions, Security, and Database IDs

Can UUIDv4 identifiers collide? Learn collision probabilities, database uniqueness, UUID security, and when random or time-ordered IDs work best.

Debug API Data with JSON, Base64, and Browser Tools

Work through JSON types, encoding, URL components, JWT claims, hashes, CSV conversion, and timestamps with small reproducible examples.