Converter

Base64 Encode / Decode

Encode text to Base64 or decode it back, in both directions. Handles Unicode correctly and works entirely client-side, so your data never leaves your machine.

plain text
base64
// runs locally — nothing is uploaded

About Base64 Encode / Decode

Base64 encodes arbitrary bytes using 64 printable ASCII characters, so binary or Unicode data can travel safely through systems that only expect text — data URIs, JSON fields, email, and HTTP headers. This tool encodes and decodes in both directions and is UTF-8 safe, so emoji and accented characters survive the round trip.

Frequently asked questions

Is Base64 encryption?+

No. Base64 is encoding, not encryption — anyone can decode it. Never use it to protect secrets; it only makes binary data text-safe.

Does it handle Unicode and emoji?+

Yes. It encodes through UTF-8 first, so multi-byte characters like é or 🚀 encode and decode correctly, unlike a raw btoa() call.

Why did decoding fail?+

The input probably isn't valid Base64 (wrong length or illegal characters) or decodes to bytes that aren't valid UTF-8 text. Whitespace is ignored automatically.

Related tools