GPX Splitter

Split a GPX file by point count, time gap, or date boundary

Ad placeholder (leaderboard)

Split a GPX file in your browser

This tool breaks one large GPX track into several smaller GPX files. It is built for anyone whose device recorded a multi-day trip or a very long ride as a single file and now wants it cut into manageable, per-day or fixed-size pieces.

How it works

The GPX is parsed with the browser’s DOMParser, and all track points are collected in order. Then one of three rules is applied:

  • Every N points — the list is chopped into fixed-size chunks of N points each.
  • By time gap — a new part begins whenever the time between two consecutive points exceeds your threshold in minutes, which neatly separates recordings paused overnight.
  • By date — a new part begins whenever the calendar day of a point’s timestamp changes, giving you one file per day.

Each resulting group of points is wrapped in a complete, standalone GPX 1.1 document.

Notes

Everything runs locally — nothing is uploaded. Time-gap and date modes need timestamps on the points; if yours has none, the every-N-points mode always works. To recombine parts later, use the GPX Merger.

Ad placeholder (rectangle)