FastConvertor

Base64 Encoder / Decoder

Encode text or files into Base64 format or decode back. Free and private: your files stay in your browser.

About Base64 Encoder / Decoder

Base64 Encoder / Decoder converts text to Base64 and back, and can also encode a file into a Base64 string. Developers use it for data URLs, email attachments, tokens and API payloads.

Tips for best results

  • Use Decode only on valid Base64 text, otherwise you get an error.
  • Special characters and emoji are handled as UTF-8.
  • Encoding a file gives you the Base64 string without the data: prefix.

Frequently asked questions

Is Base64 encryption?

No. It is only an encoding that anyone can reverse, so never use it to protect secrets.

Can I encode an image?

Yes. Use Encode a file to turn an image or any other file into a Base64 string.

Why is the encoded text longer?

Base64 makes data about one third larger.