Free · No signup · GDAL-powered

Convert KML to GML Online — Free & Instant

Converting KML from Google Earth to GML makes the data compatible with OGC-standard services, government data portals, and enterprise GIS infrastructure. GML is the XML encoding required by WFS services and the EU INSPIRE directive. Maparz converts your KML or KMZ file to standards-compliant GML in one step.

Advertisement (728×90)

File converter

When to convert KML to GML

  • Submitting Google Earth KML data to government portals requiring GML
  • Converting KML boundaries to GML for WFS service integration
  • Preparing KML survey data for INSPIRE-compliant publication

How to convert KML to GML

  1. 1

    Upload your KML or KMZ

    Drop a .kml or .kmz file on the upload zone.

  2. 2

    Select GML

    Click GML in the format selector.

  3. 3

    Download the GML

    Load into GeoServer, QGIS, or submit to your GML-accepting system.

About KML

Keyhole Markup Language (KML) is an XML-based format developed for Google Earth and now maintained by the OGC. It is widely used in Google Maps, Google Earth, and many consumer-facing mapping applications. KML supports styled geometry, network links, folders, and time-based animations. It always uses geographic coordinates (WGS 84) and is stored as plain XML text. KMZ is simply a ZIP-compressed KML file, which can also include embedded images and other resources.

Strengths

  • +Native in Google Earth and Google Maps
  • +Supports rich styling and labels
  • +Human-readable XML

About GML

Geography Markup Language (GML) is an XML-based OGC standard for encoding geographic features. It is the mandatory format for the EU INSPIRE directive and is commonly used in Web Feature Services (WFS) to deliver geospatial data over the web. GML files are highly interoperable across GIS platforms and are natively supported by GDAL, QGIS, ArcGIS, and GeoServer. GML can represent complex geometries, coordinate reference systems, and rich attribute schemas, making it the format of choice for authoritative government and infrastructure datasets.

Strengths

  • +OGC standard — maximum interoperability
  • +Mandatory for EU INSPIRE datasets
  • +Supports complex geometries and CRS metadata
  • +Native support in QGIS, ArcGIS, and GeoServer

Frequently asked questions

Q.Does the output GML preserve KML attribute data?

Yes. KML placemark names and description attributes are preserved as GML feature properties.

Q.Can I convert a KMZ file?

Yes. Both .kml and .kmz files are accepted and converted to GML automatically.

Related conversions