# UUID Generator

Canonical URL: https://offlineutils.com/uuid-generator
Category: Developer
Published: 2026-06-24
Publisher: offlineutils.com
Runs entirely in the browser; nothing entered into the tool is uploaded.

> A UUID Generator produces universally unique 128-bit identifiers — specifically RFC 4122 version 4 UUIDs sourced from the browser's cryptographic random number generator — for use as database keys, request IDs, and idempotency tokens.

Generate a single UUID or up to 1,000 at a time. Output uses the canonical 8-4-4-4-12 hex grouping. We use the native crypto.randomUUID() Web API where available, falling back to crypto.getRandomValues for older browsers, so every UUID is sourced from the platform's CSPRNG.

## Features

- Generate up to 1,000 RFC 4122 v4 UUIDs at a time
- Canonical 8-4-4-4-12 hex grouping or dash-less form
- Uppercase / lowercase toggle
- Powered by crypto.randomUUID (Web Crypto CSPRNG)
- Bulk copy as a newline-delimited list or JSON array

## Use cases

- Seeding test database rows with realistic primary keys
- Generating idempotency keys for retryable API calls
- Creating request correlation IDs for tracing
- Bulk-generating IDs for a one-shot migration script

## How to use it

1. **Pick a quantity** — Enter how many UUIDs you need (1 to 1,000).
2. **Choose a format** — Canonical 8-4-4-4-12, dash-less 32-char hex, or uppercased — your call.
3. **Copy or download** — Copy the whole list to your clipboard or download as a .txt file.

## When to use it, and when to use something else

- **vs crypto.randomUUID() in the console** — use UUID Generator when you want bulk generation and format options without scripting. Use crypto.randomUUID() in the console when you need a single ID and are already in DevTools.
- **vs ULID Generator (on this site)** — use UUID Generator when you want fully random identifiers with no time information. Use ULID Generator (on this site) when you want time-ordered, lexicographically sortable IDs.

## Frequently asked questions

### Is crypto.randomUUID secure enough for production?

Yes. crypto.randomUUID is specified to use a CSPRNG and produces RFC 4122 version 4 UUIDs with 122 bits of entropy. Collision probability is negligible at any realistic scale.

### What version of UUID does this generate?

Version 4 — fully random. For time-ordered identifiers, see the ULID Generator.

### Can I generate UUIDs without hyphens?

Yes — the output format selector lets you switch to the dash-less 32-character hex form, with or without uppercasing.

## Related tools

- https://offlineutils.com/ulid-generator
- https://offlineutils.com/hash-generator
- https://offlineutils.com/password-generator
