Base64 Encode

Convert any text to Base64. Full Unicode support means non-ASCII characters encode correctly — a common failure point of naive encoders.

Frequently asked questions

Why do other encoders garble Chinese or emoji?

Naive implementations encode each character's UTF-16 code unit as one byte, which corrupts anything outside ASCII. This tool encodes proper UTF-8 bytes, so the output decodes correctly everywhere.

When is Base64 encoding useful?

Embedding binary or text data in JSON, data: URLs, HTTP Basic Auth headers, email attachments (MIME), and transmitting data over channels that only allow ASCII safely.

Does encoding encrypt or compress my data?

No. Base64 is a reversible encoding, not encryption — anyone can decode it, and output is roughly 33% larger than input. Never use it to protect secrets.

Related tools

Copied