Convert gpx to geojson

Free online GPX to GEOJSON converter

Convert GPX GPS data into GeoJSON for mapping, GIS, and web use.

Convert GPX to GEOJSON online - free

Uploading…
Selected files exceed the 75 MB total limit. Please select fewer or smaller files.

Your file is processed instantly and never stored on our servers.

How it works

  1. 1/3

    Upload your .gpx file

    Click to browse to select your file you want to convert or simply drag & drop your file into selected area.

  2. 2/3

    Perform .gpx to .geojson conversion

    After successful file upload, click to convert when you are ready.

  3. 3/3

    Download converted .geojson file

    Conversion result is ready to download.

How to convert gpx to geojson file

101convert.com Assistant Avatar

101convert.com assistant bot
3mos

GPX is an XML-based format used to store GPS data such as waypoints, routes, and tracks. GeoJSON is a JSON-based geospatial format designed for representing geographic features, commonly used in web mapping and GIS applications. Converting GPX to GeoJSON makes GPS data easier to use in modern mapping tools, web apps, and spatial analysis workflows.

Why convert GPX to GeoJSON

GPX files are excellent for recording navigation data, but they are not always the best choice for web development or GIS platforms. GeoJSON is widely supported by mapping libraries and can be read directly by many browsers, APIs, and spatial databases. This conversion is useful when you want to visualize tracks on interactive maps, combine GPS data with other geographic layers, or process location data in JavaScript-based applications.

What changes during conversion

During conversion, GPX elements such as waypoints, routes, and tracks are transformed into GeoJSON Feature objects. Track points usually become LineString geometries, while waypoints are often converted into Point features. Some GPX metadata may not transfer perfectly, so it is important to check whether your converter preserves names, timestamps, elevation, and other attributes.

Best software for GPX to GeoJSON conversion

QGIS is one of the best free tools for this task because it supports both GPX and GeoJSON and gives you control over layers and export settings. Open the GPX file in QGIS, then use Layer → Export → Save Features As... and choose GeoJSON as the output format. For command-line workflows, GDAL/OGR is also an excellent choice because it is fast, reliable, and suitable for batch conversion.

How to convert with QGIS

  1. Open QGIS and load the GPX file.
  2. Select the layer you want to export, such as tracks or waypoints.
  3. Choose Layer → Export → Save Features As....
  4. Set the format to GeoJSON.
  5. Pick the output location and confirm the coordinate reference system if needed.
  6. Click OK to create the GeoJSON file.

How to convert with GDAL/OGR

If you prefer a command-line method, use ogr2ogr. A typical command looks like this:

ogr2ogr -f GeoJSON output.geojson input.gpx

This method is ideal for automation, scripting, and converting multiple files at once. It is also a good option when you need consistent results across large datasets.

Things to check after conversion

After converting, verify that the geometry type is correct and that important attributes were preserved. Check whether the coordinate order is valid, the map displays properly, and the file includes all expected features. If your GPX contains multiple layers, you may need to export them separately or merge them depending on your workflow.

Recommended converter

Best overall choice: QGIS for a visual workflow and GDAL/OGR for command-line conversion. If you need a simple online converter, choose one that clearly supports GPX tracks and preserves feature properties, but for accuracy and control, desktop tools are usually better.

Summary

Converting GPX to GeoJSON is a practical way to make GPS data more usable in mapping and GIS environments. QGIS is the best option for most users, while GDAL/OGR is ideal for advanced or automated workflows.


Note: This gpx to geojson conversion record is incomplete, must be verified, and may contain inaccuracies. Please vote below whether you found this information helpful or not.

Was this information helpful?

GPX vs GEOJSON: format comparison

How the GPX and GEOJSON formats compare on the properties that matter most for this conversion.

Comparison of the GPX and GEOJSON file formats
Property .GPX Guitar Pro 6+ score file .GEOJSON GeoJSON
Data model Both Both
Attribute table Yes Yes
Coordinate system Embedded in the file Separate file
Plain-text readable Yes Yes
Operating system support Wide Wide
Typical file size Medium Medium
Open standard No Yes
Introduced 2009 2008
Developer Arobas Music GeoJSON working group / Internet community
MIME type application/gpx+xml application/geo+json

Frequently asked questions

Is the GPX to GEOJSON converter free?

Yes, converting GPX to GEOJSON on 101convert.com is completely free. No registration, email address or installation is required. If you need a higher file size limit or want to convert more files at once, see our plans.

How large can my GPX file be?

You can upload GPX files up to 250 MB and convert up to 50 files at once in a single batch.

What happens to my uploaded files?

Files are processed automatically and deleted from our servers within a few minutes after conversion. We never view or share your files.

Do I need to install any software to convert GPX to GEOJSON?

No. The GPX to GEOJSON conversion runs entirely online in your browser and works on Windows, Mac, Linux, Android and iPhone.

Did the conversion fail?

In most cases, the cause is an incorrect file format. Please upload a valid GPX file for this GPX to GEOJSON conversion. Occasionally, the issue may be on our side. We analyze recurring conversion failures and disable or fix the converter if we detect a defect.

Additional formats for
gpx file conversion

Reverse conversion

Convert to geojson from
other formats

Share on social media: