Back to Developer
UUID generator — v4 / v7 batch generation

UUID generator — v4 / v7 batch generation

Generate UUID v4 (random) or UUID v7 (timestamp-prefixed) in batches of 1–100. Backed by crypto.getRandomValues and runs entirely in your browser.

developergenerate
Version

Fully random — no ordering. Not ideal as a database PK because it fragments B-trees.

Generated UUIDs

Press Generate to produce UUIDs here.

UUIDs are generated inside your browser only

How to use

Pick version (v4 / v7), count (1–100), format (hyphenated / compact / braces), and casing, then press Generate. Each row has a Copy button; Copy all dumps every UUID separated by newlines. crypto.getRandomValues provides the cryptographically secure random bits, so the output is RFC-compliant and suitable for production use.

FAQ

Are generated UUIDs sent to a server?
No. crypto.getRandomValues uses the browser's secure RNG locally — neither the process nor the output leaves your device.
Should I use v4 or v7?
Use v7 for database primary keys or any time-ordered ID: the timestamp prefix keeps B-tree indexes from fragmenting. Use v4 for fully unpredictable random IDs (tokens, one-off identifiers).
Will UUIDs ever collide?
v4 carries 122 bits of randomness; collision probability is negligible (~10^-18 after a billion IDs). v7 mixes a millisecond timestamp with 74 bits of randomness, which is more than enough even within the same millisecond.
Is this the same as a GUID?
Effectively yes. GUID is Microsoft's term, UUID is the RFC 4122 / 9562 standard term — formats are compatible. Use the braces format to match Windows-style GUID strings.

Related tools