Timeline.json Viewer: Open Your Google Timeline JSON File

When you export Google Maps Timeline, you get a JSON file: Timeline.json on Android or location-history.json on iPhone. It is plain text, but it is not readable as-is. This page shows how to open it as a map, and what the fields inside mean.

Open your timeline JSON file in three steps

  1. Export it from your phone if you have not yet (see how to export Google Maps Timeline).
  2. Go to the Timeline Visualizer and drag the JSON file onto the upload box, or click Select File.
  3. Pick a date range. Visits appear as pins, trips as lines, with totals for places and distance.

Android Timeline.json format

The Android export is one JSON object with three top-level keys:

A visit segment looks like this (values shortened):

{
  "startTime": "2025-05-03T10:21:04.999+09:00",
  "endTime": "2025-05-03T16:54:09.429+09:00",
  "visit": {
    "probability": 0.72,
    "topCandidate": {
      "placeId": "ChIJ...",
      "semanticType": "UNKNOWN",
      "placeLocation": { "latLng": "35.6586°, 139.7454°" }
    }
  }
}

A trip segment has activity instead, with start and end coordinates, distanceMeters and a topCandidate.type such as IN_PASSENGER_VEHICLE or WALKING. Coordinates are written as "lat°, lng°" strings.

iPhone location-history.json format

The iPhone export is a list rather than an object. Each entry has startTime and endTime plus one of visit, activity or timelinePath. Coordinates use the form "geo:37.375163,-122.046013", and numbers such as probability and distance are stored as strings.

Timeline JSON viewer options compared

OptionShows a mapFile leaves your device
Text editor or browser JSON viewNoNo
Google Maps appYes, but it cannot open the exported JSONNot applicable
Google Maps Timeline VisualizerYesNo, parsed in the browser

If the viewer says the file is not a timeline

Have your file? See it on a map now.

Open the Timeline Visualizer

Free. Runs in your browser. Your file is never uploaded.

Frequently asked questions

How do I open Timeline.json?

Drop it onto the upload box of the Google Maps Timeline Visualizer. It reads the file in your browser and draws your visits and routes on a map. A text editor also opens it, but a multi-year file is many megabytes of nested JSON.

Can Google Maps import my Timeline.json back?

Not from the JSON file. Google Maps restores Timeline only from its own encrypted backup. The JSON export is for keeping a copy and for viewing in tools like this one.

Which Google Timeline JSON files does this viewer support?

Android Timeline.json (the semanticSegments format) and the iPhone location-history.json export. Older Google Takeout files such as Records.json and the Semantic Location History folders are not supported yet.

Is it safe to open my timeline JSON online?

With this viewer, yes: there is no backend server, so the file is parsed by your browser and never uploaded. The source code is public on GitHub if you want to check.

Related guides