Base64 Encoder/Decoder

Encode text to Base64 or decode Base64 back to plain text.

Loading tool…

About this tool

Convert text or files to Base64 encoding, or decode Base64 strings back into readable text, using native browser encoding.

How to use

  1. Paste text or Base64 into the input box.
  2. Choose encode or decode.
  3. Copy the result.

FAQ

Can I encode files, not just text?

Yes, drop a file to get its Base64-encoded representation, useful for embedding small images as data URIs.

Why does decoding fail sometimes?

The input must be valid Base64 (correct alphabet and padding); the tool will flag invalid input.