Tools Base64 Decoder

Base64 Decoder

Paste Base64 and decode it back to text, a downloadable file or a previewed image. Handles standard and URL-safe alphabets, data URIs, missing padding and whitespace. Everything runs locally in your browser — nothing is uploaded.

Base64 input 0 chars
Decoded output Waiting for input…
0 bytes

What this Base64 decoder handles

Standard & URL-safe

Decodes the normal +/ alphabet or the URL-safe -_ variant (RFC 4648).

Data URIs

Automatically strips a data:…;base64, prefix so you can paste it straight in.

Loose input

Ignores spaces and line breaks and repairs missing = padding.

Text or binary

Shows UTF-8 text, or download the raw bytes as a file when it isn't text.

Image preview

Detects PNG, JPEG, GIF, WebP, BMP and SVG and previews the image inline.

Private

Decoding happens in your browser — your data is never uploaded.

📬 Weekly Newsletter

Stay ahead of the curve

Get the best programming tutorials, data analytics tips, and tool reviews delivered to your inbox every week.

No spam. Unsubscribe anytime.