Base64 Encode / Decode
Encode text to Base64 or decode it back — with full UTF-8 support.
How to encode or decode
Pick Encode or Decode, then type or paste into the top box. The result appears instantly below. Click Copy result to put it on your clipboard. Invalid Base64 shows a clear message instead of a garbled output.
What Base64 is for
Base64 turns arbitrary text or binary into plain ASCII so it survives systems that only handle text — embedding small images in CSS, encoding data in URLs, or carrying credentials in HTTP headers.
Questions
Does this handle emoji and non-English text?
Yes. Text is encoded as UTF-8 before being converted to Base64, so emoji, accented letters, and non-Latin scripts round-trip correctly — unlike a plain btoa() call, which breaks on them.
Is my text sent to a server?
No. Encoding and decoding run entirely in your browser with built-in functions. Your text never leaves the page, which makes this safe for snippets you'd rather not paste into an online service.