How to import Apple Photos location history on iPhone
If you never used Google Maps Timeline, or you have gaps from years when Timeline was off, your iPhone photo library can help fill in the map. Our Apple Shortcut reads when and where your photos were taken and saves a small file you can open in Map Rewind.
Updated November 2026
Your photos never leave your phone. The shortcut only reads dates and GPS coordinates on your
device and saves them to a plain JSON file called apple-photos-complete.json.
Before you start
- Make sure Apple’s Shortcuts app is installed on your iPhone or iPad (it comes built in; if you deleted it, reinstall it from the App Store).
- Turn off Low Power Mode. Low Power Mode restricts memory for Shortcuts and can cause the export to stop early.
- Using iCloud Photos with Optimize iPhone Storage is fine. The shortcut reads photo metadata from your Photos library without downloading full-size image files.
Export your photo locations
-
Download the shortcut
On your iPhone or iPad, open this page in Safari and tap the button below to download
Map-Rewind-Photos.shortcut. When Safari asks, tap Download.Reading this on a computer? You can download the file here and AirDrop it to your iPhone, or open this guide directly on your phone.
-
Add it to the Shortcuts app
Tap the downloads arrow in Safari’s address bar, tap Downloads, and tap Map-Rewind-Photos.shortcut. You can also open the Files app, go to your Downloads folder, and tap the file there.
The Shortcuts app opens with a preview of the shortcut. Tap Add Shortcut.
-
Run the shortcut
Open the Shortcuts app and tap Map-Rewind-Photos. When the menu pops up, choose Start a new export.
The first time you run it, iOS will ask for permission to access your Photos. Tap Allow (or Always Allow) so it can read your photo dates and locations.
-
Wait for it to finish and save the file
Keep your screen awake while it runs. Each run covers up to about 6,000 geotagged photos and usually takes around a minute.
When it’s ready, a folder picker opens. Pick a folder you can easily find later, like Downloads or iCloud Drive, and tap Open to save the file there.
If your library has 6,000 or fewer geotagged photos, it saves
apple-photos-complete.jsonand you can jump straight to step 6. -
Have a larger library? Continue where it left off
iOS limits how much memory a single shortcut run can use, so for libraries with more than 6,000 geotagged photos, the shortcut saves a progress file named for the date it reached, like
apple-photos-up-to-2024-06-30.json.To export the rest, tap Map-Rewind-Photos in Shortcuts again, choose Continue an export, and pick the newest
apple-photos-up-to-…jsonfile. Save the new file when prompted, and repeat until it savesapple-photos-complete.json.For reference, a library of about 24,000 geotagged photos takes around four runs (roughly five minutes total). Once you have
apple-photos-complete.json, you can delete the olderapple-photos-up-to-…files. -
Open the file in Map Rewind
On your iPhone, go to maprewind.com in Safari, tap Load my timeline (or Add data if you already have data loaded), choose Apple Photos, tap Choose file, and pick
apple-photos-complete.json.Want to view it on a Mac or PC instead? AirDrop
apple-photos-complete.jsonto your Mac or grab it from iCloud Drive, then open maprewind.com and drop the file onto the page.
What gets added to your map
Photos capture where you were at a given moment, not the road you took to get there, so Map Rewind turns them into visits rather than routes or trips:
- Nearby photos become one visit: Photos taken near the same spot within a few hours are grouped into a single stay.
- Noise is filtered out: Screenshots, photos without GPS coordinates, and quick shots snapped from a moving car, train, or plane are ignored.
- Safe to mix with Google Maps Timeline: If you already loaded a Google Maps Timeline export, photo visits only fill in the gaps and never overwrite your Timeline visits.
Is it private?
Yes. Both the shortcut and Map Rewind run completely on your device. No photos, dates, or coordinates are sent to our servers. If you want to see exactly what the shortcut does before running it, tap the three dots on Map-Rewind-Photos in the Shortcuts app to inspect every step.
Troubleshooting
The shortcut stops or crashes before saving
Turn off Low Power Mode and keep your phone screen awake while it runs. Closing other heavy
apps can also free up memory. If it already saved an apple-photos-up-to-… file on an earlier run,
you don’t need to start over: choose Continue an export and pick that file.
iOS asks for permission to access Photos or save files
That’s expected. iOS asks before any shortcut can read your Photos library or write a file to your storage. Tap Allow so it can finish saving your JSON file.
Map Rewind says “This export isn’t finished”
That means you selected one of the partial apple-photos-up-to-… files instead of
apple-photos-complete.json. Run the shortcut again with Continue an export to
finish the rest of your library, or tap Import what’s here if you want to view up to
that date right away and add the full file later.
Some of my photos aren’t on the map
Only photos that have a saved GPS location are included. Screenshots, images saved from messages or the web, and photos taken when Camera location access was turned off don’t have coordinates. Photos with a broken camera date (before 2000 or in the future) are skipped too.
Have your photo export ready? Open it on the map.
Open Map Rewind