Base64 Encoder/Decoder
Encode text to Base64, or decode Base64 back to readable text. UTF-8 safe, so emoji and non-English text round-trip correctly.
How to encode or decode Base64
- Paste your text or Base64 string into the input box.
- Tap Encode or Decode.
- Copy the result from the output box.
Frequently asked questions
What is Base64 used for?
Base64 turns arbitrary bytes into plain ASCII text, so binary-unfriendly places — like a URL, an email body, a JSON field or a data: URI — can carry it safely. It's an encoding, not encryption — anyone can decode it back instantly, so never use it to hide sensitive data.
Does this handle emoji and non-English text correctly?
Yes. Text is converted to UTF-8 bytes before encoding, and decoded the same way back to text, so Hindi, emoji and other non-Latin scripts round-trip correctly rather than turning into garbled characters.
Why did decoding fail?
The Decode button expects valid Base64 — only the letters A–Z, a–z, 0–9, +, / and = padding. If the text you pasted has line breaks, extra spaces, or isn't Base64 at all, decoding will fail with a clear message rather than showing garbage.