Base64 Encoder / Decoder

Encode text to Base64 or decode it back β€” with proper UTF-8 handling so Chinese characters and emoji never get mangled. Converts live as you type, in both directions.

Works with any Unicode text (δΈ­ζ–‡, emoji, …) thanks to proper UTF-8 handling.

Results will appear here as you type.

Your text is encoded and decoded entirely in your browser β€” it never leaves your device.

Something wrong with this tool? Tell us and we'll fix it

How to use

  1. Type or paste text (or a Base64 string).
  2. See encoded and decoded results update live.
  3. Click a result to copy it.

Frequently asked questions

Why does Base64 encoding break Chinese text?
The browser's built-in btoa() only supports Latin-1. This tool encodes via UTF-8 first, so δ½ ε₯½ and πŸŽ‰ round-trip perfectly β€” most online encoders get this wrong.
Is Base64 encryption?
No β€” it is just an encoding, trivially reversible by anyone. Never use it to "hide" passwords or secrets.
What is Base64 used for?
Embedding binary data in text formats: email attachments, data URIs, JSON APIs, and JWT tokens all rely on it.

Related tools