Advertisement
← All Tools
Free · no sign-up

Base64 Encoder/Decoder

Encode text or a file to Base64, or decode Base64 back to text or a file.

  1. Paste text or pick a file
  2. Choose encode or decode
  3. 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

What is Base64 encoding used for?
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.
Can I encode or decode a whole file, not just text?
Yes — use the file panel to encode any file to a Base64 string, or decode a Base64 string back into a downloadable file.
Why does decoding sometimes fail with an error?
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.
Is my text or file uploaded to a server?
No. Encoding and decoding happen entirely in your browser using built-in JavaScript APIs — nothing is uploaded or stored. No account is required.
Do I need to install anything or sign up?
No. It runs entirely in your browser — no software install, no account, no email required.
Advertisement
Advertisement