Random Base85 String Generator

 
Base85 strings are generated locally in your browser with the Web Crypto API.

The densest printable short IDs

Choose any length from 8 to 64 characters. Values use the 85-character ZeroMQ Z85 alphabet 0123456789abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ.-:+=^!/*?&<>()[]{}@%$# — the densest common printable encoding, so it packs more entropy per character than Base62 or Base64. Every character is embed-safe (no quotes or backslash), so values drop cleanly into JSON, config files, and source for short IDs, identifiers, mock data, and fixtures.

When to use this tool

Reach for Base85 when you want the shortest printable identifier for a given amount of entropy — a compact fixture ID, a placeholder token, or mock data. Its 85-character Z85 alphabet is denser than Base62 or Base64, and it avoids quotes and backslash so the value embeds safely in JSON, config, and source without escaping.

How the randomness works

Every character is drawn from the 85-character Z85 alphabet using crypto.getRandomValues with rejection sampling, so each position is uniformly distributed with no modulo bias. This produces a random string from the alphabet, not a Base85 encoding of bytes, so any length works. Generation runs entirely in your browser and nothing is sent over the network.