DEV Community

9romit
9romit

Posted on Originally published at 9romit.com

Turn Your Google Maps Timeline Into an Animated Video

You come home from a trip with hundreds of photos and no clean way to show where you actually went. Google Maps has been quietly recording that movement in your Timeline all along. Timeline Visualizer turns that data into a video.

Export your Google Maps Timeline JSON file, load it into Timeline Visualizer, and it renders your route as an animated MP4. There is an Android app and an iPhone web app, and the video file is processed entirely on your own device.

What this covers:

  • What Timeline Visualizer is
  • Installing it on Android vs iPhone
  • How to export your Google Maps Timeline JSON
  • The steps to build a video
  • Every video setting explained
  • Where people get stuck
  • Related reading

What Timeline Visualizer actually is

Google Maps saves your movement history as a Timeline whenever location history is on. The awkward part is getting that data out and doing something with it.

Timeline Visualizer reads the JSON file, draws your route as an animation on a map, and saves the result as MP4. It is released by an individual developer under the MIT license, so it is free to use.

In practice this ends up in travel vlogs and business trip recaps fairly often. The route alone carries the mood, with no editing required.

  • No Google sign-in
  • No location permission request
  • The JSON file is never uploaded to an external server
  • Only map tiles hit the network (CARTO + OpenStreetMap based)

Some people are understandably cautious about the privacy angle. The file itself never leaves the device, and that is the important part.

Installing it: Android vs iPhone

This is where a lot of people stall. It is not on Google Play yet, so on Android you install the APK yourself.

Item Android iPhone
Install method Download APK directly from GitHub Open the web app in Safari (no install)
Minimum version Android 8.0+ Safari 16.4+
Where MP4 is saved Movies/Timeline Visualizer (Android 10+) Requires the Safari tab to stay open, local storage
Add to home screen Installs as an app Safari share menu → Add to Home Screen
Offline use Works except map tiles Same

Android install order:

  • Go to the GitHub repo (github.com/mahlernim/google-timeline-visualizer)
  • Releases → Assets, download the TimelineVisualizer-*.apk file (skip the .sha256 file)
  • Open the downloaded APK
  • If the install-blocked notice appears, go to Settings and allow "install unknown apps" for that browser or file manager
  • After install, turn that permission back off (optional)

A practical note: only download the APK from the official GitHub repo. Android's install warning is normal behavior for any APK distributed outside the Play Store. Do not use files from third-party sites.

Exporting your Google Maps Timeline JSON

This is the part that really throws people, because the export path is completely different on Android and iPhone. Plenty of people hunt for it inside the Google Maps app and never find it.

Android: you do this in the phone's Settings app, not in Google Maps.

  • Open the Settings app
  • Location → Location services → Timeline
  • Export Timeline data → Continue
  • Save Timeline.json somewhere easy to find, like your Downloads folder

iPhone: you do this inside the Google Maps app.

  • Google Maps app → profile photo → Settings → Personal content → Export Timeline data
  • Save Timeline.json to the Files app

If you do not see a Timeline menu at all, location history is probably disabled on your Google account. Google's Timeline help page covers how to turn it back on.

Building the video

Once the file is ready, everything happens inside the app. The flow is simple, though a few steps give you choices.

  • Open the app → Create video → choose file
  • Load Timeline.json
  • Pick the date range — by month, or Exact dates
  • Confirm the title, then set the duration (10–300 seconds)
  • Use Preview to check the route
  • Choose Create video
  • When it finishes, watch, share, or save

Here is the key bit: if the route jumps or breaks during preview, check the GPS outlier filter. It defaults to Conservative, which automatically drops most bad coordinates.

Videos over 60 seconds take longer to render and produce bigger files. The app warns you at that point too. For a short trip, around 30 seconds works well.

Every video setting explained

Set your defaults in Settings and every later video inherits them.

Setting Options What it does
Camera motion Steady / Fixed / Dynamic Steady is the default. Fixed locks the zoom. Dynamic tracks local movement more tightly
Long-distance compression Balanced / Off Adjusts animation timing across long legs. The route itself does not change
Video format Square 480p / 720p / 1080p, vertical 1080×1920, horizontal 1920×1080 Square for social, horizontal for YouTube uploads
GPS filter Conservative / Off Conservative removes jittery coordinates automatically. Off uses the raw data
Language Korean, English, Japanese, and 9 total Changeable in settings, with an option to follow the system default

In practice, the longer the trip, the better Balanced compression plus Steady camera works. Dynamic makes a noticeable difference on short trips with a lot of in-city movement.

Where people get stuck

Timeline data disappeared. Old movement records can vanish after a device swap, a Maps reinstall, or a factory reset. An encrypted backup may still exist inside Google Maps, so use the app's "Restore Google Maps Timeline" feature or the restoration guide to recover it in Maps first, then export a fresh JSON. Timeline Visualizer cannot restore it for you.

MP4 will not save on iPhone. Below Safari 16.4, H.264 encoding is not supported and video generation simply fails. Update iOS and try again. Do not close the tab while a video is rendering.

The route shoots off in a straight line. Long flights and gaps in data are interpolated along a great-circle path. Your actual route is not distorted — the app is just connecting stretches where GPS data is missing.

Adding existing videos to the library. MP4s made before the app existed can be pulled in with "Add videos." The app does not copy the file, only stores an index. Move or delete the file and the entry shows as "file missing."

One common misunderstanding: does uploading the JSON send my data to Google or some server? No. The file is processed on-device, and the only network traffic is map tile requests. Those tiles come from CARTO's servers, so the tile provider can see which areas were requested — but the Timeline JSON itself is never transmitted.

Checklist before you render

  • Is location history enabled on your Google account?
  • Is Timeline.json saved on the device?
  • On Android, is the APK installed with permissions configured?
  • On iPhone, is Safari 16.4 or newer?
  • Will you be able to leave the tab or app open while it renders?
  • For a long trip, is Balanced compression turned on?

If you only do one thing right now: export the Timeline JSON from Google Maps. You can make the video later, but the data can disappear with a reset or a reinstall.

Related reading

This post is for informational purposes. Any consequences of applying it are the reader's responsibility.

Top comments (0)