What the Base85 Encoder does
Base85, also called Ascii85, packs binary data into printable text more tightly than Base64: every 4 bytes become 5 characters instead of 6. PDF files and PostScript use it to embed images and fonts as text. It works entirely in your browser: you type or paste text, and the result appears at once, with nothing uploaded and nothing stored. People searching for a base85 encoder usually want exactly that — a quick answer without an account, a download, or a wait.
Developers working with PDF internals, data engineers moving binary blobs through text-only channels, and students comparing binary-to-text encodings all use Base85. Students use it for homework and puzzles, developers use it at work, and writers use it when a deadline is close. The common thread is simple: the job is small, the answer should be instant, and the text should stay private.
This page keeps that promise. The base85 Encoder runs on your own device, so your words never leave the tab. You can use it as often as you like, on any text, and close the page knowing nothing was saved anywhere — there is no history, no log, and no sign-up standing between you and the answer.
If you have never used a tool like this before, start with the example on this page and change one thing at a time — one word, one setting — and watch the result change. That is the fastest way to learn what each input does, and it works for every tool in this family, because they all follow the same pattern: text in, result out, nothing saved.
The method behind the Base85 Encoder
The input is read as UTF-8 bytes and taken four at a time. Each group of four bytes is one 32-bit number, which is written in base 85 using the characters from '!' (33) to 'u' (117) — five digits, because 85 to the power of 5 covers the full 32-bit range. A final group with fewer than four bytes is padded with zeros and gives one character per byte plus one. Decoding reverses the arithmetic, ignoring whitespace. The rule this page uses is: Every 4 bytes become 5 characters from '!' to 'u', by treating the bytes as one large number and writing it in base 85. A final short group gives fewer characters.
Base85 output uses punctuation heavily, including quotes and backslashes, so it must be quoted carefully in code and URLs — it is not URL-safe like Base64URL. It is also about 25 percent smaller than Base64, which is the whole reason to choose it, but the saving only matters for larger inputs.
Because the rule never changes, the same input always gives the same output. Run the example below twice and the result will match exactly, character for character. That predictability is what makes the tool useful for checking your own work. For a different kind of text job, the ASCII converter covers the next step once you have your result. The comparison section further down this page explains which of the two fits which job, so you can pick before you paste.
The rule above is the whole method — there is no hidden step and no second pass. What you see in the rule is what the tool computes, which is why the worked example below can be followed by hand, one step at a time, with a pencil if you like.
The text you feed it
Any text works: it is first turned into UTF-8 bytes, so accented letters and emoji encode correctly. When decoding, the input must use only the 85 characters from '!' to 'u' — anything else, including a stray letter beyond 'u', makes the input invalid.
The classic example is 'Man ', with a trailing space: its four bytes form the number 1,298,230,816, which in base 85 is '9jqo^'. The space matters — 'Man' without it is only three bytes and encodes differently.
Compare the sizes yourself: 'Hello, World!' is 13 bytes, 20 characters in Base64, and 17 characters in Base85. The saving grows with the input, which is why PDFs use it for embedded images.
When in doubt, try the worked example below first — it uses the page defaults, so it shows the tool working exactly as it ships.
Paste from anywhere — a document, a chat, a web page. The tool reads only the text you give it, so stray formatting, links, and images are left behind. If the pasted text looks odd, paste it as plain text first and then copy it in, so nothing invisible rides along.
A worked example
Take this input: 'Man ' — the letters M, a, n, and a trailing space. The four bytes are 77, 97, 110, and 32. As one number that is 1,298,230,816. Dividing by powers of 85 gives the digits 24, 73, 80, 78, and 61, and adding 33 to each gives the characters '9', 'j', 'q', 'o', and '^'. The result is '9jqo^' — 5 characters for 4 bytes.
Decode '9jqo^' and you get 'Man ' back, space included. You can check the first digit by hand: 24 times 85 to the power of 4 is 1,252,815,000, and the remaining digits bring the total to 1,298,230,816.
Try 'Man sure': the first four bytes give '9jqo^' and the next four, 'sure', give 'F*2M7', so the full encoding is '9jqo^F*2M7'. Two groups, ten characters, eight bytes.
You can check the result yourself without trusting the page. Reverse the operation — decrypt what you encrypted, or run the output back through the tool with the opposite setting — and the original input should come back. If it does not, the first thing to check is the input: a missing letter, an extra space, or a setting that changed between the two runs.
Who uses a Base85 Encoder — and why
A developer reads a PDF's embedded font stream and decodes the Ascii85 block to see the raw bytes. It is the kind of job that comes up often enough to remember, and rarely enough to justify installing anything for.
A student compares Base64 and Base85 on the same input to see why one is shorter, and by how much. The hex text converter is the natural next stop when the result needs a different treatment. It answers the question this page leaves open, so the two together cover the whole job.
A data engineer moves a small binary payload through a JSON field that only allows printable text, and picks Base85 to keep the payload short.
Base85 Encoder vs Base64 Encoder Decoder
The standard Base64 encoder uses the familiar A-Z, a-z, 0-9, plus, and slash alphabet with '=' padding, while Base85 is more compact but uses punctuation that needs quoting. The base64 encoder decoder is the closest comparison on this site, and the two answer different questions. Both are free, both run in your browser, and neither asks for an account.
Pick the base85 Encoder when you need the most compact printable encoding, such as inside a PDF or PostScript file. Pick the base64 encoder decoder when you need the widest-supported encoding, one every system already understands.
In practice most people keep both bookmarked. They are small, free, and private, and switching between them costs nothing — paste the same text into each and compare the outputs side by side before deciding which one fits the job in front of you. The habit that saves the most time is deciding the job first and the tool second: once you know whether you need a cipher, a conversion, or a count, the choice between two similar tools is usually obvious.
Mistakes to avoid with a Base85 Encoder
Pasting Base85 output into a URL unescaped. Characters like quotes, backslashes, and angle brackets break URLs — use Base64URL for links and tokens instead.
Dropping the trailing space. 'Man ' and 'Man' encode differently, and a missing space changes every byte after it in the group — copy the input exactly.
Expecting Base85 to be shorter for tiny inputs. A 1-byte input becomes 2 characters, which is longer than the input itself — the saving only appears on larger data. Feeding it characters outside the Ascii85 range when decoding. A 'v', 'w', or 'z' is not a valid Base85 digit, so the tool reports the input as invalid rather than guessing. The fix in every case is the same: check the input, check the setting, and test with the worked example before trusting a long result.
If the result still looks wrong after checking the input, run the worked example exactly as written. If the example works and your input does not, the difference is in your input — compare them character by character, including spaces, until the odd one out shows itself.
How to use this Base85 Encoder
Type or paste your text, choose Encode or Decode, and copy the result. Encoding gives five characters per four bytes; decoding returns the original text, with whitespace in the input ignored. The URL encoder decoder can help with the next step once you have your output.
If the input check above says 'Invalid input', look for a character beyond 'u' — that is the usual cause. For data that must travel in a URL, switch to the Base64URL encoder instead.
The result can be copied with the buttons above it, or shared and printed from the actions on the page. If you use the tool often, bookmark the page — the address never changes, and your last input is not saved, so a fresh visit always starts clean. That also means there is nothing to clear and nothing to log out of when you are done.
Everything on this page is free, with no account and no limit on how often you use it. Your text is processed in your browser and never sent to a server, so drafts, names, and private notes stay on your device. If the result looks wrong, check the input first — a stray space or a missing character is the cause far more often than the tool itself.