Convert CSV to GML Online — Free & Instant
Converting CSV point data to GML makes spreadsheet-based location data compatible with OGC WFS services and government data portals. Each CSV row with coordinates becomes a GML feature. Maparz detects latitude and longitude columns automatically.
File converter
When to convert CSV to GML
- Publishing spreadsheet location data as GML for WFS service integration
- Converting survey point CSVs to GML for government data submission
How to convert CSV to GML
- 1
Prepare your CSV
Ensure lat/lon columns are present (lat, latitude, y / lon, lng, longitude, x).
- 2
Upload and select GML
Drop your .csv file and click GML in the format panel.
- 3
Download the GML
Each CSV row becomes a GML point feature.
About CSV
CSV (Comma-Separated Values) files containing geometry data typically include latitude and longitude columns (or X/Y columns for projected data). Many data providers distribute point datasets as CSV because they are easy to open in Excel, Python, and R. When converting from a vector format to CSV, Maparz outputs an X (longitude) and Y (latitude) column along with all attribute data. To convert CSV to GeoJSON, your file must have columns identifiable as longitude (x, lon, lng, longitude) and latitude (y, lat, latitude).
Strengths
- +Opens in Excel, Google Sheets, any spreadsheet
- +Human-readable and editable
- +Lightweight for point data
About GML
Geography Markup Language (GML) is an XML-based OGC standard for encoding geographic features. It is the mandatory format for the EU INSPIRE directive and is commonly used in Web Feature Services (WFS) to deliver geospatial data over the web. GML files are highly interoperable across GIS platforms and are natively supported by GDAL, QGIS, ArcGIS, and GeoServer. GML can represent complex geometries, coordinate reference systems, and rich attribute schemas, making it the format of choice for authoritative government and infrastructure datasets.
Strengths
- +OGC standard — maximum interoperability
- +Mandatory for EU INSPIRE datasets
- +Supports complex geometries and CRS metadata
- +Native support in QGIS, ArcGIS, and GeoServer
Frequently asked questions
Q.Which column names are recognised as coordinates?
Latitude: lat, latitude, y. Longitude: lon, lng, longitude, x. Case-insensitive.