Category: Image tools
Base64 to Image Converter
Decode a base64 string or data URL back into an image
Paste base64 image data, or a full data:image/...;base64,... URL, to preview and download the decoded image. Runs entirely in your browser.
Paste base64 image data to see a preview.
Everything on this page is processed in your browser. Nothing is uploaded.
What this tool does
This is the reverse of an image-to-base64 encoder: it takes the text back out and turns it into a picture again. Paste either a bare base64 string or a complete data URL with its header, and the tool decodes the bytes, detects the image format from the data URL header or from the file's own signature when the header is missing, and renders a preview you can download as a normal image file.
How to use it
- Paste base64 image data or a data:image/...;base64,... URL into the box.
- Check the detected format and size shown above the preview.
- Download the decoded image, or copy the preview to use elsewhere.
Privacy
This tool runs entirely in your browser. Your input is never uploaded, stored or shared — closing the tab removes it.
Frequently asked questions
- Is my base64 data uploaded anywhere?
- No. Decoding happens in JavaScript running in the page, so the text you paste and the image it becomes never leave your device.
- Does it work without the data:image/...;base64, header?
- Yes. When the header is missing the tool reads the first bytes of the decoded file to detect PNG, JPEG, GIF, WebP or BMP automatically.
- What if the text does not decode to an image?
- The tool tells you it could not recognize an image format instead of guessing, so you do not download a broken file.