Skip to content
FbDates

Put the dates back into the photos from your Facebook download — Step-by-step guide

Facebook's “Download your information” photos arrive with no EXIF and no file dates, so Google Photos and Apple Photos pile them all onto the day you downloaded them. FbDates reads the date of each photo from the JSON files in the archive and writes it into the JPEG. When Facebook kept the camera's capture time it uses that; otherwise the date is when the photo was uploaded or sent, not when it was taken.

What the sample produces

The sample is a miniature Facebook JSON export: a timeline post, an album, a Messenger thread and an uncategorized photo. One photo has a camera capture time in the JSON and gets 2016-09-18, not its 2016-09-24 upload day. Four get their upload or send date. One already has camera EXIF and stays byte-for-byte identical. One is not mentioned in any JSON and is copied without a date.

Capture date written
1 photo (2016-09-18)
Upload or send date written
4 photos (2014 to 2019)
Left unchanged
1 with camera EXIF, 1 with no date

How to use it

  1. In Facebook, open Settings, then Accounts Center, then “Your information and permissions”, and request “Download your information” (it may appear as “Export your information”). Choose Format: JSON, include posts and messages, and download the ZIP.
  2. Open that ZIP here. The preview counts the photos dated with a capture date, those dated with an upload or send date, and those with no date in the export. Nothing is uploaded.
  3. Download the dated ZIP, unzip it and import the folders into Google Photos or Apple Photos. fbdates-report.csv inside lists every file and where its date came from.

Supported files

Needs the JSON-format export; the HTML format is not read. Facebook records the camera's capture time for only some photos: for the rest, and for every Messenger photo, the date written is the upload or send time, which can be days or years after the photo was taken. Dates are written as UTC, so photos near midnight can land one day off. EXIF is written to JPEG files only; videos, PNG and GIF get the date as the file date inside the ZIP. Photos that already have EXIF are copied unchanged, and photos not mentioned in any JSON are copied without a date. Up to 1 GB of ZIP per run: process a multi-part export one part at a time, together with the part that holds the JSON.

Open FbDates

Compare FbDates with alternatives