Base64 to image converter
Paste a Base64 string or a data:image URI to see the picture and download it as a real file. The file type is read from the data itself. You can also turn an image into Base64. Free, and nothing leaves your browser.
Image to Base64
Need the other direction? Choose an image to get its data URI, ready for HTML or CSS.
How to decode Base64 to an image
- Paste the string, with or without the
data:image/…;base64,prefix. - Press Convert to image. You get a preview, the detected format, the file size and the pixel dimensions.
- Download the file with the right extension.
When it fails
Base64 only contains letters, digits, +, / and = padding (or - and _ in the URL-safe variant). Quotes, JSON keys or a truncated copy will stop it from decoding. If the decoded bytes are not an image, for example a PDF or text, the tool tells you rather than producing a broken file.
Decoded an AI image? Check whether it still carries its creation records with the AI image detector or read any saved prompt with the prompt extractor. See all free image tools.