Turn a pasted Base64 string back into an image file you can preview and download.
This tool runs entirely in your browser. The file you choose is never uploaded to a server. Free, with no account required.
Input
Base64 text, with or without a data: URL prefix
Output
The decoded image file
Category
File Conversion
Status
Available now
Price
Free — no subscription, no account
How to use Base64 to Image
Paste the Base64 text. A whole data: URL, including the “base64,” part, is accepted too.
Press Decode. The tool reads the first bytes to work out which image format the data holds.
Preview the result, check the byte count, and download it with the suggested file name.
Frequently asked questions
How does the tool know which format to save as?
By reading the first bytes of the decoded data. PNG, JPEG, GIF and WebP are recognised from their signatures, and the suggested file name uses the matching extension. If the bytes are not one of those, the download is named .bin and the tool says so rather than inventing an extension.
What if I paste a whole data URL by mistake?
Nothing goes wrong. The tool strips the “data:image/png;base64,” prefix and decodes the payload. It reports the URL’s own MIME type separately when one is present, so a data URL claiming the wrong type is visible as such.
Is the decoded image uploaded anywhere?
No. Decoding happens in this browser tab, and the preview is a local blob URL. Nothing you paste is sent to a server, and closing the tab discards it.
Why is the decoded file smaller than the text I pasted?
Because Base64 spends four characters on every three bytes of data. The tool reports the decoded byte count so you can see the real size, and a round trip through this tool and its encoder reproduces the identical bytes.
Related tools
Audio Channel Converter — Convert stereo audio to mono or mono to stereo and export a WAV file.
Audio Merger — Mix several audio tracks at chosen start positions into one WAV file.
Audio Trimmer — Trim an audio file to a chosen start and end time with a waveform preview.
CSV to JSON — Convert CSV rows into a JSON array of objects.
File Size Converter — Convert between bytes, kilobytes, megabytes, gigabytes and terabytes.
HTML to PDF — Convert HTML text content into a PDF with page size, margin and orientation controls.