Convert GML to GeoJSON online for free — right in your browser. No upload, no sign-up, batch conversion, coordinate systems and attributes preserved.
Efficiently convert from GML to GEOJSON format
All processing is done locally in your browser
Output standard GEOJSON format
Convert gml to geojson online for free — right in your browser. No upload, no sign-up, batch conversion, coordinate systems and attributes preserved.
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 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.
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.
Yes — the converter accepts GML documents including GetFeature responses, not just clean feature collections.
Nested XML attributes are flattened into dot-notation properties so tabular tools can still read them.
GML 2, 3.1, and 3.2 geometries are supported, including the common posList coordinate encodings.
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.
The conversion runs automatically in your browser. No upload, no server — your data stays on your device the entire time.
Download the GeoJSON file. Each input produces its own output, ready to use in your GIS, web map, or archive.