UUID generator
Generate cryptographically random UUID v4 or time-ordered UUID v7 identifiers, one or many at a time — in your browser.
Your UUIDs will appear here.
v4 is fully random. v7 embeds a millisecond timestamp for database-friendly ordering.
Generate 1 to 100 UUIDs at once.
Runs entirely in your browser. Nothing is uploaded.
About the UUID generator
Handytool's UUID generator creates cryptographically random UUID v4 identifiers and time-ordered UUID v7 identifiers — ready to paste into databases, API calls, or application config. Generate one at a time or bulk-generate up to 100, switch casing, strip dashes, wrap in braces. Every ID comes from the Web Crypto API and is generated entirely in your browser.
UUID generator features
- 01
UUID v4 and UUID v7
v4 is the classic fully-random UUID used everywhere; v7 embeds a millisecond timestamp at the start, so IDs sort chronologically — ideal for database primary keys that need good index locality.
- 02
Bulk generation
Need 100 UUIDs for a test fixture? Drag the slider. Toggle lower/upper casing, dashes, and curly-brace wrapping to match your environment, then copy the whole block or download as a .txt file.
- 03
Cryptographically random
Every UUID is generated with crypto.randomUUID (for v4) or crypto.getRandomValues (for v7) — the same secure random source used by HTTPS. No weak Math.random() fallback.
UUID generator FAQ
- What is a UUID?
- A UUID (Universally Unique Identifier), also called GUID, is a 128-bit identifier designed to be unique across space and time without any central authority. UUIDs are the standard way to assign IDs to records, objects, and events in distributed systems.
- Should I use UUID v4 or v7?
- Use v4 when you want a fully-random ID with no embedded information. Use v7 as a database primary key — the leading timestamp makes inserts append-heavy instead of random, which dramatically improves B-tree index performance.
- How unique are UUIDs really?
- A random 128-bit UUID has 2^122 possible values. You would need to generate roughly 2.7 quintillion UUIDs to have a 1-in-a-billion chance of a collision. For every practical purpose, collisions are impossible.
- Can I use this for security tokens?
- UUID v4 uses the Web Crypto API, so it's cryptographically random and suitable for session IDs or short-lived tokens. For long-lived secrets, prefer a dedicated token format with authentication tags. UUID v7 reveals the creation time, so avoid it for anything security-sensitive.
- Are the UUIDs sent anywhere?
- No. Every UUID is generated locally using the browser's crypto API. Nothing is uploaded, logged, or stored.
Related tools
Utility →- Live
Base64 encoder & decoder
Encode text to Base64 and decode Base64 back to text, including URL-safe Base64 — all in your browser.
UtilityRuns locallyOpen - Live
URL encoder & decoder
Percent-encode text for URLs or decode percent-encoded strings back to readable text — instantly, privately.
UtilityRuns locallyOpen - Live
SHA & hash generator
Generate SHA-1, SHA-256, SHA-384, and SHA-512 hashes of any text, in hex or Base64 — all in your browser.
UtilityRuns locallyOpen
Explore other tools
All tools →- Live
PDF to JPG
Convert each page of a PDF into a sharp JPG, PNG, or WebP image right in your browser — no upload, no quality loss.
PDFRuns locallyOpen - Live
Remove background
Erase the background of a photo using an in-browser AI model — no upload, your images stay on your device.
ImageRuns locallyOpen - Live
Trim Video
Cut the start or end of a video with frame-level precision.
VideoOpen - Live
Trim audio
Cut a section of an audio file.
AudioRuns locallyOpen - Live
Markdown to HTML
Convert Markdown into clean HTML right in your browser.
DocumentRuns locallyOpen