Runs entirely in your browser — your inputs never leave this page.
How this tool works
- 1
Parses GPX track points, extracting latitude, longitude, elevation (ele), and ISO timestamps.
- 2
Builds a GeoJSON LineString geometry with 3D coordinates [longitude, latitude, elevation].
- 3
Stores cumulative track statistics (distance, duration, elevation gain) in the feature properties.
Common uses
- Embedding outdoor activity tracks into web applications and interactive maps.
- Analyzing GPS tracks in spatial data science notebooks (GeoPandas / PostGIS).
- Combining multiple workout tracks into a single unified GIS layer.
Frequently asked questions
Yes, waypoints are converted to separate Point features with their names and descriptions preserved.
More in File Converters
- Universal GIS ConverterConvert seamlessly between GeoJSON, Keyhole Markup Language (KML/KMZ), GPS eXchange Format (GPX), and delimited CSV coordinates with 100% client-side privacy.
- CSV to GeoJSONUpload any CSV file with latitude and longitude columns to instantly auto-detect coordinate headers, map points, and export standard RFC 7946 GeoJSON.
- Shapefile to GeoJSONUnpack zipped ESRI Shapefile archives (.shp, .dbf, .prj) and translate binary geometry and attribute tables directly into modern GeoJSON in browser memory.
- WKT to GeoJSONParse, validate, and visualize OGC Well-Known Text (WKT) geometries (POINT, LINESTRING, POLYGON, MULTIPOLYGON) and convert them to GeoJSON.
- CSV to GeoJSONConvert tabular CSV spreadsheets containing latitude and longitude columns into valid GeoJSON Point FeatureCollections with metadata attributes.
- GeoJSON to KMLConvert GeoJSON FeatureCollections, Points, LineStrings, and MultiPolygons into Google Earth compatible KML placemarks and overlays.
- KML to GPXConvert Google Earth KML routes and placemarks into standard GPX format compatible with Garmin, Strava, and handheld GPS units.
- EPSG / CRS ConverterTransform coordinates between EPSG:4326 (WGS84), EPSG:3857 (Web Mercator), UTM zones, and regional State Plane datums.
Publishing a Boulder Trail Run as an Interactive Web Map
A running club in Boulder, Colorado wants its favorite Saturday loop on the club website. The route leader's watch recorded the run as a GPX file: 14.2 miles with 1,850 feet of climbing. She converts the GPX to GeoJSON because web maps read GeoJSON natively, and the track becomes a single LineString the site can draw and style.
Each point in the line keeps its elevation as a third coordinate value, and here is the detail that trips people: GeoJSON elevation is in meters. The trailhead sits at about 5,430 feet, so its coordinates look roughly like [-105.27, 40.01, 1655], where 1,655 is meters, matching about 5,430 feet. The web map uses those values to draw the elevation profile under the route.
The timestamps from the watch can ride along as properties, which lets the site show the group's steady 10-minute-mile pace on the flat return leg. One short section of the line wanders where the trail ducks under a road bridge and the GPS signal bounced; it is barely noticeable in the profile, and she notes to trim that segment in the watch file before the next conversion.
Studying the converted line closely teaches her something about the route itself. The hardest stretch is not the famous summit push but miles 9 to 11, where the elevation values climb from about 5,900 feet to 6,700 feet, a gain of 800 feet in two miles (roughly 244 meters). The club adds a line to the route description warning new runners to save something for that section, because the profile in the GeoJSON made the steep part impossible to miss.
The file travels well, too. Another member opens the same GeoJSON in a phone mapping app that reads the format, follows the line to the trailhead, and never touches the original watch file at all. That is the quiet strength of converting once into an open standard: the run stops belonging to one brand of watch and becomes a map anyone's tools can read.
The timestamps pass one more arithmetic test before she publishes. The first point is stamped 7:02 in the morning and the last 9:24, a span of 2 hours 22 minutes for 14.2 miles. That divides out to almost exactly a 10-minute mile, matching the steady pace the group leader called all morning. When a converted file survives checks like that, distance against elevation, time against pace, timestamps against memory, she trusts it enough to put the club's name on the page.
Once embedded, the map lets new members zoom into the trailhead, check the climb before signing up, and open the same page on a phone in the parking lot. The original GPX stays in the club folder as the archive copy, because GeoJSON is the publishing format, not the record of the day. The club now converts every Saturday run the same way, building a season of routes that new joiners can browse by distance and climbing before they ever lace up. And because the format is plain, open text, those files will still load in whatever mapping tool the club is using ten years from now.
Common mistakes to avoid
- Reading elevation as feet. GeoJSON stores elevation in meters. Treating 1,655 meters as feet would put a Colorado trailhead lower than Denver's airport runway.
- Merging a whole day's activities. If one GPX holds a morning run and an evening ride, the converter may join them into one strange line. Split mixed files first.
- Dropping timestamps unknowingly. Some export settings keep only geometry. If you want pace or time analysis later, check the output still carries the track's time data.
Pro tips
- Archive the original GPX and publish the GeoJSON copy, never the other way round.
- Check the first coordinate against a trailhead you know before embedding the map.
- Convert one activity per file so each published route stays clean.
GIS Files & Interoperability: Speaking Every Map Format
GeoJSON, KML, GPX, Shapefiles — what each format is for, how to convert between them without losing data, and how to fix the files that refuse to open. Written for GPX to GeoJSON Track Converter and the everyday mapping tasks around it.
Vector vs. Raster: The Two Tribes
Every map file belongs to one of two families. Vector formats store geometry as math: points with coordinates, lines as point sequences, polygons as closed rings. They scale forever, stay tiny, and carry attributes like names and populations. GeoJSON, KML, and Shapefiles are all vector.
Raster formats store grids of cells, like digital photos. Satellite imagery, scanned paper maps, and elevation models are raster. They capture continuous reality beautifully but balloon in size and pixelate when zoomed. GeoTIFF is the GIS world's raster workhorse.
Choose vector when your data is discrete things — stores, boundaries, routes. Choose raster when it is continuous — imagery, terrain, temperature surfaces. Converting vector to raster is easy (just draw it); going the other way needs tracing, by hand or with image-processing algorithms.
GeoJSON: The Web's Native Tongue
GeoJSON is a map format written as JSON, the same notation web developers use for data. A point looks like this — readable by humans and parseable by every browser with zero libraries. That simplicity made it the default for web maps.
Its structure is small but complete: Feature objects pair geometry with a properties dictionary, and FeatureCollections bundle many features into one file. The properties can hold anything — names, dates, measurements — which makes GeoJSON a fine carrier for analysis results, not just shapes.
GeoJSON has quirks to respect. Coordinates are always longitude-first, which trips up everyone once. It officially supports only the WGS84 datum, so reproject anything else before exporting. And it has no built-in styling — colors and icons live in a separate layer of your application, not in the file.
For big data, look at its cousins: newline-delimited GeoJSON streams features one per line for huge datasets, and FlatGeobuf packs the same model into a fast binary format. But for files under a few megabytes, plain GeoJSON remains unbeatable for simplicity.
This page shows the first two chapters. Read the complete this category field guide →