Base64 Encoder / Decoder
Convert text to Base64 and back, with full UTF-8 support — emoji, accents, and non-Latin scripts encode correctly. Everything runs in your browser; nothing is uploaded.
Text → Base64
Base64 → Text
Why plain btoa() breaks — and how this tool handles it
The browser's btoa() only accepts characters in the 0–255 range, so it throws on emoji or accented text. This tool first encodes your text as UTF-8 bytes (via TextEncoder) and Base64-encodes those bytes — the standard-compliant approach that matches what servers and other languages expect. Decoding reverses the process and reports clearly when the input is not valid Base64.