Image, File and Developer Tools

Base64 Encoder and Decoder

Encode text to Base64 or decode Base64 back to text, safely handling non-English characters.

How to Use

Paste your text, choose Encode or Decode, and press Convert. The result appears in the output box, ready to copy.

Formula and Methodology

Encoding converts text to bytes with UTF-8 first, then to Base64, so non-English characters survive the round trip. Decoding reverses the process, and invalid Base64 shows an error instead of a result.

Tips

Base64 is an encoding, not encryption. Anyone can decode Base64, so never use it to hide a password or secret.

Base64 makes the text about one third longer, because three bytes of text become four Base64 characters.

Frequently Asked Questions