OpenStreetMap to GPX
Convert OpenStreetMap files to GPX format
🔒 All processing happens locally in your browser. Your files never leave your device.
About OpenStreetMap
OpenStreetMap (.osm) is the native XML format of the OpenStreetMap project. It stores nodes, ways, and relations with their associated tags, representing the full OSM data model. OSM data is also distributed in the binary PBF format (.osm.pbf) for more efficient storage and processing.
You might convert from OpenStreetMap format when you need to bring OSM data into a conventional GIS as point, line, or polygon features, when performing spatial analysis that requires standard vector format inputs, or when sharing OSM-sourced data with tools that do not have native OSM support.
Frequently asked questions
What geometry types are extracted from an OSM file?
The converter produces separate layers for points (nodes with tags), lines (open ways), and polygons (closed ways and multipolygon relations). You can select which layer to export in the output.
Is PBF format supported?
Yes — the OSM driver supports both .osm (XML) and .osm.pbf (binary) files. Upload either format directly.
How large can OSM files be for browser-based conversion?
Processing is done client-side using WebAssembly. Very large OSM files such as full country extracts of several gigabytes may exhaust browser memory. For large datasets, consider using osmosis or osmium-tool on the command line instead.
More OpenStreetMap Conversions
Convert OpenStreetMap files to other popular formats
to GeoJSON
.geojson
to KML
.kml
to Shapefile
.zip
to CSV
.csv
to GeoPackage
.gpkg
to FlatGeobuf
.fgb
to JSON-FG
.json
to MVT
.mvt
to PostgreSQL Dump
.sql
to PMTiles
.pmtiles
to MBTiles
.mbtiles
to DXF
.dxf
to PDF
to GML
.gml
to Excel (XLSX)
.xlsx
to OpenDocument Spreadsheet
.ods
to GeoRSS
.xml
to MapInfo TAB
.tab
to File Geodatabase
.gdb.zip
to SpatiaLite
.sqlite
to GeoJSON Sequences
.geojsonl
to DGN (Microstation)
.dgn
to S57 Nautical Charts
.000
Convert to GPX From Other Formats
Convert other geospatial formats to GPX
from GeoJSON
.geojson
from KML
.kml
from Shapefile
.zip
from CSV
.csv
from GeoPackage
.gpkg
from FlatGeobuf
.fgb
from JSON-FG
.json
from MVT
.mvt
from PMTiles
.pmtiles
from MBTiles
.mbtiles
from DXF
.dxf
from TopoJSON
.topojson
from GML
.gml
from Excel (XLSX)
.xlsx
from OpenDocument Spreadsheet
.ods
from SVG
.svg
from GeoRSS
.xml
from MapInfo TAB
.tab
from File Geodatabase
.gdb.zip
from SpatiaLite
.sqlite
from Esri JSON
.json
from GeoJSON Sequences
.geojsonl
from DGN (Microstation)
.dgn
from S57 Nautical Charts
.000
Visualize Your Data
View your geospatial files on an interactive map
Coordinate Conversion Tools
Convert between different coordinate systems