Base64 Encoder / Decoder
Encode text or files to Base64, or decode Base64 back to text.
Key features
Switch between encoding and decoding, type or paste your text, and the result updates instantly — handles full Unicode text correctly, not just plain ASCII.
Everything runs locally using your browser’s built-in Base64 support. Nothing you enter is uploaded or stored anywhere.
How to use
Choose encode or decode
Pick the direction you need.
Paste your text
The result updates instantly in the output box.
Copy the result
One click copies the output to your clipboard.
Frequently asked questions
What is Base64 used for?
Base64 encodes binary or text data into a set of 64 printable ASCII characters, which makes it safe to embed in places that only accept plain text — like email attachments, data URIs, or JSON/XML fields — without special encoding.
Why does decoding sometimes fail?
Base64 has a strict alphabet and padding rules. If the input contains characters outside that set, or isn’t properly padded, it isn’t valid Base64 and can’t be decoded.
Is my text uploaded anywhere?
No. Encoding and decoding both happen locally using your browser’s built-in Base64 functions — nothing is sent anywhere.