Random Base62 String Generator
Compact URL-safe short IDs
Choose any length from 8 to 64 characters. Values use the Base62 alphabet 0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz — the digits and letters that URL shorteners and short-token schemes use because it stays URL-safe without the +, /, and = of Base64, for short IDs, identifiers, mock data, and fixtures.
When to use this tool
Reach for Base62 when you need a compact, URL-safe identifier — a mock short link, a fixture ID, or a placeholder token. Its 0-9 A-Z a-z alphabet packs more entropy per character than Base32 while avoiding the +, /, and = characters of Base64 that need URL encoding.
How the randomness works
Every character is drawn from the 62-character alphabet using crypto.getRandomValues with rejection sampling, so each position is uniformly distributed with no modulo bias. Generation runs entirely in your browser and nothing is sent over the network.