Image Dimensions & Metadata Inspector
Upload an image and get its true dimensions, aspect ratio, file size and everything the container is carrying — EXIF camera data, GPS coordinates, color profiles, animation frames — read straight from the file’s own headers in your browser. PNG, JPEG, GIF, WebP, AVIF, BMP and SVG are all parsed locally, so nothing is ever uploaded and the tool works on images you would never send to a stranger’s server. When you export a copy, the tool re-encodes the pixels through an in-memory canvas and strips every metadata block, and it tells you exactly what was kept and what was thrown away.
100% private. Your image is read with the browser’s FileReader and decoded on this device. No part of it is sent to techgeek.biz or any other server — close the tab and nothing remains. Inspecting never changes your file; only the optional export produces a new, stripped copy.
Key facts
Full metadata
| Field | Value |
|---|
Checks & notes
Export a copy (metadata stripped)
The export re-encodes the pixels through an in-memory canvas. The result contains image data only — no EXIF, no GPS, no ICC profile, no XMP, no PNG text chunks. Your original file is never modified.
How to use this tool
Drop any image onto the box above (or click it, or paste a screenshot with Ctrl+V). The header parser runs immediately and the key facts appear at the top: pixel dimensions, aspect ratio as both a reduced fraction and a decimal, megapixels, file size in human and raw bytes, the detected format, the color layout, DPI if the file declares one, and a plain summary of which metadata blocks are present.
Below that, the full metadata table lists every field the parser found — camera make and model, date taken, exposure, focal length, GPS coordinates, ICC profile names, animation frame counts, PNG text chunks — with a short note explaining what each one is for. The checks panel flags the things that usually surprise people: a GPS position hidden in a photo you are about to share, a file whose extension does not match its real format, or an image too large for the browser’s canvas limit.
When you need a clean copy, pick an output format, optionally set a quality and a max dimension, and hit
Download stripped copy. The result line reports the new size and the percentage saved versus the
original, so you can see exactly what the metadata was costing you. Prefer machine-readable output? Copy
the summary line or the full report as JSON, or download it as a .json file.
What it reads, by format
| Format | Dimensions from | Metadata read |
|---|---|---|
| PNG | IHDR chunk | Bit depth, color type, interlacing, palette size, transparency, sRGB flag, ICC profile name and size, pHYs DPI, APNG frame count, text chunks, embedded EXIF (eXIf), XMP. |
| JPEG | SOF marker | JFIF density, full EXIF (IFD0 + Exif + GPS: camera, date, exposure, aperture, focal length, coordinates), ICC profile, IPTC, XMP. |
| GIF | Logical screen descriptor | Global palette size, frame count, infinite-loop extension. |
| WebP | VP8X / VP8 / VP8L headers | Alpha flag, ICC profile, animation frame count, embedded EXIF (parsed the same way as JPEG’s), XMP. |
| BMP | BITMAPINFOHEADER | Bit depth. BMP files carry no standard metadata blocks. |
| AVIF | ispe box | ftyp brand, color box (colr). AVIF metadata is container-level; camera EXIF is not standardised in it. |
| SVG | width/height or viewBox | Vector image — no pixel grid and no raster metadata; the reported size is its declared canvas. |
Detection is by magic bytes, not by file name: a .jpg that is really WebP is reported as
WebP, and the checks panel tells you the mismatch. If the headers cannot be parsed for any supported
format, the browser’s own decoder is used as a fallback so you still get dimensions.
A worked example
Say you drop in IMG_2041.jpg from a phone camera. The key facts read 4032 × 3024 px,
aspect ratio 4:3 (1.333), 12.2 MP, 8.4 MB, format JPEG, DPI not set. The metadata table lists Make:
Apple, Model: iPhone 15, Date taken: 2026-09-14 16:32:08, Focal length 6.86 mm, and GPS location
−37.8136, 144.9631 — and the checks panel flags that last one as a warning, because GPS is
exactly the field most people forget is sitting inside the file.
You then export as JPEG at quality 0.92 with no resize. The download comes out around 2.1 MB: identical pixels, none of the metadata, and the result line says so in plain terms — “all metadata stripped” plus the percentage saved. The original file on your disk is untouched; stripping only ever happens to the copy you choose to make. If you instead export as PNG, expect a larger file (PNG is lossless) but full transparency support and zero recompression of the pixels.
Is the metadata stripped or kept?
Two different things happen here, and the tool labels them. Inspecting keeps everything. Reading headers changes nothing about the file — after a session your original still carries all of its EXIF, GPS, profiles and text chunks, byte for byte. Exporting strips everything. The copy is re-encoded through an in-memory canvas, which writes pixel data only: no EXIF, no GPS, no ICC profile, no XMP, no IPTC, no PNG text chunks. Every download from the export panel says “all metadata stripped” and shows the size delta so you can see what was removed.
One deliberate trade-off: because the canvas re-encode drops the ICC profile too, a wide-gamut image can
shift color slightly after export. If you need to keep color management while dropping camera data, that
is a job for a local tool such as ImageMagick’s -strip or exiftool’s
-all= — the in-browser export is deliberately all-or-nothing so you are never unsure
what left the file.
Common mistakes to avoid
- Trusting the extension. A
.jpgcan be WebP, AVIF or even a renamed PNG. Browsers and image libraries decide by the first bytes, which is why this tool reports the detected format separately from the file name and warns when they disagree. - Mixing up stored and displayed size. A phone photo is stored as 4032 × 3024 but displayed rotated to 3024 × 4032 because of its EXIF orientation tag. Use the displayed dimensions for layout work; the tool shows both when they differ.
- Thinking DPI changes quality. 72 vs 300 DPI is a print hint, not a quality setting — it does not change the pixel count. A 3000 px image prints at roughly 10 inches across at 300 DPI regardless of what the metadata claims.
- Assuming “stripped” keeps color profiles. The export drops the ICC profile along with everything else. For color-critical workflows, strip only the specific tags you need locally instead.
- Expecting animated exports. The canvas re-encode writes the first frame as a still. Animated GIFs and WebPs keep their frames in the original; only the exported copy is a single image.
- Pushing past the canvas limit. Most browsers cap canvas at 16384 px per side. Panoramas beyond that can be inspected fine but cannot be re-encoded in the browser — the checks panel tells you before you click download.
How it works
The file is read into memory with FileReader, and the first bytes select a parser: PNG files
are walked chunk by chunk (IHDR for dimensions, iCCP and pHYs for profiles and DPI, acTL for animation,
eXIf for embedded EXIF), JPEGs are walked marker by marker (SOF for dimensions, APP1 for the EXIF TIFF
structure whose IFDs are decoded in full — camera, exposure and GPS — plus JFIF, ICC and XMP
detection), WebP and AVIF are parsed as RIFF/ISO base media boxes, GIFs by their logical screen descriptor
and block stream, and BMPs from the BITMAPINFOHEADER. SVG is treated as text and its declared canvas read.
In parallel, the browser’s own decoder (createImageBitmap with an Image fallback) confirms the pixel
dimensions — which also applies EXIF rotation, so what you see in the preview is what a viewer will
show. The export path draws that decoded image onto an offscreen canvas and calls toBlob,
which is why the output can only ever contain pixels. All of it runs in this tab; the page makes no
request that carries any part of your image.
Related tools
Suggested
Luke Keam | techgeek.biz