A valid string is only the first check
Text can be valid Base64 without containing an image. This tool checks the alphabet and padding, identifies the image from its header, applies size limits, and asks the browser to decode the preview. It enables download only after those steps succeed.
The prefix must agree with the file
A data URL declares its MIME type before the comma. If it says image/png but the decoded bytes are JPEG, the tool reports a mismatch. Renaming the prefix does not convert the image. Raw Base64 needs no prefix because the image type is detected from its bytes.
Whitespace and URL-safe text
ASCII spaces, tabs, and line breaks inside the payload are ignored, and the result reports how many were removed. Missing final padding can be restored when valid. The separate Base64URL option accepts its minus and underscore alphabet; mixed alphabets and invalid trailing bits are rejected.