All tools Developer

Base64 Encoder / Decoder

Encode text to Base64 or decode Base64 back to text.

Text → Base64

Runs in your browser. Nothing you open or type here is uploaded.

How to use

  1. Choose a mode: Text → Base64 or Base64 → Text.
  2. Type or paste the input.
  3. Read the output and copy it.

Details

Base64 represents binary data as plain ASCII text, using 64 characters that survive transport through systems designed for text. It is the encoding behind data URIs, e-mail attachments and many API payloads. This tool encodes text to Base64 and decodes Base64 back to text in the browser. Base64 is an encoding, not encryption: anyone can decode it, so it hides nothing.

  • Encoded output is about a third larger than the input, because three bytes become four characters.
  • A decode error usually means the input has characters outside the Base64 alphabet or missing padding (=) at the end.

Common questions

Is Base64 encryption?

No — it's just an encoding. Anyone can decode Base64, so never use it to hide secrets.

Is my input uploaded?

No. Encoding and decoding run entirely in your browser.