CX ConvertX
GML

GML Geographic Markup Language

GML is an XML-based open standard format created by the Open Geospatial Consortium for storing and transporting geographic data.

Open a GML file online

Drop a .gml file to see what is inside — no program to install. The file is read on our server and deleted as soon as the answer is ready.

Reading the file…

Preview

Convert this file

What is GML Geographic Markup Language?

Geography Markup Language (GML) is an XML grammar defined by the Open Geospatial Consortium (OGC) to express geographical features. It serves as a modeling language for geographic systems as well as an open interchange format for internet-based geographic applications. Because it is based on XML, GML data can be easily processed, transformed, and integrated with other web technologies, making it a foundational format in GIS and spatial data infrastructure.

Advantages

  • Open standard maintained by the OGC
  • Human-readable and editable text-based XML structure
  • Supports complex geographic features and geometry types
  • Independent of proprietary software vendors

Limitations

  • Large file sizes compared to binary formats
  • Can be slower to parse for very large datasets
  • High verbosity due to XML tagging

How to open GML Geographic Markup Language files

QGIS ArcGIS Global Mapper Notepad++ GDAL/OGR

Common use cases

  • Sharing spatial data across web services and spatial data infrastructures
  • Storing vector geospatial data in open archives
  • Interchanging GIS datasets between different applications using converters like shp-to-gml or geojson-to-gml
  • Publishing geographic information in OGC-compliant Web Feature Services (WFS)

Explore other formats

Frequently asked questions

GML stands for Geography Markup Language, an XML-based standard for geographic data exchange.
You can open GML files using GIS software such as QGIS and ArcGIS, or view the raw XML code in a text editor like Notepad++.
Yes, you can easily convert vector formats like SHP or GeoJSON to GML using conversion tools like ConvertX.