GeoJSON to CSV Converter
Paste a FeatureCollection, Feature, or geometry and get a spreadsheet-ready CSV. Keep geometry as WKT, longitude/latitude columns, both, or properties only.
About this tool
GeoJSON is great for maps, but a spreadsheet or BI tool often wants one row per
feature. This converter flattens a GeoJSON FeatureCollection, a single Feature,
a bare geometry, or an array of those into CSV:
- every
propertieskey becomes a column, using the union of keys across all features in first-seen order; - missing property values are blank;
- geometry can be emitted as a 2-D WKT
geometrycolumn,longitude/latitudecolumns from the first coordinate, both, or omitted; - nested properties can stay as compact JSON text or expand to dot-notated columns
such as
address.cityandtags.0.
All conversion runs locally in your browser.
Worked example
Input:
{"type":"FeatureCollection","features":[
{"type":"Feature","properties":{"name":"Alpha","pop":1200},"geometry":{"type":"Point","coordinates":[-105,40]}},
{"type":"Feature","properties":{"name":"Beta","pop":800},"geometry":{"type":"Point","coordinates":[-106.5,41.25]}}
]}
With the default geometry = wkt, the output is:
name,pop,geometry
Alpha,1200,POINT (-105 40)
Beta,800,POINT (-106.5 41.25)
Set geometry = lonlat if your spreadsheet wants coordinate columns instead.
FAQ
What GeoJSON inputs are accepted?
You can paste a FeatureCollection, a single Feature, a bare geometry such as a
Point or Polygon, or a top-level array of features/geometries. A bare geometry
has no properties, so the CSV contains only geometry columns unless you choose
geometry = none (which would leave nothing to output).
How are geometry coordinates represented?
geometry = wkt writes one geometry column as Well-Known Text, which works for
points, lines, polygons, multi-geometries, and geometry collections. geometry = lonlat writes the first coordinate as longitude and latitude; for lines and
polygons this is the first vertex. both emits both representations.
What happens to nested properties?
By default, nested objects and arrays stay in a single cell as compact JSON so no
information is lost. Choose nested = flatten to expand them into dot-notated leaf
columns, for example address.city or tags.0.
Does this reproject coordinates?
No. GeoJSON coordinates are used exactly as provided, normally [longitude, latitude] in WGS84. Reprojection, simplification, topology repair, and format
exports such as Shapefile/GeoPackage are GIS processing tasks outside this small
CSV flattener.
Developer & Automation Access
Run it from the terminal
Same engine as this page, headless — via the gizza CLI:
gizza tool geojson-to-csv '{"type":"FeatureCollection","features":[{"type":"Feature","properties":{"name":"Alpha","pop":1200},"geometry":{"type":"Point","coordinates":[-105,40]}}]}'New to the CLI? Get gizza →
Open it by URL
Pre-fill and auto-run this tool with query parameters — the names match the API/CLI:
https://gizza.ai/tools/geojson-to-csv/?geojson=%7B%22type%22%3A%22FeatureCollection%22%2C%22features%22%3A%5B%7B%22type%22%3A%22Feature%22%2C%22properties%22%3A%7B%22name%22%3A%22Alpha%22%2C%22pop%22%3A1200%7D%2C%22geometry%22%3A%7B%22type%22%3A%22Point%22%2C%22coordinates%22%3A%5B-105%2C40%5D%7D%7D%5D%7D&geometry=wkt&nested=json&delimiter=comma&header=trueMachine-readable descriptor: tool.json — title + parameters JSON Schema for agents.
