How to fix Google Photos Takeout dates
You exported your photos from Google Photos with Takeout and now many of them show the wrong date in Windows. This is a common result of how the export is packaged. This guide explains what happens and how to check your own files before you try any fix.
How to export from Google Takeout
Google's help page describes the export. Go to takeout.google.com, uncheck the products you do not want, and select Next step. You choose a delivery method, such as a download link by email or an upload to Drive, Dropbox, OneDrive or Box. You pick a one-time or scheduled export, the Zip or Tgz format, and a maximum archive size. Larger exports are split into several files, and choosing the 50 GB limit reduces the splitting.
Archives expire after about seven days and can be downloaded up to five times, so download all the parts promptly and keep the original archives until you are happy with the result.
Google's page also notes that your data stays on Google's servers after you export it. Do not delete anything from Google Photos until you have checked the exported copy, including the dates, on a sample of files. You can also schedule exports, which repeat every two months for a year, but a one-time export is enough for a move.
Why the dates look wrong
Google's help page says your operating system may assign a new timestamp to each exported file, while the original timestamp remains in the embedded metadata. It also says extra details, such as comments, are saved in a separate JSON file.
That is the root of the problem. File Explorer may show the date the file was created on your PC, not the date the photo was taken. The taken-time is in the photo's own metadata and in the JSON file that travels with it.
So there are two separate questions. Does the photo itself still carry the right date inside it? And, if not, can the right date be read from the JSON file that came with it? The answers decide whether you need any repair at all, or only a way to copy the date out to the place that Windows reads it from.
Check one photo before you do anything
Do not fix everything at once. Take a few sample photos and look at them.
- In File Explorer, compare the date-taken information in the file's properties with the file's modified date
- If the date taken is correct, the photo is fine and only the file date is off
- If the date taken is empty or wrong, look for the matching JSON file next to the photo
- Check a few videos and GIFs too, since they often have no embedded date
Common traps with the JSON files
Users of the free tools report several recurring problems. The time stored in the JSON file is in UTC, so a photo can come out a few hours off if time zones are not handled. Duplicate files with a number in parentheses, such as a photo named with (1) at the end, may have a JSON file whose name does not match the photo, so a tool cannot pair them. Files without embedded dates, such as some videos, may end up dated to 1970.
Fixing it by hand, and a safe routine
For a handful of photos you can set the date by hand in a photo editor. For thousands, people use a script or a program that reads each JSON file and writes the taken-time into the photo. The free open-source Google Photos Takeout Helper is one such program. Its documentation says it sets file dates from the Takeout files, puts the photos in one chronological folder, and can use exiftool to write the dates into the metadata. It expects the Takeout zips to be unzipped and merged into one folder, and it advises keeping the original zips in case something goes wrong.
- Keep the original Takeout archives untouched
- Work on a copy of the unzipped folders
- Test on a small sample first and check the results in File Explorer
- Check a few photos from different time zones, and a few videos
- Only then run the fix on the full copy
Where the Takeout fixer fits
The Google Photos Takeout fixer is coming soon. It is planned as a Windows program that does this repair for you on your own PC, with a free scan first. Until it is released, the routine above works for small collections.
Sources
Coming soon: Google Photos Takeout fixer
Repairs the dates of photos exported from Google Photos. A Windows program that fixes photos exported from Google Photos so they show the date they were taken instead of the export date. It runs on your own PC, so your photos never leave it.
Get Google Photos Takeout fixer first
Join the list and get 25% off your first purchase when it goes on sale. We email you a discount code on launch day. One code per person, for new customers.
One email when it launches (plus the discount code). No other mail, and you can say stop at any time. See our privacy policy.