← All ToolsFree · no sign-up
Base64 Encoder/Decoder
Encode text or a file to Base64, or decode Base64 back to text or a file.
- Paste text or pick a file
- Choose encode or decode
- Copy or download the result
Everything runs locally in your browser — nothing is uploaded.
Any file type. Nothing leaves your browser — this runs locally.
Frequently asked questions
- Base64 turns binary data (or arbitrary text) into a safe ASCII string, commonly used to embed images in CSS/HTML as data URIs, attach files in JSON payloads, or pass binary data through text-only systems like email.
- Yes — use the file panel to encode any file to a Base64 string, or decode a Base64 string back into a downloadable file.
- Decoding fails if the input isn't valid Base64 — for example it contains characters outside the Base64 alphabet, or the length isn't padded correctly. Double-check you copied the full string with no extra whitespace.
- No. Encoding and decoding happen entirely in your browser using built-in JavaScript APIs — nothing is uploaded or stored. No account is required.
- No. It runs entirely in your browser — no software install, no account, no email required.
What is Base64 encoding used for?
Can I encode or decode a whole file, not just text?
Why does decoding sometimes fail with an error?
Is my text or file uploaded to a server?
Do I need to install anything or sign up?
Advertisement