GML Validator
Checks whether GDAL can read a GML file and lists its feature types.
Upload a .gml file. GDAL reads each feature type as a layer and takes the coordinate system from srsName. The validator shows geometry type, number of features, coordinate system, bounding box and fields per layer. It does not validate the file against an XML schema.
Drag file here to validate, or select file
Supported: .gml • Max 50 MB
What We Validate
- Whether GDAL (ogrinfo) can open the file with the GML driver. If not, GDAL's error messages are shown.
- For every layer: name, geometry type, number of features, coordinate system (EPSG code if GDAL can identify it), bounding box and field list.
- Warnings that GDAL prints while reading the file.
Tested Examples
- GML with 2 Gebaeude polygons and 1 Baum point → valid, 2 layers, both EPSG:25832
Examples tested on 24 Sep 2026 with the worker code of this site and GDAL 3.10.3 (conda-forge build on Windows); the live worker was not part of these tests.
Frequently Asked Questions
Is the GML validated against its XML schema?
No. The validator reports whether and how GDAL reads the file. A schema check (XSD) is not part of it.
Can I check ALKIS NAS files here?
Only .gml files are accepted. ALKIS NAS files (.xml) can be converted with the ALKIS NAS to GeoPackage converter, whose report lists layers and GDAL messages.
What does the validator not check?
It does not test geometries for validity (self-intersections, ring orientation or closure), does not validate against XML or JSON schemas and does not look at attribute values. It reports what GDAL reads from the file.
What happens to my file?
Your browser uploads it directly to the GDAL worker on Fly.io (region Frankfurt). The worker checks it in a temporary folder and deletes the folder as soon as the check is done. Upload limit: 50 MB.