Base64 to Image
Paste a Base64-encoded image or data URL to preview it and download the decoded file.
- Runs in your browser
- Free to use
About this tool
Images embedded in CSS, HTML and JSON are stored as Base64 data URLs. Base64 to Image decodes the string locally, detects the real format from the file header, shows the picture with its size and MIME type and lets you download it as a file. It is useful for pulling an image out of a web page source, verifying an API response or recovering an attachment from a raw e-mail.
The reverse operation (file to Base64) is a one-liner in any language; for text use Base64 Encode/Decode.
How to use it — quick steps
- 01
Enter the base64 string or data url
Type or paste the base64 string or data url in the field above. Nothing is uploaded. Use Ctrl + V to paste.
- 02
Press "Decode and preview"
Press "Decode and preview" or Ctrl + Enter. The result appears instantly below the form.
- 03
Read the result
It appears in the dark panel under the form instantly. Every block has [copy] and other actions.
Key features of this tool
Nothing leaves your browser
The processing is plain JavaScript that runs on your device: the text you paste is never uploaded to our servers or to anyone else.
Instant results
Results appear the moment you press the button, even for long inputs, and every block has copy and download actions.
Works everywhere
No installation, no account and no limits: the tool works on desktop and mobile, in any modern browser, as often as you like.
Frequently asked questions
Which image formats are supported?
PNG, JPEG, GIF, WebP, BMP and SVG. The format is detected from the file signature, so the data: prefix is optional.
Where does the image go?
Nowhere. It is decoded in your browser and displayed from memory; use the download button to save it.
Are my files or data uploaded?
No. The tool is plain JavaScript that runs in your browser; the files or data you provide here are never uploaded to our servers.