ImgWrench's Base64 to image converter works both ways. Paste Base64 or a data URI to see the image and save it as a file, or drop an image to get its Base64, a data URI, and ready-made HTML and CSS snippets. Everything runs locally, so it's safe to use with private data.
How to convert Base64 to an image
- Open the Base64 → Image tab and paste your text, with or without the
data:prefix. - The image appears with its format, size and dimensions.
- Click Download to save it with the right extension.
How to convert an image to Base64
- Open the Image → Base64 tab and drop an image.
- Copy the data URI, the bare Base64, the HTML
<img>tag or the CSS background. - Use Save .txt for very long values.
Tips
- Keep inline images small. Base64 is about 33% bigger than the original file.
- Trust the bytes. ImgWrench names the download from the image data, so a mislabelled data URI still saves correctly.
- Strip quotes. If you copied the value from code, leave out the surrounding quotes.
Why ImgWrench
- Both directions in one place. Decode and encode without switching tools.
- Forgiving input. Line breaks, URL-safe Base64 and missing padding all work.
- Private by design. Nothing you paste or drop leaves your device.