BASE64 ENCODER

Encode text to Base64 or decode it back, with correct UTF-8 handling for emoji and accented characters. Nothing leaves your browser.

How to use the Base64 encoder

  1. 1

    Choose Encode (text to Base64) or Decode (Base64 to text).

  2. 2

    Type or paste your input into the left box.

  3. 3

    Copy the result from the right box — it updates live and handles UTF-8 text correctly.

Questions

Does this handle emoji and non-Latin characters correctly?
Yes. Input is first encoded as UTF-8 bytes with the browser's TextEncoder before being Base64-encoded, and decoded output is read back as UTF-8 with TextDecoder. Naive btoa()/atob() implementations break on emoji and accented characters — this one doesn't.
What happens if I paste invalid Base64 in Decode mode?
You'll see a clear error message instead of garbled output. This happens if the text contains characters outside the Base64 alphabet, or if the decoded bytes aren't valid UTF-8.
Is Base64 encryption?
No. Base64 is a reversible encoding, not encryption — anyone can decode it back to the original text with no key required. Use it for safely embedding binary-ish data in text formats, not for hiding sensitive information.
Is my text uploaded anywhere?
No. All encoding and decoding happens locally in your browser using JavaScript — nothing you type is sent to a server.