What a data URI is
A Base64 image is binary picture data encoded as text so it can live inside HTML or CSS. The full form is a data URI: data:image/png;base64, followed by the Base64 payload. This decoder reverses that — it rebuilds the binary and shows the picture.
If your string already starts with data:, the decoder reads the MIME type from it. If you paste only the raw payload, pick the matching MIME type from the dropdown so the browser knows how to render it.
Worked example
The shortest valid PNG starts iVBORw0KGgo…. To decode it:
data:image/png;base64,iVBOR….Formats and privacy
PNG, JPEG, GIF, WebP and SVG all decode. Because Base64 is exact, the decoded file is byte-for-byte identical to the image that was encoded — no quality is lost. The whole process uses your browser's built-in decoder, so the data never leaves your device. If the preview is blank, the string is usually truncated or the MIME type is wrong.