UUID Generator Online — v4, v7 & Nil

Generate random UUID v4, time-ordered UUID v7, or the nil UUID. Control hyphens, uppercase, format variants (braces, URN), and how many IDs you need (1–50) for fixtures and seed data.

Loading…
UUID generator — developer notes
Create RFC-style UUIDs for tests, seeds, and client IDs. v4 is random; v7 is time-sortable; nil is the all-zero sentinel.

How generation works

Choose a version, optional formatting (hyphens, uppercase, braces, URN), and a count from 1 to 50. Click Generate to fill the list — copy one line or everything, or download as .txt.

Options

Version (v4 / v7 / nil)
v4 is cryptographically random. v7 embeds a Unix timestamp for sortable IDs (shown per row). Nil returns 00000000-0000-0000-0000-000000000000 (or the hyphenless form).
Hyphens
Keep standard 8-4-4-4-12 form, or strip hyphens for APIs and databases that expect 32 hex characters.
Uppercase
Emit A–F instead of a–f when consumers are case-sensitive or expect uppercase hex.
Count (1–50)
Generate multiple IDs for fixtures without flooding the page — capped at 50.
Format wrap (plain / braces / URN)
Plain leaves the UUID as formatted above. Braces wraps it in {}. URN prefixes urn:uuid: and forces canonical lowercase with hyphens — both hyphens and uppercase toggles are disabled while URN is selected.

Examples

v4 with hyphens

Settings

version=v4, hyphens=on

Sample output

550e8400-e29b-41d4-a716-446655440000

v7 uppercase, no hyphens

Settings

version=v7, hyphens=off, uppercase=on

Sample output

018E2F3A4B5C6D7E8F90123456789ABC

Related utilities

For time-sortable IDs, the ULID generator; for compact IDs, the Nanoid generator. Convert timestamps with the Unix timestamp tool.

UUID generator FAQ

ID generation questions

When should I use UUID v7?

Use v7 when you want IDs that roughly sort by creation time (indexes and debugging). Prefer v4 when you only need random uniqueness.

Is generation private?

Yes. UUIDs are created in your browser with Web Crypto when available.

Why is count capped at 50?

Bulk fixtures are useful; huge dumps are better handled in scripts. Fifty keeps the UI focused while the slider stays practical.

What is the nil UUID for?

It is a reserved all-zero value used as a sentinel or “empty” UUID in some protocols and tests.

Developer utilities

Timestamps, UUID, ULID, Nanoid, cron, passwords, regex, slugify, number bases, case, text diff, and chmod — all client-side.

Explore other tool categories

Minify

Shrink code and assets for production — minify JavaScript, CSS, HTML, JSON and XML before gzip or CDN deploy.

Beautify

Make code readable with consistent indentation — beautify JavaScript, CSS, TypeScript, SCSS, LESS, Markdown, GraphQL, SQL, YAML and more in your browser.

Unminify

Expand minified or compressed code — unminify JavaScript, CSS, TypeScript, SCSS, LESS, SQL, YAML and other formats when debugging or reviewing.

Conversion

Transform data between JSON, YAML, XML and CSV locally — no server uploads.

CSS preprocessors

Compile SCSS or LESS to standard CSS in the browser — pair with beautify or minify for a full stylesheet workflow.

JSON Tools

Validate, format, diff and explore JSON payloads — complementary to minifiers and converters.

SVG Tools

Preview, optimize with SVGO, export Data URI, resize, beautify, convert to JSX and validate SVG — all in your browser.

DevOps & Infra

Terraform HCL format/validate/minify, Dockerfile format & lint, Docker Compose and .env validation.

CI/CD

GitHub Actions and GitLab CI — format YAML and check workflow/job structure in your browser.

Logs & observability

Line-oriented JSON/NDJSON and Nginx/Apache access logs — format, filter, validate, and CSV/TSV.

Kubernetes

Multi-doc manifests, structural validate, Ingress/Deployment starters, and Helm values formatting.

Networking / IP

CIDR, subnets, and IPv4/IPv6 helpers — in your browser.

Security & tokens

JWKS, X.509 certificates, and secrets scan — browser-local.

API & schemas

OpenAPI tools to format, validate, and lint your specs.

Encoding

Encode or decode Base64, URL components and HTML entities — client-side only.

Text & Markdown

Count words, build Markdown TOCs, and clean line lists — all in your browser.

AI & LLM

Token counting, pricing estimates, and context-window fit — 100% browser-local.

Serialization

Serialize and deserialize PHP data structures beside JSON workflows.