Base64 to Image Converter
Decode a Base64 string or data URI into an image.
Input
This tool runs entirely in your browser. The data you paste or load is never uploaded.
Result
Enter your input, then run the tool.
About this tool
Turns a Base64 string or data URI back into a viewable image and offers it as a download. The format is detected from the file signature rather than trusted from the label.
How to use it
- Paste the Base64 string, with or without the data: prefix.
- Check the preview and detected format.
- Download the decoded image.
Frequently asked questions
Why is nothing displayed?
The string may be truncated, contain line breaks with stray characters, or not be an image at all. The error message names the stage that failed.
Which formats are recognised?
PNG, JPEG, GIF, WebP and AVIF, detected from the decoded bytes.
Keep going
Related tools
Image to Base64 Converter
Embed an image in HTML or CSS as a data URI.
Base64 Decoder
Decode Base64 back to readable text.
Image Format Inspector
Read dimensions, format, aspect ratio and file weight.
Image Compressor
Shrink JPG, PNG and WebP images without an upload.
PNG to WebP Converter
Convert PNG images to modern WebP, with transparency kept.
JPG to WebP Converter
Turn JPEG photos into lighter WebP files.