How To Correctly Export And Migrate Away From Google Photos

Downloading your pictures from Google Photos via Takeout Export messes up the EXIF data of images. If re-importing elsewhere, like in Apple Photos' iCloud, it's important to fix that data in order to have a successful import that stays in chronological order and with the correct GPS coordinates.

Automatic Method (NEW!)

Manual Method

Downloading All Files From Google Photos

  1. Navigate to Google Takeout
  2. Deselect all, and select the Photos archive
  3. Download and unzip your archive.

Each picture and video from Takeout will be accompanied by a metadata.json file containing all the EXIF data. Some pictures will even be stripped of their own EXIF data, usually Location and Date values, making the import process to another platform messy. We will need to merge the JSON and image file back together if we want to correctly import those images elsewhere.

Fixing Image EXIF Data

  1. Install This will allow us to read and write EXIF data, specifically from the JSON to the image/video.
  2. Open Terminal and use the below line in the codeblock. Replace "<DirToProcess>" with your unzipped folder of images (in Mac OS, you can drag the folder in terminal and it will populate the path). The ExifTool will go through all subdirectories so use the root folder’s path.

exiftool -r -d %s -tagsfromfile "%d/%F.json" "-GPSAltitude<GeoDataAltitude" "-GPSLatitude<GeoDataLatitude" "-GPSLatitudeRef<GeoDataLatitude" "-GPSLongitude<GeoDataLongitude" "-GPSLongitudeRef<GeoDataLongitude" "-Keywords<Tags" "-Subject<Tags" "-Caption-Abstract<Description" "-ImageDescription<Description" "-DateTimeOriginal<PhotoTakenTimeTimestamp" -ext "*" -overwrite_original -progress --ext json <DirToProcess>

This will copy all GPS location data, tags, captions, descriptions, dates and time taken information to ALL files (-ext "*") within the specified directory, excluding JSON (--ext json). See notes below to limit the file types. If you have pictures older than 1970, refer to this comment for a fix.

✨ We made a tool to easily process all your photos and videos at once. Be sure to check it out here!


  • See all Google Takeout’s JSON file data and names here.
  • See all Exiftool options here.
  • You can change -ext "*" to specific files types like -ext jpg, or -ext mp4.
  • Note that this will overwrite all files in that directory so keep the original archive zip as a backup.

Moving Library to iCloud

  1. Use on Mac to upload your pictures. Make sure to use the File > Import instead of dragging everything in the app, it works much better for large libraries.
  2. Everything should import well. If there are some pictures that show up at the wrong date, manually correct them with Image > Adjust Date and Time.

Taking Care of Your Existing Google Photos Library

  1. If you are keeping Google Photos as a secondary backup, there’s a couple of things to do. The Google Photos phone app will recognize all newly added pictures in your iCloud as new pictures and will start uploading them again as duplicates. I couldn’t find a way to prevent that so I let the Google Photos app upload the whole library again.
  2. Once all pictures are uploaded to Google Photos, navigate to where pictures will be sorted by Upload Time. Select all newly added pictures and delete them. Google Photos will not reupload the deleted duplicates. It will continue uploading new pictures you take on your phone in the future as usual.

Got a project in mind?

Contact me and let's work together!