Skip to content
ToolsOnDuty - free online tools
Image Tools

Base64 to Image

Decode a Base64 string or data URL back into an image you can preview and download.

Free foreverRuns in your browserNo sign-up

Decoding happens in your browser. Paste an image data URL to preview and save it as a file.

About the Base64 to Image

The reverse of encoding an image to Base64: paste a Base64 string or a full data URL and this tool turns it back into a viewable, downloadable image.

It accepts a bare Base64 string or a complete data URL, previews the decoded image, shows its dimensions, and lets you save it as a file.

Decoding happens in your browser, so nothing you paste is uploaded.

Key features

  • Accepts a Base64 string or a full data URL
  • Live image preview with dimensions
  • Download as an image file
  • Detects the image type automatically
  • Private, in-browser processing

How to use

  1. 1Paste your Base64 string or data URL.
  2. 2Check the preview and dimensions.
  3. 3Download the decoded image.

Frequently asked questions

Do I need the data URL prefix?
No. If you paste a bare Base64 string, the tool assumes it is a PNG. For other types, include the full data URL such as data:image/jpeg;base64,...
Why does my string not decode?
It may be truncated or not actually image data. Make sure you copied the whole Base64 value and that it represents an image.
Is my data uploaded?
No. Decoding happens entirely in your browser.