BASE64 ENCODER
Encode text to Base64 or decode it back, with correct UTF-8 handling for emoji and accented characters. Nothing leaves your browser.
In short
Encode text to Base64 or decode Base64 back to text, with full UTF-8 support for emoji and non-Latin characters. Runs entirely in your browser, nothing is uploaded.
How to use the Base64 encoder
- 1
Choose Encode (text to Base64) or Decode (Base64 to text).
- 2
Type or paste your input into the left box.
- 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.
Related tools
- URL Encoder / DecoderPercent-encode or decode text and URLs, component or full-URL scope.
- Hex ConverterConvert text to hexadecimal and back, both directions in one tool.
- Binary ConverterConvert text to binary and back, both directions in one tool.
- Base32 ConverterConvert text to Base32 and back using the RFC 4648 alphabet.
- Base58 ConverterConvert text to Base58 and back using the Bitcoin alphabet.
- HTML Encoder / DecoderEncode special characters to HTML entities (&, <, >, ") or decode them back to plain text. Updates as you type — nothing uploaded.
- Hash GeneratorGenerate SHA-1, SHA-256, SHA-384, and SHA-512 hashes from text.
- JWT DecoderPaste a JWT, see the header, payload, and claims — and verify the signature.
Updated