Images TOOL
Base64 → image
Save a Base64 image as a PNG, JPG or WebP file.
Enter your text
On-device processingBase64 → image · How to use
Save a Base64 image as a PNG, JPG or WebP file.
Example
Paste an image data URL starting with data:image/png;base64, and save the image.
Things to know
Use Base64 or a data URL for a PNG, JPG or WebP image. Encoded plain text is not an image.
Your files and results are never sent to a server. Everything is processed in this browser.
How to turn a Base64 string back into an image file
Use it when an image is embedded as a data URL in HTML, CSS or an API response and you need the actual file. A long string tells you nothing about the picture, but after decoding you can preview it and download it.
When to use this tool
- Extract a data URL icon embedded in CSS or HTML
- Check what a Base64 image field in an API response contains
- Save a Base64 image found in an email or log
Step-by-step instructions
- Paste a string starting with data:image/png;base64, or just the Base64 value into Input text.
- Choose Convert.
- Check the preview to confirm it is the expected image.
- Download the file, named with its original extension such as decoded.png.
Frequently asked questions
Do I need to remove the data:image/png;base64, prefix?
No. Paste the whole data URL or only the Base64 after the comma. Line breaks and spaces are removed automatically; if the declared type does not match the actual image data, the tool reports an error.
Can I download PNG Base64 as a JPG?
The tool saves the data as-is without converting it, so PNG data becomes decoded.png and JPG data becomes decoded.jpg. To change format, run the saved file through the image converter.
Does it work with GIF or SVG Base64?
Only PNG, JPG and WebP are supported. Other formats and Base64-encoded text are not recognized as images. Input can be up to 2 MB.