Paste Base64 and get the original text back. Both alphabets are accepted, padding is optional, and whitespace or newlines anywhere in the input are ignored — so pasting a wrapped blob straight out of a certificate or an email header works.
When the result is not text
Instead, the tool identifies the payload from its magic bytes and says what it is — "this decodes to a PNG image", "this is gzip-compressed data" — and points you at the right tool. Guessing from a wall of � is not a reasonable thing to ask of anyone.
Errors that name the problem
Double encoding
Other names for this
Also searched as “base64 decoder”, “decode base64 to text”, “base64 to string”.
Questions
- It says my string contains an invalid character.
- Almost always a smart quote or a stray space from copying out of a document. The tool quotes the exact character back to you.
- The output is gibberish.
- Then the payload is binary, not text — the tool will say what kind. Use the Base64 to Image tool if it is an image.
- Does it accept the URL-safe alphabet?
- Yes, automatically. It also accepts missing padding, so JWT segments decode without editing.
- Does my text leave the browser?
- No. Everything runs as JavaScript in this tab — there is no server involved and no request is made. Open the Network panel and watch, or turn your Wi-Fi off and keep using the tool.