DEV Community

Dev Nestio
Dev Nestio

Posted on

Image EXIF Viewer — Read Photo Metadata Locally in Your Browser

Overview

Image EXIF Viewer reads EXIF metadata from JPEG and TIFF images without uploading anything.

🔗 https://devnestio.pages.dev/exif-viewer/

What it reads

  • Camera: Make, Model, Lens make/model, Serial number
  • Exposure: Shutter speed, Aperture, ISO, Exposure mode, Metering mode, Flash
  • Image: Width, Height, Color space, Orientation, White balance
  • Timing: DateTimeOriginal, DateTimeDigitized
  • GPS: Latitude/Longitude/Altitude with link to Google Maps
  • Software: Processing software, Artist, Copyright

How it works

The tool implements a minimal EXIF parser in pure JavaScript using the browser's native DataView API:

  1. Scans JPEG segments for APP1 (marker 0xFFE1) with Exif\0\0 signature
  2. Reads the TIFF header byte order (big-endian Motorola vs little-endian Intel)
  3. Parses IFD0, then follows sub-IFD pointers to ExifIFD and GPSIFD
  4. Decodes types: ASCII, SHORT, LONG, RATIONAL, SRATIONAL, UNDEFINED

GPS is displayed in DMS format and decimal degrees with a Google Maps link.

Privacy

Everything stays in your browser. FileReader reads locally and DataView parses in memory — no file bytes ever leave your machine.

👉 Try it: https://devnestio.pages.dev/exif-viewer/

Top comments (0)