UUID Generator
Generate version 4 (random) UUIDs with customizable format
About this ToolHow it works, benefits & use casesTap to collapse
Generate version 4 (random) UUIDs in bulk and copy them in the exact shape you need. You set how many to produce — anywhere from a single ID up to 1,000 in one go — and choose between the standard hyphenated form (8-4-4-4-12, e.g. 3f2504e0-4f89-41d3-9a0c-0305e82c3301) or a plain 32-character variant with the hyphens stripped. UUIDv4s are built from random bits, so collisions are astronomically unlikely, making them ideal as database keys, request identifiers, or any value that needs to be unique without a central coordinator. Up to ten IDs are listed with individual copy buttons; larger batches drop into a single multi-line output you can copy, download as uuids.txt, or pipe into another tool. Your count and format preferences are remembered locally, and everything is generated in your browser.
How to Use
- 1Set "Number of UUIDs" to how many you want (1 up to 1,000).
- 2Pick a "Format": Hyphenated (8-4-4-4-12) for the canonical form, or Plain (32 characters) without dashes.
- 3Click "Generate UUID" (or "Generate UUIDs" for more than one).
- 4For ten or fewer, copy any single UUID with its row's copy button; for larger batches use the combined output panel.
- 5Download the full list as uuids.txt or pipe it onward to another tool.
Key Benefits
- Generates version 4 (random) UUIDs with negligible collision risk
- Produces up to 1,000 unique IDs in a single batch
- Switch between canonical hyphenated and plain 32-character output
- Per-ID copy buttons for small batches, bulk output for large ones
- Download a whole batch as a .txt file or pipe it into another tool
- Remembers your count and format between visits
- Runs entirely in the browser — no API calls or sign-up
Common Use Cases
- Creating primary keys for database rows without a sequence or auto-increment
- Seeding test data that needs many distinct identifiers at once
- Generating correlation or request IDs for logging and tracing
- Producing unique keys for React lists, file names, or cache entries
- Filling a config or fixture file with a batch of pre-generated IDs
Was this tool helpful?
Share Your Experience
Help others discover this tool!
Related guides
- Guide · 12 min readUUID v4 vs v7: Which Should You Use in 2026?Time-ordered UUIDs (v7) trade a small bit of randomness for major database performance gains. Concrete tradeoffs, B-tree implications, decision matrix, and migration guide.Read the guide
- Announcement · 18 min readWelcome to consolelog.tools: 300+ Free Developer Tools, Zero InstallationThe story behind building consolelog.tools - a comprehensive platform with 300+ free developer utilities. Learn about our mission, technology stack, and vision for the future of developer productivity.Read the guide
- Guide · 14 min readPublic Form APIs: What You Can and Can't Trust From the BrowserYour form is a suggestion; your endpoint is the contract. A practical guide to securing contact forms, newsletters, comments, and feedback endpoints: server-side validation, email header injection, honeypots and rate limiting, anchored origin checks, client-supplied identity, and double opt-in.Read the guide
Related tools
- Base64 Encoder/DecoderEncode and decode Base64 strings
- QR Code GeneratorGenerate QR codes from text or URLs
- Remove Duplicate LinesRemove duplicate lines from text
- Hash GeneratorGenerate MD5, SHA-1, SHA-256, SHA-512 hashes
- Nano ID GeneratorGenerate Nano IDs
- HMAC GeneratorGenerate HMAC with various algorithms
It generates version 4 (random) UUIDs. The bits are derived from random values, with the version and variant fields set per the UUID spec, so each ID looks like xxxxxxxx-xxxx-4xxx-yxxx-xxxxxxxxxxxx where the 4 marks the version.
A v4 UUID has 122 random bits, giving about 5.3 x 10^36 possible values. The probability of a collision is so small that you would need to generate billions of UUIDs before it becomes a realistic concern, which is why they are safe to use as distributed unique keys.

