# UUID Generator — Create Random UUID v4 Values

> Generate random UUID v4 values in your browser. Create a batch, copy it, or download it as text.

Source: https://toolpantry.app/uuid-generator

## About

Create random version 4 UUIDs for database rows, API fixtures, test data, and local development. Generation happens in your browser.

## Quick answer

**How do I generate a UUID?** Choose a batch size from 1 to 100, then generate UUID v4 values in your browser. Copy the results or download them as a text file.

## How to generate UUIDs (v4)

1. **Pick a batch size** — choose a whole number from 1 to 100; uppercase is optional.
2. **Generate** — version-4 UUIDs from your browser’s secure random source.
3. **Copy or download** — one per line, ready for a seed script.

## Typical uses

- Database primary keys and test fixtures
- Unique filenames and correlation IDs in logs
- Generating random IDs for sample data

## Good to know

UUID v4 is random — collision odds are astronomically small, but the values are not time-ordered, which some databases prefer for write performance. If you need sortable IDs, UUID v7 or an ULID solves that; v4 remains the standard “just unique” choice and is what this tool generates.

## Notes

This page generates UUID v4 values with the browser's cryptographic random source. It does not check whether an existing UUID is already in your database.

## FAQ

**What is a UUID?**

A UUID is a 128-bit identifier commonly written as five groups of hexadecimal characters separated by hyphens.

**Which UUID version does this use?**

This tool creates random version 4 UUIDs, which are suitable for many IDs and test fixtures.
