Base64 encoder and decoder
Base64 maps arbitrary bytes onto a 64-character alphabet so they survive being carried through systems that only accept text. Type or paste on either side and the other side updates immediately.
The encoder reads your text as UTF-8 before encoding, so accented characters, emoji and CJK round-trip correctly instead of producing mojibake. Decoding accepts input with or without padding.
Runs entirely in this tab. Nothing you paste is uploaded, logged or stored — close the page and it is gone.
Questions about this tool
Why does my decoded text come out with garbled characters?
Usually the original was encoded from bytes rather than UTF-8 text — for example a binary file or a Latin-1 string. Decoding gives you the raw bytes back; if those bytes were not UTF-8, the characters will not line up.
Is Base64 encryption?
No. It is an encoding, not encryption — anyone can reverse it instantly. Never use it to hide anything you would not want read.
Can I encode an image or a file?
This tool works on text. For a file, use a data-URL encoder, or run base64 in a terminal. Keeping this page text-only is what lets it stay dependency-free.
AI alternatives from the directory
Browse coding tools →This utility handles the job by hand. These do it with a model — worth a look when the task outgrows copy and paste.
Free AI autocomplete for every language
A fast, free completion and chat tool that plugs into 40+ editors with strong privacy options.
Anthropic's terminal agent that edits whole repos
Claude Code runs in your shell, reads the repository, plans a change and applies multi-file edits with tests.