About this tool
Base64 represents binary data using just 64 plain text characters: A-Z, a-z, the digits 0-9, plus two symbols. It exists because some systems only know how to handle text, so anything binary (an image, a file, a cryptographic key) gets translated into that alphabet before it can travel through email attachments, data URIs, HTTP Basic auth headers, or a field inside JSON or XML.
This tool goes both ways. Encode mode turns your text into Base64, handling UTF-8 properly so emoji and non-Latin scripts survive the round trip intact. Decode mode reverses it. It tolerates line breaks, missing padding, and the URL-safe alphabet that swaps in - and _ for the usual + and /, and it'll strip a leading data:...;base64, prefix if one's there.
You can encode a whole file too, which is the quickest way to get a ready-to-use data URI for a small icon or image. One thing worth remembering: Base64 inflates size by about a third, so it suits small assets, not large files. And it's worth saying plainly, Base64 is encoding, not encryption. Anyone can decode it in seconds, so it has no business hiding a password or a secret.
Everything above runs locally. Nothing you paste or upload leaves the browser.


