Image Metadata Viewer

Read an image's dimensions, type, size, aspect ratio and EXIF orientation, and check whether it carries a GPS location block.

Loading tool…

The file is read in your browser only. Nothing is uploaded — which matters particularly here, since the whole point of checking for a GPS block is that you do not want that data going anywhere.

What the Image Metadata Viewer does

The image metadata viewer on this page will read an image's dimensions, type, size, aspect ratio and EXIF orientation, and check whether it carries a GPS location block. Everything runs inside this page, so the work happens on your own device rather than on a server. It is most often used for checking an image's exact dimensions and aspect ratio before using it in a layout. Companion tools to this one live on FreeToolsWorld.org.

How to use it

  1. Drop in the image file you want to inspect.
  2. Read the dimensions, aspect ratio, file size and bytes-per-pixel figures.
  3. Check the EXIF rows — the GPS line tells you whether the file may carry location data.
  4. If it does and you are about to publish the photo, re-save it through any image tool here to strip the metadata.

How it works

This page reports what a browser can actually determine about an image file, which is a specific and limited set: the pixel dimensions and container type from the decoder, and the name, size and modification date from the file itself. From those it derives the aspect ratio in lowest terms, the megapixel count and bytes per pixel, which is a quick way to judge whether a file is over- or under-compressed for its dimensions.

The EXIF rows need a caveat that most online tools skip. A browser decoding an image through the standard APIs does not receive the EXIF block at all — camera model, lens, exposure, the GPS coordinates themselves are all discarded before your code sees anything. Rather than claim otherwise, this tool scans the raw JPEG bytes for the APP1 segment itself and reports the two things it can establish reliably: the orientation tag, and whether a GPS pointer is present. It does not read the coordinates, and it says so instead of leaving a blank row that implies there was nothing there.

The orientation tag is worth understanding because it explains a persistent annoyance. A phone held sideways records the sensor data unrotated and sets an orientation flag telling viewers to turn it. Software that honours the flag shows the photo upright; software that ignores it shows the photo on its side. That is why the same image appears correct in one application and rotated in another, and why re-saving through a canvas — which bakes the rotation in and drops the flag — often fixes it permanently.

The GPS row is the one to act on. Photographs taken on a phone with location services enabled commonly embed the coordinates of where they were taken, accurate to a few metres, and those coordinates travel with the file when it is emailed, posted to a forum or attached to a listing. Several image-sharing platforms strip EXIF on upload, but many do not, and a file sent directly keeps everything. If the row reports a GPS block and the photo is going somewhere public, strip it — running the file through the resizer, converter or compressor on this site re-encodes it through a canvas, which discards the entire EXIF block as a side effect.

When to use it

  • Checking an image's exact dimensions and aspect ratio before using it in a layout.
  • Finding out whether a photo carries a GPS location block before publishing it.
  • Diagnosing why an image appears rotated in some applications but not others.
  • Judging whether a file is over-compressed for its pixel dimensions.

Common mistakes to avoid

  • Expecting full EXIF data. A browser decoder discards it; only the orientation flag and the presence of a GPS block are recoverable here.
  • Assuming a platform strips location data on upload. Some do, many do not, and a directly shared file keeps everything.
  • Reading "GPS block not present" as proof the image is anonymous. The visible content of a photograph often identifies a location perfectly well on its own.

Frequently asked questions

Does this show the GPS coordinates in my photo?

No — it only reports whether a GPS block exists. Browsers discard EXIF before your code can read it, so the coordinates themselves are not available here. What you get is the answer to the question that matters before publishing: is there location data in this file at all.

How do I remove EXIF data from a photo?

Re-encode it. Running the file through the image resizer, converter or compressor on this site decodes it to pixels and writes a new file, and the entire EXIF block — including GPS — is dropped in the process.

Why does my photo look rotated in some apps?

Because the camera stored it unrotated with an EXIF orientation flag, and not all software honours that flag. Re-saving through any canvas-based tool bakes the rotation into the pixels and removes the flag, which fixes it everywhere.

Related tools

See all image tools →