Convert Base64 to an image
Paste a Base64 string or data URI to preview the image and download it as PNG, JPG or WebP. Free, private and decoded entirely in your browser.
- Files never leave your device
- Free, no sign-up
- No watermark
About Base64 to Image
Decode a Base64 string back into a real image. Paste a raw Base64 value or a full data URI copied from an API response, a database, HTML source or a JSON file, and the image is previewed instantly. Choose the output format and download it. It is a quick debugging tool for developers and a simple way to recover embedded images. Decoding happens in your browser.
How to use Base64 to Image
- 1
Paste the Base64 string or data URI into the box.
- 2
Check the image preview.
- 3
Choose the format to save as.
- 4
Download the image.
Why use this tool
- Accepts raw Base64 or full data URIs.
- Instant preview to confirm the data is valid.
- Download as PNG, JPG or WebP.
- Helpful for debugging APIs and HTML.
- Nothing is sent to a server.
Frequently asked questions
Check that the whole string was copied and that it encodes an image. Missing characters at the end are the most common cause.
No. Both raw Base64 and full data URIs work.
This tool is for images. Use a general Base64 decoder for text.
Yes. The string is decoded in your browser and never uploaded.
Yes. There is no account, no watermark and no usage limit. The tool runs in your own browser, so there is no server cost to charge you for.
Yes. It runs in any modern browser on Android and iOS as well as on Windows, macOS and Linux, with nothing to install.
APIs, databases, HTML emails and JSON files often store images as Base64 text instead of separate files.
PNG keeps the image lossless and supports transparency; JPG or WebP make smaller files for photos.
Related tools
All Image tools →- Image to Base64Convert images to Base64 strings and data URIs ready for HTML, CSS and JSON.
- Image ConverterConvert images between PNG, JPEG, WebP and AVIF with adjustable quality, right in your browser.
- SVG to PNGConvert SVG files or pasted SVG code to PNG at 1× to 4× scale with a transparent, white or black background.
- PNG to JPGConvert PNG images to JPG in your browser with adjustable quality.
- JPG to PNGConvert JPG or JPEG photos to lossless PNG images in your browser, ready for editing and design tools.
- WebP to JPGConvert WebP images to JPG so they open in any app, editor or upload form.