Encoding

Base64 Encode / Decode

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

Plain text
Base64

About this tool

Base64 is a way of encoding binary or text data using only 64 printable ASCII characters, commonly used to embed data in URLs, JSON, or email. This tool converts text to and from Base64 directly in your browser.

How it works

  1. Choose Encode to turn plain text into Base64, or Decode to turn Base64 back into text.
  2. Type or paste your input — the output updates live.
  3. Unicode text is handled correctly via UTF-8 encoding before the Base64 conversion.

Frequently asked questions

Is Base64 encryption?

No — Base64 is an encoding, not encryption. It's trivially reversible and provides no confidentiality. Don't use it to protect sensitive data.

Why do I get an error when decoding?

The input isn't valid Base64 — it may contain characters outside the Base64 alphabet, or be missing padding characters.