Base64 to Image Converter
Paste a Base64 data URL or raw Base64 string to preview or download it as a PNG, JPG, WebP, GIF, or SVG — fully private, runs in your browser.
Paste Base64 or data URL
Paste a Data URL or Raw Base64
Full data URLs start with data:image/…;base64, and are self-describing. Raw Base64 strings contain only the encoded image bytes — choose the correct image type from the dropdown when pasting raw Base64.
Fully Private
This tool decodes Base64 image data locally in your browser. The data is never sent to any server, stored, or logged.
Raw Base64 Without a Data URL
If you paste raw Base64 without a data URL, you may need to choose the correct image type. If the preview does not load, try a different type from the dropdown.
How to convert Base64 to an image
- Paste your Base64 image string into the input area. You can paste a full data URL (starting with
data:image/…;base64,) or a raw Base64 string. - If you are pasting raw Base64, choose the correct image type from the type selector that appears.
- Click Preview Image to decode and preview the image.
- Click Download to save the decoded image to your device.
Privacy — processed in your browser
This tool decodes Base64 image data locally in your browser. The Base64 string you paste is never sent to any server, stored, or logged anywhere. This makes it safe to decode Base64 images from private or sensitive sources. This is a completely browser-based base64 image decoder with no upload and no signup required.
Frequently Asked Questions
Does this upload my Base64 image?
No. The entire base64 image decoding process runs locally in your browser using JavaScript. Your Base64 data is never sent to any server, never logged, and never stored. You can safely decode sensitive or private image data.
Can I paste a full data URL?
Yes. A full data URL starts with data:image/png;base64, (or another image type) followed by the encoded image data. ConvertForge automatically detects the image type from the data URL and skips the type selector. This is the most reliable format — use it when available.
Can I paste raw Base64 only?
Yes, but raw Base64 does not include the image type, so you need to choose the correct type from the type selector that appears when raw Base64 is detected. If the preview does not load, the Base64 data may not match the selected type — try a different type or verify that the Base64 string is complete and unmodified.
Why is my Base64 image not previewing?
There are a few common reasons: the Base64 string may be truncated or corrupted; the selected image type may not match the actual encoded image; or the format may be unsupported. Make sure the string is complete, choose the correct type, and verify that the source of the Base64 string is valid. For raw Base64, try toggling between PNG and JPG if you are unsure of the original type.
Which image formats can I download?
You can download PNG, JPG/JPEG, WebP, GIF, and SVG images. The download format is determined by the detected or selected image type. For SVG images, the downloaded file will be an .svg file. If you need to convert the downloaded image to a different format, use the Image Converter or other image conversion tools on ConvertForge.