Base64 to Image Decoder
Decode Base64 strings back into viewable images securely within your browser.
Image ↔ Base64 Converter
Decode Base64 to image with preview, or encode any image to Base64. Drag, drop, paste, or click.
100% Client-Side Processing
Images and Base64 data never leave your browser. No server upload, no external API calls.
About Image Base64 Converter
Convert images to Base64 strings for embedding in CSS, HTML, or JSON. Decode Base64 back to viewable images with full metadata (dimensions, aspect ratio, file size). Supports PNG, JPEG, GIF, WebP, BMP, ICO, and AVIF. All processing is done locally in your browser.
Knowledge Base
A security and debugging tool that converts Base64 encoded strings back into their original image format. It automatically handles Data URI prefixes and allows downloading the decoded file.
- 1Paste the Base64 string into the text area.
- 2If your string doesn't have a 'data:image/...' prefix, select the correct format from the dropdown.
- 3Click 'Decode Image' to render the image.
- 4View the extracted metadata (dimensions, file size) and download the image.
It's built for security analysis. Decoding is done 100% locally, ensuring potentially malicious tracking pixels or hidden payloads are not sent to an external server. It also provides instant metadata without needing to download the file first.
Why is this a security tool?
Phishing emails and malicious websites often hide tracking pixels or disguised scripts inside Base64 image strings. This tool allows security researchers to safely decode and inspect these images locally without triggering the payload or alerting the attacker.
What if I don't know the image format?
If your Base64 string includes the 'data:image/png;base64,' prefix, the tool auto-detects it. If it's raw Base64, try PNG first (most common), then JPEG. The tool will show an error if the wrong format is selected.
Can I decode SVG files?
Yes, SVGs are often encoded in Base64. Select 'SVG' from the format dropdown if you are decoding an SVG vector graphic.