How to open a .GML file online
From file to map in seconds.
Open your .GML file
Drag it onto the box or click to choose it from your device. It opens on your computer.
See it on the map
Points, lines and areas from your .GML file appear on an interactive map. Click any feature to read its details.
Read the stats
Check distance, elevation gain and loss, the bounding box and a height profile linked to the map.
What is a .GML file?
The common language of GPS devices.
A .gml file is a Geography Markup Language file, an XML format defined by the Open Geospatial Consortium (OGC) for storing map and GIS data such as points, lines, polygons, and coordinate reference systems. Open it with the free QGIS desktop app, or read the raw XML in any text editor. The most common task is converting GML to Shapefile or GeoJSON, which QGIS and the command-line tool ogr2ogr both handle.
Programs that open .GML files
| Full name | Geography Markup Language |
|---|---|
| Developer | Open Geospatial Consortium (OGC) |
| First released | 2000 (OGC); also published as ISO 19136 |
| Category | Maps & GIS |
| MIME type | application/gml+xml |
Related viewers
More free tools for your files.
Is my .GML file uploaded anywhere?
No. Your .GML file is read by your browser and never sent to us. Only the background map tiles are loaded from OpenStreetMap, which sees which map area you're looking at, not your data.
How is the elevation gain calculated?
We add up every climb between track points, ignoring tiny wiggles of less than 3 metres that come from GPS noise. That's close to what Strava and Garmin report; barometric devices may differ slightly.
How do I open a Shapefile?
A Shapefile is several files. Drop the whole .zip, or select the .shp, .dbf and .prj files together. With only the .shp you'll see the shapes but no attributes.
Can I convert GPX to KML or GeoJSON?
Use Export GeoJSON to save everything you see. GPX ↔ KML conversion is part of our upcoming converter.
My CSV has coordinates. Will it work?
Yes, if it has columns named like lat/latitude/y and lon/lng/longitude/x. Every row becomes a point with the other columns as properties.
Was this tool helpful?
Your rating helps us decide which tools to improve next.