How to use Base64 to Image Converter
- Paste the Base64 string or data URL.
- Check the preview.
- Download the image.
About this tool
The decoder accepts a full data URL (data:image/png;base64,...) or just the Base64 characters. The file type is detected from the decoded bytes, so it does not matter if the declared type is wrong. URL-safe Base64 using - and _ is also accepted.
If the text is not an image, an error explains what went wrong.
Frequently Asked Questions
- Why does the preview fail?
- The text may be truncated, contain extra characters, or not be an image at all.
- Which formats are detected?
- PNG, JPEG, GIF, WEBP, BMP and SVG.
Related tools
- Image to Base64 ConverterTurn an image into text you can embed directly in code.
- Base64 Encoder and DecoderConvert text to Base64 and back without breaking non-English characters.
- Rotate and Flip ImagesFix sideways photos or mirror an image in seconds.
- PNG to JPEG ConverterConvert PNG images to JPEG in your browser. Your files stay on your device.
- PNG to WEBP ConverterConvert PNG images to WEBP in your browser. Your files stay on your device.
- PNG to BMP ConverterConvert PNG images to BMP in your browser. Your files stay on your device.