Free Online Base64 Decoder

Decode Base64 to text, images, JSON, or raw bytes — base64 decoding that runs entirely in your browser, with no uploads.

Base64 decoding and encoding workspace

Base64 → text, images, JSON, or raw bytes

Encode or decode instantly

Drop a file here, or click to browse

Upload a .txt, .b64, or .json file that contains Base64 text.

Any file up to 10 MB

0 characters · 0 bytes

Base64 to Decode

Output

Waiting for input

Your Base64 output will appear here

Type, paste, or upload something on the left to get started.

Everything runs locally in your browser — see how Base64 works.

How Base64 decoding works

Base64 decoding reverses the encoding: it maps each group of four characters back to three bytes, then restores the original text or file. This decoder accepts standard and URL-safe alphabets, ignores spaces and line breaks, and adds missing padding automatically.

Paste a Base64 string above to see the decoded text, preview an image, format JSON, or inspect the raw bytes in the hex viewer. No data is sent to a server.

Frequently asked questions about Base64 decoding

How do I decode Base64?

Paste the string into the editor; the result appears instantly in the output panel. You can copy it or download it as a file.

Why does my Base64 fail to decode?

The usual causes are invalid characters, a truncated string, or the wrong alphabet. This decoder strips whitespace, accepts URL-safe characters, and restores padding before reporting an error.

Can I decode Base64 to an image?

Yes. PNG, JPEG, GIF, WebP, BMP, ICO, and SVG payloads render in the Image tab and can be downloaded.

Need the opposite direction? Use the Base64 encoder, or browse all Base64 tools.