Decode a Base64 string into an image
Nothing found — try another word.
This tool has no parameters — the result is ready as is.
Decodes a base64 string or data-uri back into an image. Paste the string on the left.
Nothing found — try another word.
Nothing found — try another word.
This tool has no parameters — the result is ready as is.
Nothing found — try another word.
Decode a Base64 string turns the text back into the image bytes it was made from — the PNG to Base64 encoder run backwards. Paste the string, the bytes are decoded in your browser and the picture appears beside the text field; whitespace and line breaks are ignored, and a complete data: URI works as well as the bare payload because the prefix is stripped first. What comes back is the picture, not the original file: the bytes are decoded to pixels and encoded again, so every pixel is identical while the file bytes are not guaranteed to match. Nothing is uploaded — pasted Base64 is often a credential rather than a photo.
Neither. Paste the payload alone and it is decoded as it is; paste the whole data:image/png;base64,... value and the prefix is removed first. The PNG signature check on this site reads the first bytes if you want a yes or no before decoding.
The string holds compressed bytes while the picture you see is decoded pixels, and saving encodes those pixels again. The pixels match; the bytes are not promised to.
Yes. The decoder reads whatever format the bytes describe, so a JPG payload gives back the JPG picture. You can still save it as PNG.
No. It is decoded and discarded in your browser tab, and the page makes no request with it - which matters when the string is a secret rather than a picture.