Base64 to Image Converter
Convert Base64 strings back to images right in your browser. Paste your encoded data and instantly preview and download the image. No uploads to servers — everything happens locally.
Why decode Base64 to image?
Base64 encoding is commonly used to embed images directly in HTML, CSS, or JSON. Sometimes you need to reverse that process — to get the actual image file back. This tool makes it effortless.
- Extract embedded images – recover images from HTML or CSS code.
- Decode API responses – convert Base64 image strings from JSON into viewable files.
- Preview before saving – see the image before downloading to confirm it's correct.
- Privacy guaranteed – decoding happens entirely in your browser; your data never leaves your device.
- Multiple formats – supports JPG, PNG, WebP, GIF, SVG, and more.
How to convert Base64 to image (step-by-step)
1. Paste your Base64 string
Copy the entire Base64 string, including the data:image/...;base64, prefix if present.
2. Click Decode
Press the "Decode to Image" button. The image will appear below.
3. Preview the image
Check if it's the correct image before downloading.
4. Download
Click "Download Image" to save the decoded image to your device.
Common use cases
- Web development: Extract images from inline CSS or data URIs for use as separate files.
- API debugging: Decode Base64 image responses to verify correctness.
- Email templates: Recover embedded images from HTML email code.
- Database extraction: Convert stored Base64 strings back to image files.
- Data migration: Move images between systems that use Base64 encoding.