# Generate UUIDs

> v7 is the modern default: a millisecond timestamp prefix makes IDs sortable, which is what you want for database primary keys and log correlation. v4 and v1 are also there. Generate up to 1000 at once via the Web Crypto API, copy the batch as a list, and paste straight into fixtures or migrations.


Live tool: https://lofttools.com/tools/dev-tools/uuid-generator

Category: Dev Tools

## How it works

1. **Choose version** — Select UUID v4 (random) or v7 (timestamp-ordered)
2. **Generate** — Click to generate one or multiple UUIDs
3. **Copy** — Copy individual UUIDs or the entire batch

## FAQ

### What is the difference between v4 and v7?

v4 is fully random. v7 includes a timestamp prefix for sortable, time-ordered identifiers.

### Can I generate UUIDs in bulk?

Yes. Generate up to 1,000 UUIDs at once and copy or download the list.

### Is it safe to paste production data?

Yes. UUIDs are generated locally via the Web Crypto API. None of the generated values are logged or cached server-side, which matters when you generate IDs that will be used in production immediately.

## Tips

- **Pick v7 for sortable IDs** — v4 is fully random. v7 prefixes a millisecond timestamp so identifiers sort by creation time — useful for database primary keys and log correlation.
- **Bulk generate up to 1000** — Generate a batch and copy the list as text for paste into seed files, fixtures, or migration scripts.
- **Generated via Web Crypto locally** — UUIDs come from the browser Web Crypto API. Nothing is logged or cached server-side, which matters when the IDs go straight into production.

## Privacy — what we do not do

This tool runs entirely in the browser via WebAssembly. Your file never reaches a Loft Tools server. Specifically:

- **No upload.** The file bytes load into the browser tab's memory and process on your own CPU. Open DevTools → Network and observe zero outbound requests carrying file data while Generate UUIDs runs.
- **No AI training on your file.** Loft does not train models. We could not train on a file we cannot see.
- **No content scanning.** No virus, copyright, or content-moderation pass against your file. The bytes are not accessible to us.
- **No server-side log of file contents, filenames, or EXIF metadata.** Cloudflare edge captures URL and truncated IP for abuse defense (standard CDN behaviour). Cloudflare Web Analytics records anonymous page hits, no cookies, no PII. Nothing about your file content reaches any log.
- **No retention.** Close the tab and the file leaves browser memory. No backups exist on our side because no copy ever existed on our side.
- **No account.** No email, no signup, no auth, no telemetry tied to you.
- **Offline-capable after first visit** (PWA). Once you've loaded a tool, it caches; later sessions work without internet. For high-sensitivity files, run the tool once online to warm the cache, then disconnect before processing.

Compare with upload-based services: each transmits your file to a processing server. Even over HTTPS, each has logs, retention windows, and subpoena exposure. Loft has none of these because the server architecture does not include your file.

## More

- All tools: https://lofttools.com/tools
- Category: https://lofttools.com/tools/dev-tools
- LLM index: https://lofttools.com/llms.txt
