GPX 1.0 / 1.1KMLKMZCSVGeoJSON100% client-side
Open and view GPX files in your browser.
Drop a file to see the route, distance, and elevation profile. Free, no install, no upload — your file never leaves the browser.
Drop your GPX file here
or browse to choose
Parsed locally · never uploaded
What viewmygpx does
viewmygpx is a free browser-based viewer, converter, and editor for GPX files — the open XML format for route data published by TopoGrafix in 2002 and adopted by every major GPS platform. Drop a file onto the viewer above and it parses in your browser using the native DOMParser interface; the route renders on a map with elevation profile, distance, gain, loss, and pace computed from the raw coordinates. From there, convert to KML 2.3, KMZ, CSV, or GeoJSON (RFC 7946), or send the route to Strava, Garmin Connect, Komoot, AllTrails, or Google Earth using the platform-specific guides.
Features
What you can do here
01
View any GPX
Drop a file to see the route on a map with elevation profile, distance, gain, loss, and pace. The viewer handles GPX 1.0 and 1.1 plus heart rate, cadence, and temperature extensions from Garmin and other devices.
02
Convert to other formats
Round-trip GPX with KML, KMZ, CSV, and GeoJSON. Open the file, hit a button, download the converted version. The conversion runs in your browser; no upload, no signup, no file size limits.
03
Send to your apps
Push routes to Strava, Garmin Connect, Komoot, AllTrails, Google Maps, Google Earth, Gaia GPS, Wahoo, and Suunto — each with a step-by-step guide for getting the file into the right place.
Stats
What viewmygpx shows you
A GPX file stores location as a sequence of trackpoints — each with a latitude, longitude, optional elevation, and optional timestamp (defined in the TopoGrafix 1.1 schema). The viewer parses every trackpoint, renders the polyline on a map, draws an elevation profile, and computes the metrics below. All metrics derive from the raw coordinates and timestamps the file contains; nothing is estimated or filled in.
When a file includes Garmin's TrackPointExtension namespace, the viewer also surfaces heart rate, cadence, and temperature alongside the standard fields (schema). Multi-track and multi-segment files — common in GPS recordings split on pause/resume — are preserved as separate polylines on the map, not silently merged.
- Distance
- Sum of haversine distances between consecutive trackpoints, projected on the WGS-84 ellipsoid (the same datum every consumer GPS receiver uses).
- Elevation gain / loss
- Sum of positive and negative deltas between adjacent elevation values, where elevation is present. Bad-data outliers are not silently filtered — what's in the file is what you see.
- Duration
- Difference between the first and last timestamp on the track, including any pauses recorded in the file.
- Avg speed
- Total distance divided by total duration. Reflects pace including stops; for moving-only pace, exclude stationary segments before recording.
- Max speed
- Peak instantaneous speed measured between two adjacent trackpoints. Sensitive to GPS jitter at low frequencies.
- Point count
- Total number of <trkpt> elements parsed across all <trk> and <trkseg> containers in the file.
- Waypoints
- Standalone <wpt> markers — points of interest, geocaches, photo locations — rendered on the map with name and description.
- Heart rate · cadence · temp
- Read from <gpxtpx:TrackPointExtension> when present. The schema is published by Garmin at xmlschemas/TrackPointExtensionv1.xsd and adopted by Wahoo, Suunto, and Coros.
Compatibility
Works with files from
GPX is the lingua franca of route data. Every fitness watch, bike computer, mapping app, and outdoor platform either exports or imports it — the format has remained stable since TopoGrafix released GPX 1.1 in August 2004. viewmygpx parses any file conforming to GPX 1.0 or GPX 1.1; that covers the catalog below and most everything else you'll encounter.
- GPS devices
- Garmin Edge, Forerunner, fenix, and Instinct (export via Garmin Connect); Wahoo ELEMNT, Bolt, and Roam; Suunto Race, Vertical, and 9 series; Coros Apex, Vertix, and Pace; Polar Vantage and Grit X; TomTom GO; Bryton Rider; Lezyne Mega; Hammerhead Karoo.
- Activity apps
- Strava, Komoot, AllTrails, Ride with GPS, Gaia GPS, Trailforks, MapMyRun, Runkeeper, WorkOutDoors, Apple Health (workout export), Google Fit, Wikiloc.
- Mapping platforms
- Google Earth, Google My Maps, OpenStreetMap (planet-osm GPS traces), OS Maps, Maps.me, Outdooractive, Locus Map, ViewRanger archives, Maperitive.
- Hiking & guidebooks
- Cicerone Press digital editions, Outdooractive guidebook downloads, OS Maps Premium, long-distance trail associations (Pacific Crest Trail, Appalachian Trail, GR-route network, European E-paths).
Guides
Popular guides
How to open a GPX file
Universal walkthrough for every device, OS, and mapping app.
What is a GPX file?
The format, what it stores, and where it comes from.
GPX file format reference
Schema, required and optional elements, examples.
GPX editor
Trim, merge, reverse, split, and smooth GPX files.
Sample GPX files
Twelve free, public-domain sample files for testing parsers and demos.
Open GPX in Google My Maps
Convert GPX to KMZ in your browser, import into Google My Maps, view in standard Google Maps under Saved → Maps.
Open GPX in Google Earth
Drop the KMZ onto Google Earth Web for 3D terrain visualization. Best for seeing climbs and valleys against real terrain.
Open GPX in Strava
Upload a GPX activity to Strava on the web. Strava recomputes elevation from its own dataset.
Open GPX in Komoot
Upload a GPX as a Komoot Tour. Komoot's free tier accepts uploads; offline maps require a region purchase or Premium.
Open GPX in Garmin Connect
Import GPX as a Garmin Connect Activity. For navigable Courses on Edge or fenix, use Training → Courses instead.
Open GPX in Ride with GPS
Upload to Ride with GPS as either an Activity (recorded) or Route (planned).
Open GPX in AllTrails
Import GPX as a Custom Map in AllTrails+ (paid). Saves to your account and syncs to the mobile app for offline use.
Open GPX in Apple Maps
Apple Maps does not natively import GPX. The realistic Apple-stack workflows use third-party apps (WorkOutDoors, Footpath, Komoot, Maps.me) that handle GPX themselves.
References
Built on open standards
viewmygpx uses no proprietary parsing or rendering. The GPX format is an open XML schema published by TopoGrafix; conversion targets are also open standards. Every reference cited here is the canonical primary source.
- TopoGrafix
GPX 1.1 schema
The current authoritative XML schema for GPX route data. Published August 2004 by Dan Foster and unchanged since.
- TopoGrafix
GPX 1.0 schema
The original October 2002 schema. Still produced by older Garmin handhelds and hand-rolled exports.
- OGC
KML 2.3 (12-007r2)
The Open Geospatial Consortium's standard for the KML conversion target, ratified August 2015.
- IETF
GeoJSON · RFC 7946
The 2016 specification for the GeoJSON conversion target. Published by the IETF Geographic JSON working group.
- W3C
File API
The browser interface used to read GPX files locally without uploading. The technical basis for our privacy claim.
- Garmin
TrackPointExtension v1
Garmin's published schema for heart rate, cadence, temperature, and speed extensions added to GPX trackpoints. Adopted by Wahoo, Suunto, and Coros.
FAQ
Common questions
Is viewmygpx free?
Yes. The viewer, converters, and editor are free with no signup and no usage limits. The site is funded by display ads on guide pages — never on the viewer, editor, or converters themselves, and never blocking the tool. There are no premium features locked behind a paywall.
Does my GPX file get uploaded anywhere?
No. The page uses the W3C File API (specification at w3.org/TR/FileAPI/) to read the file directly into JavaScript memory; parsing, rendering, conversion, and editing all happen in your browser. The file never reaches any server we operate. Share links encode the file content in the URL fragment — the part after the # symbol — which browsers do not transmit when requesting the page from the server.
What can I do with the file after I open it?
Convert to KML 2.3 (the OGC standard 12-007r2 used by Google Earth and other GIS tools), KMZ (zipped KML), CSV with one row per trackpoint, or GeoJSON conforming to IETF RFC 7946. Send the route to Strava, Garmin Connect, Komoot, AllTrails, Ride with GPS, Google Earth, or Apple Maps using the platform-specific guides at /open-gpx-in/. Open the editor to trim, merge, reverse, split, or smooth the track without re-recording.
Can I edit a GPX file in the browser?
Yes. The /gpx-editor/ page handles six common edits: trim a slice from start to end; reverse direction (which strips timestamps because they no longer apply); merge two files into one track; split a track at a chosen point into two files; smooth elevation jitter with a rolling-average window over a configurable number of points; and edit the file's name and description metadata. The editor does not draw new routes from scratch — for route planning, use Komoot or Ride with GPS, then return here to inspect, edit, or convert the export.
Why won't my GPX file open?
Three causes account for almost every failure. First, corrupt XML — open the file in a text editor and confirm the first lines include a GPX 1.0 or GPX 1.1 declaration; those are the only versions TopoGrafix has published. Second, the wrong file extension — some apps export .gpx.txt or .xml; rename the file to .gpx and try again. Third, a non-standard GPX 2.x namespace declared by some niche tools; only versions 1.0 and 1.1 are guaranteed to parse.
Which devices can I send a GPX route to?
All major fitness watches and bike computers: Garmin Edge, Forerunner, fenix, and Instinct via Garmin Connect; Wahoo ELEMNT, Bolt, and Roam; Suunto Race, Vertical, and 9 series; Coros Apex, Vertix, and Pace; Polar Vantage and Grit X; TomTom GO; Bryton Rider; Lezyne Mega. Apple Watch via the Strava, Komoot, or WorkOutDoors apps — Apple's stock Workouts app does not natively import GPX. The /garmin/ sub-hub has device-specific upload guides for the most common units.