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.
Encoded as Base64
Decoded from Base64
Something wrong with this tool? Tell us and we'll fix it
How to use
- Type or paste text (or a Base64 string).
- See encoded and decoded results update live.
- 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.