Add Exif data back to Facebook images – 0.10

April 5, 2020 16 By addshore
Screenshot of the Facebook Exif tool version 0.10

In 2019 I wrote a post introducing a tool that I created to add Exif data back to images downloaded as part of a Facebook information download. The tool allowed me to download and delete my uploaded Facebook images while keeping some of the useful data such as date taken. After some Twitter pressure I have finally released an updated and slightly fixed version, and it’s time that I wrote a updated guide to go with it!

What is Exif data?

Exchangeable image file format (officially Exif) is a standard that specifies the formats for images and tags used by digital cameras and other systems handling image files.

Snipped from WIkipedia

Common Exif data for an image includes the time that it was taken, the camera make and model and the coordinate data for the location of the image.

This data is different to the data you might find in a file browser, such as “Date Modified”.

Why are Facebook images missing this data?

When you uploaded an image to Facebook, part of the process would remove the Exif data that was attached to the image and store it elsewhere.

As a result, when you download all of your data including previously uploaded images, your images are missing this data. Most of the data is preserved elsewhere in the data download, but it is no longer attached to the image itself.

What does the tool do?

The tool reads through JSON data files that also come with your Facebook information download, finds the extra data that was previously removed, and adds it back to the image file where it belongs.

This allows you to use your images with tools that look for Exif data to improve your experience, such as Google Photos which will insert these images into your collection with the correct date.

How do I use it?

Firstly download the latest version from the downloads page (0.10 at the time of this post).

The tool is distributed as a jar file, and you’ll need Java in order to run it, which you can download here.

You’ll also need to download a JSON dump of all of your Facebook data with high resolution images and extract it locally. You can find the instructions here.

Once you have the tool running you’ll find yourself faced with a simple UI with a few fields to fill out and a few buttons to use.

The first field needs to point to the location of your extracted Facebook information download. This is the directory that contains a “photos_and_videos” directory.

The second field needs to point to a copy of exiftool by Phil Harvey. If you don’t have it already then download it. If the exiftool already exists in your system PATH then this field should be pre filled.

You have the option to alter the files in place (overwrite them). The default mode will create new files when Exif data is added, leaving the originals with the “_original” suffix.

You can then either “Run” the tool or “Dry Run” the tool. A dry run will scan through your data and output the actions that it will perform without actually performing them. A run will modify your files.

Which Exif data is re added?

The tool should attempt to add the follow Exif field where possible:

  • Time taken
  • Time modified
  • The camera make
  • The camera model
  • Coordinate data (latitude & longitude)
  • Exposure
  • ISO Speed
  • Focal Length
  • F number


Mac users have reported mixed results, some not being able to use the tool at all.

Windows users often download the exiftool but leave it with the name “exiftool(-k).exe”. This will not work and you must rename the tool to “exiftool.exe”.

Some users report not being able to see the changed dates in a file browser. This is because the date in the file browser is unrelated to the Exif data.

If you have any other issues please file an issue on GitHub or write a comment on the blog post.