Base64 to Text Decoder

Decode Base64 to text as you type. Fixes data URIs, line breaks, URL-safe strings and missing padding.

Your files are processed on your device and are never uploaded.

Decode Base64 to readable text the moment you paste it. There is no button to press – the text appears as you type. Because real-world strings are often messy, the decoder cleans them up first and tells you what it fixed.

Base64 to Text Decoder with ShrinkBee

How to Decode Base64 to Text

  1. Paste your Base64 into the top box.
  2. Read the result in the Decoded text box – it updates live.
  3. Copy it or click Download .txt to save it as a file.

Automatic Repairs

Strings copied from emails, logs, URLs and code rarely arrive clean. Before decoding, the tool:

  • Removes a data URI prefix such as data:text/plain;base64,
  • Strips line breaks and spaces, so line-wrapped MIME Base64 from emails works
  • Converts URL-safe characters (- and _, used in JWTs and links) back to + and /
  • Adds missing = padding or removes extra padding

A short note under the box lists every change it made, so you always know what was decoded.

Correct UTF-8 Output

The decoded bytes are read as UTF-8, so accented letters, emoji and non-Latin scripts come out correctly instead of as strange symbols like "é". If the string holds a file instead of text – a picture or a PDF, for example – use Base64 to File or Base64 to Image.

Common Things to Decode

  • JWT parts: The header and payload of a JSON Web Token are URL-safe Base64 – paste one part (between the dots) to read the JSON.
  • Basic Auth headers: Decode the value after "Basic " to see the user name.
  • Email sources: Read message parts sent with Content-Transfer-Encoding: base64.
  • Kubernetes secrets and config values stored as Base64.

Private by Design

Strings you decode may contain tokens or personal data, so the decoding happens only in your browser. Nothing is sent to a server or saved.

Text to Base64 Validator & Repair Base64 to File Encode / Decode

Frequently Asked Questions

How do I decode Base64 to text?
Paste the string into the Base64 box. The decoded text appears straight away below it, ready to copy or download.
Why does my decoded text show strange characters?
Either the string holds binary data such as an image rather than text, or it was encoded with a different character set. This tool reads text as UTF-8. For files, use Base64 to File.
Can I decode URL-safe Base64 or a JWT?
Yes. The tool converts - and _ back automatically and adds the missing padding. Paste one part of the JWT – the text between two dots – to read it.
My string has line breaks. Will it still work?
Yes. Line breaks and spaces are removed before decoding, so line-wrapped Base64 from emails decodes fine.
What if the string is cut off?
If a string is incomplete, the tool says so. Check that you copied all of it. The Base64 Validator shows exactly what is wrong.
Is Base64 to Text free to use?
Yes. Base64 to Text is completely free, with no sign-up, no watermark and no limit on how many times you use it.
Are my files uploaded to a server?
No. Your files are processed directly in your web browser on your own device. Nothing is uploaded or stored, and the file is gone from memory when you close the tab.

More Base64 Tools

Made With ♥ By ShrinkBee