Base64 Encode / Decode
Encode and decode text and images to Base64
Encode and decode text and images to Base64
SGVsbG8sIFNuaXBLaXQhBase64 encodes arbitrary binary data as ASCII text using 64 printable characters: A–Z, a–z, 0–9, +, and /, with =as padding. Every three bytes of input become four output characters, so encoded data grows by roughly 33% — trading size for the ability to embed binary content anywhere text is allowed. The other encodings here exist because that classic alphabet doesn't fit every situation.
+ and / for - and _, and drops the padding. JWTs use it because +/ would otherwise need percent-encoding inside a URL.0/1, no I/O) so the output is case-insensitive and easy to dictate over the phone. TOTP secrets and onion addresses use it.0OIl, +/) for hand-copyable identifiers. Bitcoin addresses are the canonical example.None of these are encryption. They're fully reversible with no key, so never use them to "hide" secrets. Also avoid embedding large images in CSS — the file-size overhead and blocking parse cost usually outweigh the saved request.
This tool runs entirely in your browser — nothing is uploaded.