UUID Generator Online — v4, v7 & Nil
Generate random UUID v4, time-ordered UUID v7 or the nil UUID. Set hyphens, uppercase and the braces or URN format, then choose how many IDs you need, from 1 to 50, for fixtures and test data.
UUID or GUID? v4 vs v7
UUID and GUID name the same 128-bit identifier. GUID is the word Microsoft uses, UUID the one in the RFCs. This generator covers the versions you need day to day: v4 when IDs must be unpredictable, v7 when you want values that sort by creation time, which helps database indexes and log correlation. The nil UUID, all zeros, is there for tests. Choose hyphens, case, plain, braces or URN, and how many IDs to create (1 to 50, nil always gives one). The list is generated again when you change an option. Copy or download it: everything is created in your browser with Web Crypto. For Crockford Base32 IDs, try the ULID generator. For shorter tokens, see the Nanoid generator.
How generation works
Choose a version, the formatting (hyphens, uppercase, braces, URN) and a count from 1 to 50. The list is filled when the page opens and generated again each time you change an option. Copy one line or all of them, or download a .txt file.
Options
- Version (v4 / v7 / nil)
- v4 is random, from Web Crypto. v7 starts with a Unix timestamp in milliseconds, so the IDs sort by creation time. Each v7 row shows that timestamp. Nil returns 00000000-0000-0000-0000-000000000000, or its form without hyphens.
- Hyphens
- Keep the standard 8-4-4-4-12 form, or remove the hyphens for APIs and databases that expect 32 hex characters.
- Uppercase
- Writes the hex letters in uppercase (A to F) for systems that compare IDs case-sensitively or expect uppercase.
- Count (1–50)
- Enough IDs for a set of fixtures, up to 50. For thousands, a script is the better tool.
- Format (plain, braces, URN)
- Plain leaves the UUID as set by the options above. Braces wraps it in {}. URN adds the urn:uuid: prefix and always writes lowercase with hyphens, so the hyphen and uppercase switches are disabled while URN is selected.
Examples
v4 with hyphens
Settings
Sample output
v7 uppercase, no hyphens
Settings
Sample output
Related utilities
For IDs that sort by time, use the ULID generator. For compact IDs, the Nanoid generator. To convert timestamps, open the Unix timestamp tool.
UUID generator FAQ
Versions, formats and limits
When should I use UUID v7?
Use v7 when you want IDs that sort by creation time, for database indexes or debugging. Use v4 when you only need random, unique values.
Is generation private?
Yes. UUIDs are created in your browser with Web Crypto, and nothing is sent to FastMinify.
Why is count capped at 50?
Fifty covers a set of fixtures and keeps the list readable. To produce thousands of IDs, a script does the job faster.
What is the nil UUID for?
It is a reserved value made of zeros, used in some protocols and tests to mean “no UUID” or “empty”.
Is a GUID the same as a UUID?
For developers, yes: both name a 128-bit unique identifier. GUID is the term in .NET and Windows documentation. UUID is the RFC term this tool follows for v4, v7 and nil.
How do I generate several UUIDs at once?
Set Count between 1 and 50 with the slider or the number field. The list then holds that many UUIDs: copy one line, copy all, or download a .txt file. The nil version ignores the count and always returns a single all-zero UUID.
Developer utilities
Timestamps, UUID, ULID, Nanoid, cron, passwords, regex, slugs, number bases, letter case, text diff, chmod and Lorem Ipsum, all in your browser.
Explore other tool categories
- Minify
Minify JavaScript, CSS, HTML, JSON, XML, SVG and other formats to cut the bytes you ship, before gzip or a CDN.
- Unminify
Make minified code readable again to debug or review it. Unminify JavaScript, CSS, TypeScript, SCSS, LESS, SQL, YAML and other formats.
- Conversion
Convert data between JSON, YAML, XML, CSV, TOML and other formats locally, with no upload to a server.
- Encoding
Encode or decode Base64, URLs, HTML entities and JWTs, and generate hashes and HMACs in your browser.
- Serialization
Serialize and deserialize PHP data structures beside JSON workflows.
- JSON Tools
Validate, format, repair, compare and explore JSON in your browser, alongside the JSON minifier and converters.
- SVG Tools
Preview, optimize with SVGO, export as a data URI, resize, beautify, convert to JSX and validate SVG in your browser.
- Beautify
Make code readable with consistent indentation. Beautify JavaScript, CSS, TypeScript, SCSS, LESS, Markdown, GraphQL, SQL, YAML and more in your browser.
- CSS preprocessors
Compile SCSS or LESS to standard CSS in your browser. Pair it with beautify or minify to handle a whole stylesheet.
- Color & CSS Tools
Check WCAG contrast, convert CSS colors and units, and generate shades, border-radius and box-shadow code in your browser.
- DevOps & Infra
Terraform HCL format/validate/minify, Dockerfile format & lint, Docker Compose and .env validation.
- CI/CD
Format GitHub Actions and GitLab CI YAML and check the structure of workflows and jobs in your browser.
- Logs & observability
Format, filter and validate JSON and NDJSON logs, and turn Nginx or Apache access logs into CSV or TSV.
- Kubernetes
Multi-doc manifests, structural validate, Ingress/Deployment starters, and Helm values formatting.
- Networking / IP
Subnet calculator, IP converter, range to CIDR, CIDR summarize and IP-in-subnet checks for IPv4 and IPv6, in your browser.
- Security & tokens
Inspect JWKS, verify JWTs, decode X.509 certificates, convert PEM and JWK, scan text for secrets and hash with bcrypt in your browser.
- API & schemas
Format, validate, lint and convert OpenAPI, JSON Schema and GraphQL SDL in your browser.
- HTTP Tools
Paste cURL commands, HTTP messages, URLs, HAR files and Cookie or Set-Cookie headers to format and inspect them. Nothing is sent.
- SEO / Web Tools
Generate meta tags, Open Graph, Twitter Card, robots.txt, sitemap.xml and JSON-LD in your browser. Previews come from your input, and your site is never fetched.
- Text & Markdown
Count words, build Markdown tables of contents, turn CSV into Markdown tables and sort or deduplicate lines in your browser.
- AI & LLM
Count tokens, estimate API costs, check context-window fit, convert JSON to TOON and analyze prompts, all in your browser.
- Test Data
Dummy names, emails, phone numbers, addresses, dates, IBANs, card numbers and JSON, CSV or SQL rows for fixtures and database seeds. Everything is generated in your browser.
- Barcode labels
Draw Code 128, EAN-13 and UPC-A labels and static QR codes in your browser, then download PNG or SVG. This is not a GS1 lookup.