Inspect an image data URL’s media type, encoded size estimate, dimensions, aspect ratio, and pixel count.
The frame below runs the same code as this page, in the reader's own browser. Nothing is sent to us, and nothing is sent to you.
Pick a dark background and the text and panels follow it, so the frame stays readable on a dark page.
The media type and Base64 length provide format and approximate byte size; when Canvas decodes the image, intrinsic width, height, aspect ratio, and pixel count are appended. Failed decoding leaves the metadata-only section.
data:image/png;base64,iVBORw0KGgo=
MIME type: image/png Format: PNG Estimated file size: 8 B
Frontends check uploads, build pipelines compare dimensions, and debugging reports record MIME type and payload size.