Base64 Encode / Decode

Encode plain text to Base64, or paste Base64 to decode it. UTF-8 is handled correctly so non-ASCII characters survive the round trip.

Frequently asked questions

Is Base64 encoding encryption?

No. Base64 is an encoding scheme, not encryption. Anyone can decode it, so never use it to protect secrets.

Can I encode images or files?

This tool handles text. For binary files, use your operating system or a dedicated file-to-Base64 utility.

Why do I see strange characters after decoding?

The input is probably not valid Base64, or it was encoded with a different character set. This tool assumes UTF-8.

Does my text leave the browser?

No. Encoding and decoding use browser APIs only; nothing is transmitted.