Base64 turns any text, code or binary data into a safe alphabet of 64 characters - letters, numbers, plus and slash - so it can travel through systems that only handle plain text, such as JSON APIs, email attachments and data URLs. This tool encodes your text into Base64 and decodes Base64 back to the original, with the result updating as you type.
Everything runs in your browser, which matters when the payload contains a token, a session key or private configuration data you would rather not paste into an online decoder.
Last updated: 27 November 2026.
| Use | What is encoded | Where you will see it |
|---|---|---|
| API auth | username:password header | HTTP Authorization fields |
| binary attachments | MIME messages | |
| Web | images in CSS or HTML | data:image/png;base64,... |
| Config | JSON or certificate text | env files, JWT parts |
No. Base64 is encoding, not encryption - anyone can reverse it. Use real encryption when the data must stay secret.
Those are padding characters that keep the length a multiple of four. They are part of a valid encoding.
Yes, roughly 33% larger, because each three bytes of input become four ASCII characters.
You can encode them, but remember Base64 provides no protection - treat the result as plain text.
Yes. Text is converted to UTF-8 bytes first, so any Unicode content encodes and decodes correctly.
No. Encoding and decoding run entirely inside your browser.