Generate multiple UUID v4 values in your browser

Create a local batch of random UUID v4 values, copy them, and export TXT or CSV for test fixtures and database imports.

Open UUID Generator

Create identifiers for a test fixture

When a fixture needs 100 independent identifiers, generating and copying each one is tedious. Open UUID Generator, select the 100 preset, then Generate UUIDs. The browser creates a new batch locally. No pasted input or account is required.

Copy or export the batch

Copy all places one UUID on each line. TXT uses the same layout; CSV adds a uuid header so a spreadsheet or importer can name the column. Each new generation replaces the previous batch, so download the batch before generating another. A two-row CSV has this structure; your random values will differ.

uuid
550e8400-e29b-41d4-a716-446655440000
80ea0c1f-8f09-4fe5-b9c5-bd5abf951ad3

Generate UUIDs in application code

These standard APIs generate UUID v4 values. JavaScript crypto.randomUUID requires a secure context and a supporting browser. Java uses java.util.UUID; Python uses the standard uuid module. Each call returns a new random identifier, not the sample above.

// JavaScript in an HTTPS browser context
const ids = Array.from({ length: 100 }, () => crypto.randomUUID());
console.log(ids.join('\n'));

// Java
import java.util.UUID;
// Inside a method:
String id = UUID.randomUUID().toString();

# Python
import uuid
ids = [str(uuid.uuid4()) for _ in range(100)]
print('\n'.join(ids))

Understand the limits

The tool accepts whole numbers from 1 to 1,000, bounding generation and display work. UUID v4 has 122 random bits; collisions are extremely unlikely but not impossible. Enforce uniqueness in your database. UUIDs are identifiers, not access-control rules or a substitute for dedicated secret-token generation. The tool reports unavailable secure randomness instead of falling back to Math.random.

Try these examples in UUID Generator

API references

Browse all tutorials