GEOO.APP

GML to GeoJSON

Convert GML to GeoJSON online for free — right in your browser. No upload, no sign-up, batch conversion, coordinate systems and attributes preserved.

Features

Fast Conversion

Efficiently convert from GML to GEOJSON format

Data Security

All processing is done locally in your browser

Standard Format

Output standard GEOJSON format

gml to geojson

Convert gml to geojson online for free — right in your browser. No upload, no sign-up, batch conversion, coordinate systems and attributes preserved.

Drag and drop files or folders, or click to upload

Related Tools

About

GML

GML (Geography Markup Language) is an XML-based geospatial data encoding standard defined by the Open Geospatial Consortium (OGC). GML provides rich geospatial data modeling capabilities, supporting complex geometry types, topology, coordinate reference systems, and spatiotemporal data. GML is widely used in European and government sectors, often for national spatial data infrastructures (SDI).

GeoJSON

GeoJSON is a geospatial data interchange format based on JSON. It can represent Point, LineString, Polygon, MultiPoint, MultiLineString, MultiPolygon, and GeometryCollection geometries. Defined by RFC 7946, GeoJSON has become one of the most popular data exchange formats in web GIS. GeoJSON files use WGS84 coordinates and support Feature objects with associated properties and FeatureCollections for organizing multiple features.

Conversion trade-offs

GML: limitations to know

  • Complex format, large files, high parsing overhead
  • Limited interoperability between different GML application schemas
  • Limited web application support, not suitable for online maps

GeoJSON: what you gain

  • Human-readable, easy to manually edit and debug
  • Supported by virtually all GIS software and mapping libraries
  • Naturally suited for web applications and API data transmission

Why convert GML to GeoJSON?

GML is the XML dialect of the OGC world: national mapping agencies, INSPIRE portals, and WFS services deliver it. It is verbose, namespace-heavy, and unreadable by web mapping libraries. Converting GML to GeoJSON turns OGC data into the JSON every modern tool accepts — features keep their geometry, attributes, and CRS metadata — making it the standard bridge from official geodata infrastructures to web maps and data science.

Frequently asked questions

Can I paste a raw WFS response?

Yes — the converter accepts GML documents including GetFeature responses, not just clean feature collections.

Are complex/nested attributes handled?

Nested XML attributes are flattened into dot-notation properties so tabular tools can still read them.

Which GML versions are supported?

GML 2, 3.1, and 3.2 geometries are supported, including the common posList coordinate encodings.

GeoJSON at a glance

Key Features

  • Based on standard JSON, natively supported by all programming languages
  • Supports multiple geometry types: Point, LineString, Polygon, MultiPolygon, etc.
  • Can carry attribute data and supports FeatureCollection for batch organizing features

Common Use Cases

  • Data exchange for web maps and online mapping services
  • Geospatial data storage and display in mobile applications
  • Sharing and transporting GIS data across platforms

How to Use

  1. 1

    Upload your GML file — drag and drop it onto the page, or browse from your device. You can add several files at once for batch conversion.

  2. 2

    The conversion runs automatically in your browser. No upload, no server — your data stays on your device the entire time.

  3. 3

    Download the GeoJSON file. Each input produces its own output, ready to use in your GIS, web map, or archive.