Exifr

The fastest and most versatile JavaScript EXIF reading library.

Check out the GitHub repo for docs and more information.

Star

Input

Output

File

Click to pick
or
drop your file here

Options

{
  // APP segments
  tiff: ,
  xmp: ,
  iptc: ,
  // TIFF blocks
  exif: ,
  gps: ,
  interop: ,
  thumbnail: ,
  // output style
  postProcess: ,
  mergeOutput: ,
}

APP1 - Thumbnail


APP1 - IFD0

APP1 - EXIF

APP1 - GPS

APP1 - Interop

APP1 - IPTC

APP1 - XMP


		

Raw output


		

Examples

You can find more examples here in the GitHub repo.

They come in all forms, shapes and sizes. There are some that are:

  • Isomorphic (works the same in Node and browser)
  • specific to Node's file system API and other are tailored to browser
  • various input formats like Blob, ArrayBuffer, raw <img> tags, Base64 string, etc...
  • CommonJS or ES Modules
  • Web worker example
  • Extract the full exif or just the one little thing you need
  • Tryna-be-scientific benchmark
  • License

    MIT, Mike Kovařík