Skip to content
Menu
Esc

GPX Viewer

Open a GPX file to see its tracks, routes and waypoints on a map with the track length, then convert it to KML or GeoJSON. Files never leave your device.

GPX viewer tool

Open a GPX file to see its track on the map.

Files are parsed in your browser and never uploaded

© OpenStreetMap contributors · OpenFreeMap © OpenMapTiles

Track length
—

    Everything stays on your device. GPX elevations, times, heart rate and other extensions are not read here.

    A GPX viewer answers a simple question: what is in this track file? Choose the file and see the path on a map, with the number of points and the track length. The same page converts the file to KML or GeoJSON without sending it anywhere.

    How to open a GPX file

    1. Open the file. Choose one .gpx file with the file box above the map. KML, KMZ, GeoJSON and CSV point files open there too.
    2. Check the list. A file can hold several tracks, routes and waypoints. The list under the map names each one and its type.
    3. Read the stats. The panel shows the file name, the number of points, lines and polygons, and the total track length in feet or miles.
    4. Look at the route. The map zooms to fit everything in the file. Drag and zoom to look closer at a turn or a stop.
    5. Copy the summary. Copy result puts the item, point and distance summary on your clipboard.
    6. Convert the file. Press Export KML or Export GeoJSON to download everything in the file in that format.

    Files are read on your device and never uploaded. Open a new file at any time to replace the one on the map.

    Other files it opens

    The same box opens KML and KMZ files, GeoJSON, and CSV files with a header row and latitude and longitude columns, so you can check a file before converting it. In a CSV, each row becomes a point, named from a name, label or title column when there is one.

    What is a GPX file?

    GPX stands for GPS Exchange Format. It is an XML file that holds tracks (recorded paths), routes (planned paths) and waypoints (single places). Each point usually has a latitude and longitude, and often an elevation and a timestamp. A watch, a phone app or a route planner can write one.

    Feature GPX KML
    Main use GPS tracks, routes and waypoints Earth viewers and map presentations
    Structure XML with point lists XML with placemarks and styling
    Elevation and time Common on every point Optional and less consistent
    Styling Minimal Colors, icons and descriptions
    Best for Activity files and analysis Sharing a view in an Earth browser

    KML can hold the same line, but it is designed for presentation. GPX is the better source for statistics because the time and elevation fields are part of the format.

    How the statistics are calculated

    Distance is the sum of geodesic distances between consecutive points on the WGS84 ellipsoid. Every track and route in the file is added to the total. Each segment inside a track is measured on its own, so the gap in a paused recording is neither drawn nor counted.

    Timestamps are not read, so the viewer shows no elapsed time, moving time, speed or pace. Your watch or tracking app shows those for the same activity.

    Elevations are not read either, so there is no climb, descent or profile chart here. For the climb along the same track, open the file in the Elevation Profile tool, which samples a terrain model along the line.

    Your watch or phone app may measure distance from a smoothed or denser set of points, so a small difference in length is normal.

    Convert a GPX file

    Choose KML for Earth viewers and Google Earth, or GeoJSON for GIS software and web maps. Each export holds every track, route and waypoint in the file.

    Both formats keep the name and the longitude and latitude of every point. Elevations, timestamps and colors are not written, so keep the original GPX file if you need them.

    Heart rate, cadence and other sensor extensions are not converted. The viewer reads only positions and names.

    Understanding your result

    What you see What it means What to do
    Track length The summed length of every track and route in the file Compare it with your app; small differences are normal
    Points How many positions were read from the file A low count may mean a planned route, not a recording
    A break in the line The track has separate segments, for example from a paused recording Nothing: the gap is not part of the length
    Lines and polygons Tracks and routes count as lines; polygons come only from KML or GeoJSON files Check that the file holds what you expect
    No track points were found The file has no track, route or waypoint the viewer can read Check that it is a GPX file, not a FIT file

    This viewer is for looking at and converting files. Check a route on a current map before you rely on it outdoors.

    Privacy: what leaves your device

    Your file stays in the browser. Map tiles are requested by area as you pan and zoom. Those requests carry normal web information such as an IP address, not your track or its name. Nothing from the file is stored, logged or sent to analytics.

    To see a path you draw yourself, use the Map Distance Calculator. To view a KML or KMZ file, open the KML Viewer. For the climb on a route you draw, try the Elevation Profile. The Topographic Map shows the terrain under the track.

    Frequently asked questions

    How do I open a GPX file?

    Choose a GPX file with the file box above the map. The tracks, routes and waypoints appear on the map, with the number of points and the total track length. Everything is read in your browser, so nothing is uploaded and no app is installed. It works on a computer, tablet or phone.

    What is the difference between GPX and KML?

    GPX is a GPS exchange format for tracks, routes and waypoints, with latitude, longitude, elevation and time. KML is built for Earth viewers and adds styling and placemark descriptions. GPX is better for recorded activity files; KML is better for sharing a map view. This page converts GPX to KML and GeoJSON.

    How do I convert GPX to KML?

    Open the file, then press Export KML. Every track, route and waypoint in the file goes into one KML file, a readable XML format for Earth viewers and GIS tools. Names and positions are kept; elevations, times and track colors are not. The file is built in your browser.

    How do I convert GPX to GeoJSON?

    Open the file, then press Export GeoJSON. Tracks and routes become lines and waypoints become points, each with its name, ready for GIS software or a web map. The file holds longitude and latitude only, without elevations or times. A CSV export is not offered on this page.

    Are my GPX files uploaded?

    No. Your GPX files are read on your device and never uploaded. Map tiles are requested by area from the tile service, so that host sees normal web requests, not your file. Nothing from the file is stored, logged or sent to analytics.

    Can I edit or merge GPX files?

    Not in this version. The page views and converts GPX files; it does not trim, merge or edit them. If you need those jobs, use a dedicated GPX editor. Viewing, statistics and conversion stay free and private here, and editing may be added later if there is demand.

    Is there a GPX viewer for Android, iPhone or Windows?

    The viewer runs in a modern browser, so it works on Android, iPhone, iPad, Windows and Mac without an app. Open the page in Chrome, Safari, Edge or Firefox and load your file. On a phone, save the file from your watch or tracking app first, then pick it with the file box.

    • Elevation Profile

      Draw a route or open a GPX or KML file to get its elevation profile with total climb and descent and more.

    • KML Viewer

      Open KML or KMZ files (and GeoJSON) to view placemarks, paths and polygons on a map with their names and descriptions and more.

    • Measure Distance on a Map

      Click points on a street map to measure a straight-line path in miles or feet and kilometers or meters.

    • Draw on Map

      Draw lines, shapes, circles, markers and text notes on a map, measure as you draw, and export KML or GeoJSON.

    • Topographic Map

      USGS topo map of the US with contour lines and shaded relief; click any point, anywhere, for its elevation in feet and meters.

    All elevation tools

    Built and checked by Handy Map Tools. Each tool names its method and data source, and every map page lists its credits.

    Updated · How we measure · Report a problem