All tools
Developer

Base64 Encoder / Decoder

Encode or decode text as Base64.

🔒 Runs entirely in your browser — nothing here is ever uploaded

About the Base64 Encoder / Decoder

Encodes text into Base64, a way of representing binary or text data using only 64 printable ASCII characters, or decodes Base64 back into readable text.

How to use it
  1. Choose Encode or Decode mode.
  2. Enter your text in the Input field.
  3. Read and copy the result below.
Formula
Encoding converts each group of 3 bytes into 4 Base64 characters using a 64-character alphabet. Decoding reverses the process.
Worked example

"Hello, CalcoTools!" encodes to SGVsbG8sIENhbGNvVG9vbHMh.

Recommendations
  • Base64 is encoding, not encryption — anyone can decode it back to the original, so it doesn't provide security or privacy on its own.
  • It's commonly used to embed binary data, like small images, directly inside text-based formats like JSON, HTML, or CSS.
  • If decoding fails, check for accidental extra whitespace or line breaks in the encoded input.
Frequently asked questions
No — it's a reversible encoding scheme for representing binary data as text, not a security mechanism. Anyone with the string can decode it without a password or key.