File Conversion

GeoJSONGML

Convert GeoJSON to GML online

Convert GeoJSON — the open, web-native JSON format read by Leaflet, Mapbox and virtually every modern GIS tool — into Geography Markup Language (GML), which is the OGC XML standard used by INSPIRE and many government open-data portals. Drop your GeoJSON file below, GML is already selected as the output, and download the result. Everything runs in your browser and the cloud; you never install anything.

STEP 01

Upload your file

Drag and drop it into the converter below — no account needed to start.

STEP 02

Convert in the cloud

MapGO detects the format and produces your download in seconds.

STEP 03

Download & keep it

Files are deleted automatically after 48 hours.

Files are deleted automatically after 48 hours. Your files are never shared.

Why convert GeoJSON to GML with MapGO?

Most online converters take one file and hand back one file. MapGO is built on a real geospatial engine, so a single upload can do more:

  • Several outputs in one upload — tick GML and any other formats you need; every selected format is delivered from the same file.
  • Files up to 5 GB — far beyond the browser-based converters that choke past a few hundred megabytes.
  • Reproject while you convert — set a source and target EPSG code and the coordinate system is changed during the conversion, no second tool needed.
  • Private by defaultfiles are deleted automatically after 48 hours.

GeoJSON vs GML at a glance

GeoJSONGML
Typical useWeb maps and APIs (Leaflet, Mapbox, D3); human-readable data in gitGovernment/INSPIRE open-data portals and OGC web services
Size on diskVerbose plain text — the largest of the common formats, but gzips wellVery verbose XML
Attribute supportFlexible JSON properties — nesting and arrays allowedRich, schema-driven attribute definitions
Software supportEvery modern GIS tool and every web mapping libraryGDAL-based GIS tools; rarely opened directly
Web-friendlinessExcellent — the native format of web mappingPoor — convert to GeoJSON or FlatGeobuf first

Other ways to convert GeoJSON to GML

You don't need an online tool for this. If you have GDAL installed, one command does it:

ogr2ogr -f "GML" output.gml input.geojson

In QGIS (free): open your GeoJSON via Layer → Add Layer, then right-click the layer → Export → Save Features As… and pick GML as the format.

The MapGO converter above is for when you don't want to install anything, need to convert to several formats at once, or are handling files too large for a desktop machine — drop the file and download the result.

GeoJSON to GML: frequently asked questions

Is the GeoJSON to GML converter free?

Yes — new accounts get free conversion credits to start, and every paid plan converts unlimited files within its size limit. There is nothing to install; the whole GeoJSON-to-GML conversion runs in the cloud.

Is my data kept private?

Conversion is fully automated and your file is never shared. Files are deleted automatically after 48 hours. Download your GML result and it's yours to keep.

What does the GML output contain?

You get a clean Geography Markup Language (GML) file with your geometry and attributes preserved, ready to open in the tools that read GML.

Does my GeoJSON need to be in WGS84?

The GeoJSON spec (RFC 7946) defines coordinates as WGS84 longitude/latitude, and that is how MapGO reads it by default. If your file uses a different coordinate system, set the source EPSG code in the converter and MapGO applies it before converting.

Which tools open the GML output?

GML is the OGC XML standard used by INSPIRE and government data portals; QGIS and anything GDAL-based opens it. It is verbose by design — if the goal is a web map rather than a compliance deliverable, GeoJSON or FlatGeobuf are the better targets.