Skip to content

Base92 encoder

Encode text or bytes to Base92 and decode Base92 back to the original data.

Input
Output

Base92 encoder

Base92 packs raw bytes into the largest alphabet of printable ASCII characters that stays safe to embed in a quoted string or a shell argument: every character from "!" to "~" except the double quote and the backslash, 92 symbols in total. Paste text or hex bytes below and the tool converts it to Base92, or paste a Base92 string and switch the direction to get the original data back.

Direction flips between encode and decode, swapping the input for the current output so a value round-trips in two clicks. Input format sets how a pasted value is read when encoding — UTF-8 text, or hex byte pairs like "68 65 6c 6c 6f" — while output format sets how a decoded result is shown, as text or as a hex dump for data that isn't valid UTF-8. Wrap lines at breaks long output into fixed-width lines for code or a terminal. Keep padding fills the final group out to a five-character boundary with a reserved marker instead of a shorter tail; leave it off for the most compact result. Validate input stops decoding at the exact character and position of the first thing outside the alphabet, or skips stray characters when it's off.

Four raw bytes always produce five Base92 characters — the same 1.25× overhead as Base85, less than Base64's 1.33×. Decoding treats Windows (CRLF) and Unix (LF) line endings the same, since whitespace is always skipped, and the tool works identically for plain text, accented letters, emoji or arbitrary binary.

Everything happens in your browser. Nothing you paste here is uploaded anywhere, so it's safe to convert tokens, keys or other sensitive data. Copy the result, download it as a .txt file, or send it back into the input to chain another conversion.

FAQ

What makes this "Base92" rather than Base85 or Base64?
It uses a 92-character alphabet — every printable ASCII character except the double quote and the backslash — which is the largest alphabet of that kind, giving a slightly smaller expansion than schemes with fewer symbols while still dropping into a quoted string or shell command without extra escaping.
Why does the output length vary even for inputs of a similar size?
Base92 works in fixed groups of 4 input bytes to 5 output characters. A group that doesn't fill 4 bytes is written a bit shorter unless you turn on Keep padding, which fills it out to the full 5 characters with a reserved marker.
I decoded a Base92 string and got garbled text — what happened?
The original data probably wasn't UTF-8 text. Switch Output format to Hex bytes to see the raw decoded bytes instead of trying to render them as text.
What does "Validate input" actually check?
With it on, decoding stops at the first character that isn't part of the Base92 alphabet (or a stray padding marker) and tells you exactly which character and position. With it off, unrecognized characters are skipped so you can decode a value that picked up stray punctuation.
Is my text or data uploaded anywhere?
No. Base92 encoding and decoding run entirely in your browser — nothing you paste here is sent to a server.