View GML files in your browser
The OGC's XML for map features, from web feature services, land registries and mapping agencies. Open a GML right here on a map. The file never leaves your device.
Or drop it anywhere on this page
What you'll see
Your file opens on a map, framed to fit, its layers drawn over OpenStreetMap's streets and what it holds listed beside it.
- OpenStreetMap, dark or light • Flat or a globe
- Every layer and feature in a list • Search their names and fields
- Click a feature for its fields • Measure distances
- Export • PNG, GeoJSON, GPX, KML and CSV
About GML
The Open Geospatial Consortium published the Geography Markup Language in 2000 as XML for features and their shapes. Web Feature Services answer in it, and land registries, cadastres and Europe's INSPIRE datasets hand out data in it.
A GML holds features of types its schema defines, each with its fields and its shape, points, lines, polygons or several of them, with coordinates in the system its srsName names, often as an EPSG code.
Filepeek reads GML 2 and GML 3 in your browser and draws each feature type as a layer over OpenStreetMap, moved into longitude and latitude, latitude first where EPSG says so. Click a feature for its fields and save the features as GeoJSON, KML, GPX or CSV.
Geography Markup Language
.gml
Format
- MIME type
- application/gml+xml
- Made by
- The Open Geospatial Consortium
- Released
- 2000
Inside the file
- Holds
- Features with fields and shapes
- Shapes
- Points, lines and polygons
- System
- Named by srsName
- Built on
- XML
Opens in every browser
Filepeek opens GML files on a map in Chrome, Edge, Firefox and Safari. On their own, browsers download them.
- YouChromeOpens through Filepeek
- YouEdgeOpens through Filepeek
- YouFirefoxOpens through Filepeek
- YouSafariOpens through Filepeek
Apps that open GML
- WindowsQGIS and ArcGIS Pro
- MacQGIS
- iPhone and iPadNo app opens it
- AndroidNo app opens it
Questions
How do I open a GML file?
Drop it on this page or choose Peek a GML. Each feature type opens as a layer on the map.
Which coordinate systems does it read?
Longitude and latitude, Web Mercator, UTM zones and the national grids maps are most often made in, named by an EPSG code. A system Filepeek doesn't know says so.
Can I convert GML to GeoJSON?
Yes. Open it, choose Export, then Save the features as GeoJSON, KML, GPX or CSV.
Does a GML named .xml open on the map?
Yes, when its namespace is GML's. Other XML opens in the data viewer.