GeoJSON to GML Converter
Converts a GeoJSON file to GML 3.2 with schema (.xsd) using GDAL's ogr2ogr.
Upload a .geojson or .json file. GDAL writes GML 3.2 and an application schema; both come in one ZIP. The coordinate system is kept.
Drag a file here to convert, or select file
Accepted: .geojson, .json · max. 50 MB
What the converter does
- GDAL writes GML 3.2 (namespace http://www.opengis.net/gml/3.2) plus an XML schema. The download is a ZIP with converted.gml and converted.xsd.
- The coordinate system is written as srsName (e.g. urn:ogc:def:crs:EPSG::4326). GDAL adds the field gml_id.
- Lists stay lists in GML.
- The report below the upload shows layers and features read and written, skipped layers with the reason, GDAL's warnings and the exact commands.
GDAL command the worker runs
Tested with
| Test file | Result |
|---|---|
| 4 points with 10 properties including a list | ZIP with converted.gml and converted.xsd; 4 of 4; EPSG:4326; list field kept |
Tested on 24 Sep 2026 with the worker code of this site and GDAL 3.10.3 (conda-forge build on Windows). The worker image runs the Debian build of the same GDAL version; the live worker was not part of these tests.
Limits
- Upload limit: 50 MB per file.
- Each GDAL step may run for up to 240 seconds; a longer run is stopped with an error message.
Frequently Asked Questions
Why is there an .xsd file?
GDAL describes the feature type and its fields in an XML schema and references it from the .gml file. Keep both files together.
What happens to my file?
Your browser uploads it directly to the GDAL worker on Fly.io (region Frankfurt). The worker converts it in a temporary folder and deletes the folder after sending the result, or immediately if the conversion fails. Files are not stored permanently.