Base64 to Text
Base64 to text converts Base64 to plain text with this Base64 text decoder. Paste Base64 and decode Base64 to text, including UTF-8, emoji, and multi-line strings. Base64 to text not working? The page flags invalid characters and explains the padding or charset that caused it.
In WeChat, downloads and image copy may be blocked. If a button does not respond, tap ··· in the top-right corner and choose Open in Browser.
Input 0 B · Output 0 B
Base64 to text takes an encoded string and returns all the readable characters inside it, decoding locally in your browser tab without writing a file or downloading an attachment. The original text is restored byte for byte.
Use it to read the message behind a token, to check what a log field actually contains before an incident review, or to recover a sentence that a form stored in Base64. Because the page focuses only on readable text, there is no image preview or PDF viewer in the way: paste the value, get a readable result, and compare it with the source document. The output box is read-only, so the recovered text cannot be altered by accident before you copy it.
How to use
- Paste the encoded value. Type or paste into the input box, including values copied from a log with spaces or newlines. Whitespace is ignored before decoding, so wrapped lines do not need to be joined by hand.
- Pick the decoding rule. URL-safe accepts
-and_, Decode each line treats every line as a separate value, and Charset moves from auto-detect to a named legacy encoding when the guessed characters look wrong. - Read or copy the text. The result appears in the output box as you type; Copy puts it on the clipboard and Download saves
decoded.txt. This page is the short path from a base64 to text value to something you can read.
Plain text, line breaks and charsets
Text decoding is only simple when the bytes are ASCII. These notes cover the cases that send people looking for a different tool.
Decode base64 to text in one paste
SGVsbG8= becomes Hello, and aGVsbG8= becomes lowercase hello; the case of the decoded text has nothing to do with the case of the Base64 string. Decoding stops with Decoded bytes are not valid UTF-8 text. when the payload is an image, a PDF or a legacy-encoded document rather than UTF-8 text; the fix is a different charset or a different decoder. If the value is a full data URI, remove the data:...;base64, header first, because this page expects the payload itself.
Keeping line breaks with base64 to plain text
Line breaks survive the round trip. SGVsbG8KV29ybGQK decodes to two lines, Hello and World, with a trailing newline preserved. A value ending in Cg== always has a final line break, while SGVsbG8KV29ybGQ does not. A CRLF pair (DQo=) decodes to two control characters, so text recovered on Windows can show an extra blank line when compared with a macOS copy. That difference matters when a checksum or a diff compares the recovered text with the original file.
Choosing a base64 text decoder charset
Auto-detect reads the first 16 KB, looks for a UTF-8 byte-order mark, and then scores candidates such as GBK, Big5, Shift_JIS, EUC-KR, Windows-1251 and Windows-1252. The detected label is printed under the box. When the sample is a few words, the score can tie; if the result shows é where é belongs, the bytes were UTF-8 but the text was read as Latin-1. A 10 KB log sample gives the detector enough context, while a single short word often falls back to Windows-1252.
FAQ
Why is base64 to text not working?
The value may hold binary bytes rather than text, contain a character outside the alphabet, or use a charset other than UTF-8. Switch the Charset menu, check for quotes copied from JSON, or use the decoder that keeps a binary file available for download.
Does the decoder preserve line breaks and spaces?
Yes. Spaces, tabs and newlines inside the encoded bytes come back unchanged, while whitespace around the Base64 string is ignored before decoding. Editors that trim trailing spaces can still break a comparison after you copy the result.
Can it decode emoji and accented letters?
Yes. Emoji and accented characters arrive as multi-byte UTF-8 sequences, so 👋 is four bytes and becomes 8J+Riw==. Decode that string and the emoji returns intact. Reading those same bytes as ISO-8859-1 shows four accented Latin-1 characters instead of one emoji.
Is my Base64 text uploaded anywhere?
No. The conversion happens in JavaScript in your browser, and the string never leaves the tab. There is no account, no request and no log entry, so the page is suitable for internal notes and customer data.
What if the string has no padding?
It still decodes. This base64 to text decoder accepts values with or without the trailing equals signs, which helps with tokens that strip padding. A value with the wrong amount of padding, rather than none, is rejected as invalid Base64.
Related tools
Base64 Converter puts encoding and decoding on one screen and adds a Swap button when you want to compare both strings. Text to Base64 does the reverse for a sentence you are about to store. If the payload turns out to be a picture rather than text, Base64 to Image detects the format and shows a preview before download. All three pages run locally, accept pasted values and need no account.