Base64 Encoder & Decoder

Convert text to Base64 or decode Base64 back to text — with full Unicode support, including emoji and non-Latin scripts.

What is Base64?

Base64 is a way of representing binary or text data using only 64 safe ASCII characters (A–Z, a–z, 0–9, + and /). It is used everywhere: embedding images inside HTML or CSS, encoding attachments in email, passing binary data in JSON APIs, and hiding binary payloads in text-based protocols. Base64 is encoding, not encryption — anyone can decode it, so never use it to “hide” secrets.

Frequently asked questions

Why do some tools garble Chinese or emoji when encoding?

Because they encode raw bytes instead of UTF-8. This tool encodes UTF-8 first, so characters like 🎉 or 你好 survive a round-trip perfectly.

Why does Base64 output end with = signs?

The padding character = pads the output so its length is a multiple of 4. It is normal and required for decoding.