Mileage Log

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

Android
A file named Timeline.json, saved from Settings → Timeline
iPhone / iPad
A file named location-history.json, saved from Google Maps → Files

Check 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:

  1. Open Google Maps and tap your profile picture or initial.
  2. Tap Your Timeline.
  3. Open the cloud icon / settings area at the top of the Timeline screen.
  4. 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).
If your period is 3 months and you need a full tax year of drives, export right away using the steps below — some of what you need may already be close to expiring — and consider choosing a longer auto-delete period while you are in this settings area.
Good to know: Exporting does not delete or change anything on your phone. It simply saves a copy of the Timeline data already stored there.

Android: export Timeline data

On Android, the export lives in your phone's Settings — not inside the Maps app.

  1. Open the Settings app on your phone.
  2. Tap LocationThen tap Location services
  3. Tap TimelineSettings → Location → Location services → Timeline
  4. Tap Export Timeline data, then tap Continue.
  5. Choose a folder you can find again (for example, Downloads or a cloud drive folder), then tap Save.
You get A file named 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.
Requirements & variations: Timeline requires Google Maps 11.106 or later and is not available on Android Go devices. Menu labels vary slightly by phone maker — if you do not see “Location services,” look for Timeline directly under Location, or search Settings for “Timeline.”

iPhone & iPad: export Timeline data

On iPhone and iPad, the export lives inside the Google Maps app.

  1. Open Google Maps and tap your profile picture or initial in the search bar.
  2. Tap Settings.
  3. Tap Personal content.
  4. Under Location settings, tap Export Timeline data.
  5. Tap Save to Files, choose a folder (for example, On My iPhone or iCloud Drive), then tap Save.
You get A file named location-history.json in the folder you chose. Leave it exactly as it is — do not rename or edit it.
Version note: On some versions the path is Settings → Location & Privacy → Export Timeline data instead of Personal content. You need Google Maps 6.93 or later — if “Export Timeline data” is missing, update Google Maps in the App Store and try again.

Older Google Takeout archives

Exported years ago with Google Takeout? Those archives can still be useful.

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:

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.

Set a reminder: Export again before the oldest month you need expires — for example, export in January for the tax year that just ended, rather than discovering in April that March's drives aged out.

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:

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:

From JSON file to finished log

  1. Open Mileage Log and drop your Timeline.json, location-history.json, or Takeout monthly file into the tool.
  2. Review the trips it found — dates, start and end points, and distances.
  3. Mark each trip business or personal, and fix anything that looks wrong.
  4. Export your finished log as CSV, Excel, or PDF.
Open Mileage Log →

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.