Paste a Base64 string or a data:image URL to preview the picture and download it as an image file.
Use the free Base64 to Image
How to use Base64 to Image
- Paste your Base64 string or data URL.
- Click Preview.
- Download the image.
Why use this tool
- Inspect images that come from APIs and databases.
- Recover an image from a Base64 string.
- Check that a data URL is valid.
Your files stay on your device. Nothing is uploaded, no account is needed and there is no watermark.
Frequently asked questions
Do I need the data:image prefix?
No. If it is missing the tool assumes a PNG image.
Why do I see an invalid image message?
The string is incomplete, contains extra characters or is not an image.
Is my data uploaded?
No. Decoding happens in your browser.
Related free tools
- Image to Base64 - Convert an image to a Base64 data URL.
- JSON Formatter & Validator - Format, minify and validate JSON with clear errors.
- URL Encoder / Decoder - Encode or decode URLs and query strings.
- Image Converter - Convert between JPG, PNG and WebP.