Home / Base64 Encoder

Base64 Encoder & Decoder

Turn text into Base64, or decode Base64 back into readable text.

Encoding text or small files to Base64 (or decoding Base64 back to readable text) comes up constantly in web development, email attachments, and API work — do it instantly without a command-line tool.

How it works

  1. Paste your textType or paste whatever you want to encode or decode into the box.
  2. Pick a directionClick Encode to turn text into Base64, or Decode to turn Base64 back into text.
  3. Copy the resultThe box updates in place — copy it straight from there.

FAQ

Is this safe for sensitive text?

Yes — encoding happens locally in your browser. Nothing is sent to a server. That said, Base64 is not encryption; it's just a text representation, so don't rely on it for secrecy.

Why did decoding fail?

The text you pasted isn't valid Base64 — check for missing characters or extra whitespace.