GPX waypoint extractor
Extract waypoint and optional route or track coordinates from bounded GPX text as CSV.
How it works & useful details
How it works & limits
Extracts GPX <wpt> elements and, when selected, route and track points into a CSV download. Names, descriptions, elevation and time are included when simple text content is present.
Limit: 500,000 characters and 5,000 points. DOCTYPE and entity declarations and external references are rejected; no map, elevation or linked GPX content is loaded.
Private local calculation
Coordinates and pasted data stay in this browser tab. These tools use no map tiles, geocoding, routing, elevation data or network requests.
About this tool
GPX waypoint extractor pulls waypoint coordinates out of a GPX file and can include route and track points, exporting everything as CSV. It is useful for turning GPS data into a spreadsheet or importing coordinates into another mapping tool.
The GPX text is parsed locally and no device or GPS connection is involved. You choose which point types to include so the CSV matches what you need.
How to use it
- Paste or select the GPX file contents.
- Choose whether to include waypoints, routes, and track points.
- Preview the extracted coordinate list.
- Download the CSV for your spreadsheet or map.
Worked example
A GPX file with two waypoints, London with an elevation of 11 m and New York without one, becomes this CSV:
Type,Name,Latitude,Longitude,Elevation,Time,Description
Waypoint,London,51.5074,-0.1278,11,,
Waypoint,New York,40.7128,-74.006,,,Missing values stay empty instead of being filled with zeros, so an absent elevation cannot be mistaken for sea level.
Waypoints, routes, and tracks
GPX files can hold three kinds of points. Waypoints (<wpt>) are named places such as a campsite or summit. Route points (<rtept>) are planned turning points. Track points (<trkpt>) are the breadcrumb trail a GPS device records, often one point every second or few seconds. By default only waypoints are extracted. Turn on the option to include route and track points, for example to analyse a recorded hike in a spreadsheet.
The CSV opens directly in Excel, Google Sheets, or LibreOffice, and many mapping tools can import it back as points. Recorded tracks can contain thousands of points, and the extractor handles up to 5,000.
Frequently asked questions
What columns does the CSV contain?
Coordinates, names where the GPX provides them, and point-type information so you can filter in your spreadsheet.
Is elevation included?
Elevation is included when the GPX source provides it for a point; otherwise the field is left empty.
What is the limit?
Up to 500,000 characters of GPX text per extraction.
Why was my GPX file rejected?
Files with DOCTYPE or entity declarations are rejected for safety, as are files over 500,000 characters or 5,000 points. Exports from common GPS apps and devices do not use those features.
