Export Google Timeline (Android & iPhone) Before It Deletes
Google Timeline now stores your location history on your phone — and an auto-delete setting can quietly remove older trips after 3, 18, or 36 months. Export a copy now, before older trips disappear. This page shows the export steps for Android and iPhone, how to check your auto-delete setting first, and what to do if some data is already gone. It takes about a minute.
What you will get
Timeline.json, saved from Settings → Timelinelocation-history.json, saved from Google Maps → FilesCheck your auto-delete setting first
Before you export, take ten seconds to see how long your phone is keeping Timeline — and whether a backup exists. Menu labels vary slightly by app version, so treat the wording below as a guide to the right area:
- Open Google Maps and tap your profile picture or initial.
- Tap Your Timeline.
- Open the cloud icon / settings area at the top of the Timeline screen.
- Review two things: your auto-delete period — it will be 3, 18, or 36 months — and your backup status (whether Timeline backup is on or off).
Android: export Timeline data
On Android, the export lives in your phone's Settings — not inside the Maps app.
- Open the Settings app on your phone.
- Tap LocationThen tap Location services
- Tap TimelineSettings → Location → Location services → Timeline
- Tap Export Timeline data, then tap Continue.
- Choose a folder you can find again (for example, Downloads or a cloud drive folder), then tap Save.
Timeline.json in the folder you chose — your phone shows an “Export complete” notification when the save finishes. Leave the file exactly as it is — do not rename or edit it.
iPhone & iPad: export Timeline data
On iPhone and iPad, the export lives inside the Google Maps app.
- Open Google Maps and tap your profile picture or initial in the search bar.
- Tap Settings.
- Tap Personal content.
- Under Location settings, tap Export Timeline data.
- Tap Save to Files, choose a folder (for example, On My iPhone or iCloud Drive), then tap Save.
location-history.json in the folder you chose. Leave it exactly as it is — do not rename or edit it.
Older Google Takeout archives
Exported years ago with Google Takeout? Those archives can still be useful.
- Semantic Location History — supported. The monthly JSON files inside the Takeout archive (for example,
2021_AUGUST.json) also work in Mileage Log. Each file covers one month of visits and drives. - Records.json — not supported. That file is raw location points, not trips. It contains no drive segments to turn into a log, so Mileage Log cannot use it.
If you have both old Takeout files and a fresh on-device export, start with the fresh export — it is the most complete — and use the monthly files only to fill older gaps.
Why export now
Timeline used to live in your Google Account in the cloud. It no longer does. According to Google's official Timeline help, your visits and routes are now saved on each signed-in device. Backup to Google's servers is optional — and when it is on, it is encrypted.
That change has three consequences worth acting on:
- Auto-delete is always counting down. You keep Timeline based on your auto-delete setting — 3, 18, or 36 months. Once a drive ages past that window, it disappears. There is no undo.
- Your phone is now the only copy. A lost, broken, or reset phone can take years of drives with it if backup was never turned on.
- Tax season does not wait. If you claim mileage, you need last year's drives — which may already be inside the auto-delete window.
Export a copy before switching phones, before a factory reset, and well before tax season. Store the file somewhere safe — it is your raw record, and everything else (including a mileage log) is built from it.
If your data is already gone
Start with the honest part: Timeline data that auto-delete (or a reset phone) has already removed cannot be recovered through export — an export only contains what is still on the device. There is no restore button for it.
What you can still do:
- Start with what remains. Export whatever history is still on your phone today, before more of it ages out — a partial record is far better than none.
- Write down the trips you remember. For each one, note the date, where you went, and the purpose of the trip, while the details are still fresh.
- Ask your accountant what records they accept for trips reconstructed this way — calendars, receipts, messages, and notes like these may help, and they can tell you what is usable in your situation.
This section is general information about how Timeline export works, not tax advice. For your own filing, your accountant's guidance is what counts.
Next step: check your file in Mileage Log
Before you rely on an export, check what is actually in it — free, in Mileage Log. The check shows you:
- The date range your file actually covers — so you can see whether the months you need are there.
- The trips found — each drive with its date, start and end points, and distance.
- Issues to review — gaps and entries worth a second look before you build a log from them.
From JSON file to finished log
- Open Mileage Log and drop your
Timeline.json,location-history.json, or Takeout monthly file into the tool. - Review the trips it found — dates, start and end points, and distances.
- Mark each trip business or personal, and fix anything that looks wrong.
- Export your finished log as CSV, Excel, or PDF.
Zero uploads: parsing happens entirely in your browser. Your file never leaves your device — you can confirm it yourself in your browser's Network tab (see the FAQ below).
Frequently asked questions
Does exporting delete my Timeline?
No. Exporting copies your Timeline data into a file — it does not delete or change anything on your phone. Your Timeline stays exactly as it was, and you can export again whenever you like.
Can I export a single year?
Google's export saves the Timeline history available on the device — the whole of it. The current export flow has no date-range picker, so you cannot choose a single year at export time (checked 2026-12-05). Export everything, then pick the year you need when you review the file.
How big is the export file?
It varies with how much history your phone holds — from a few megabytes to hundreds of megabytes for years of Timeline data. Mileage Log streams the file in a Web Worker, so your browser tab stays responsive while it works. If you are on a phone with very little free memory and a large file struggles to import, move the file to a computer and open Mileage Log there instead — the file works exactly the same.
My export shows only a few drives. What happened?
Usually one of three things: Timeline was off for part of the period, so no drives were recorded; auto-delete already removed the older data before you exported; or Location Services were restricted (for example, battery-saving modes or revoked location permission), leaving gaps. An export can only contain what your phone recorded and kept — it cannot recover drives that were never saved or already deleted.
Is my file uploaded anywhere?
No. Mileage Log parses the file in your browser, on your device — there is no upload. You do not have to take our word for it: open your browser's developer tools, go to the Network tab, then import your file. You will see no request carrying your data anywhere.
Which file should I import?
On Android, import Timeline.json. On iPhone or iPad, import location-history.json. From an old Takeout archive, import the Semantic Location History monthly files (like 2021_AUGUST.json) — not Records.json, which is raw points and is not supported.
Not tax advice. You are responsible for what you file.
Guide checked against Google's help pages on 2026-12-05; menus may change.