Base64 to Image
Paste any Base64 string and download the original PNG, JPG, GIF, WebP, or SVG — instantly, in your browser.
Drop a file here or click to browse
Any file type — converted to Base64 locally
Any image format
PNG, JPG, GIF, WebP, SVG, BMP, ICO — anything the browser renders.
Instant preview
See and download your decoded image as soon as you paste the Base64.
Private by design
Decoding runs locally — your image never leaves your device.
Converting Base64 strings back to images
Images embedded in HTML, CSS, JSON APIs, or SVG icons are often encoded as Base64 so they can travel inside text. To use the image as a file again you need to decode the Base64 back to its original bytes. This tool does exactly that — paste the string, and you get a downloadable, byte-identical image.
Going the other way? Use the Image to Base64 tool.
Frequently asked questions
›How do I convert Base64 to an image?
Paste your Base64 string (with or without a data:image/... prefix) into the input above and switch to the Decode mode. The tool detects the image type and gives you a preview plus a download link for the PNG, JPG, GIF, SVG, or WebP file.
›Does it support PNG, JPG, GIF, WebP and SVG?
Yes. Any image format that the browser can render is supported — PNG, JPEG, GIF, WebP, SVG, BMP, and ICO. The original bytes are reconstructed exactly, so the decoded file is byte-identical to the source image.
›Can I paste a data: URL directly?
Yes. You can paste the full data URL (e.g. data:image/png;base64,iVBORw0KGgo…) and the converter will strip the prefix automatically before decoding.
›Is my image uploaded anywhere?
No. All decoding happens in your browser using the built-in atob API. The Base64 input and the resulting image never leave your device — safe for screenshots, internal mockups, and proprietary assets.
›What's the maximum size?
There's no hard server limit because nothing is uploaded. In practice, browsers handle Base64 strings up to ~50–100 MB before performance degrades. For very large files, consider chunking or compressing the source.
More free developer tools
Part of our growing tool belt — all client-side, all free.