Paste a Base64 string or data URI, preview the decoded image and download it with the correct file type. Works for PNG, JPEG, GIF, WebP and more.
Paste a Base64 string or a full data URI and this tool decodes it into an image you can preview and save. It detects the image type from the data itself, so a bare Base64 string works even without the data:image prefix. Decoding happens in your browser, so the text you paste is not sent to any server.
The preview updates as you type or paste. If the text is not valid Base64, or the decoded bytes are not a recognised image format, the tool says so instead of showing a broken picture. Use the download button to save the result with the correct file extension such as .png or .jpg.
No. A bare Base64 string works. The tool reads the file signature to find the image type when there is no prefix.
Usually a character was cut off when copying, or extra text such as quotes or a label came with it. Copy only the payload or the full data URI.
PNG, JPEG, GIF, WebP, BMP, AVIF, ICO and SVG. Other binary data is rejected with a message.