Base64 Encoder

Encode or decode text as Base64, entirely in your browser.

Processed locally — your files remain on this device

Processing… this happens entirely in your browser.

Result

Completed Completed with a note

How it works

  1. Choose Encode or Decode.
  2. Paste your text.
  3. Click Convert.
  4. Copy the result.

Supported formats & limitations

  • Input
    Plain text (Encode mode) or Base64 text (Decode mode).
  • Output
    Base64-encoded text, or the original decoded text.
  • Text only — encoding arbitrary files isn’t supported.
  • Decoding requires valid Base64 input; invalid input produces a clear error rather than a silent wrong result.

Frequently asked questions

Is my text sent anywhere?

No, encoding and decoding both happen entirely in your browser.

Does this support Unicode text, like emoji or accented characters?

Yes, text is encoded as UTF-8 before Base64 conversion, so it round-trips correctly.

What is Base64 typically used for?

Representing binary or text data as plain ASCII characters — for example, embedding small images as data URLs or including data in JSON/XML/URLs.

Troubleshooting

Why does decoding show an error?

The input isn’t valid Base64 — check for missing characters, extra whitespace, or that you meant to Encode instead of Decode.

Why does my decoded text look garbled?

The input was likely valid Base64 but didn’t represent UTF-8 text — decoding arbitrary binary data as text can produce unreadable output.

Something not working as expected? Send feedback about this tool.