csvkit.org
CSV (Comma-Separated Values) utilities, in the browser
Say hi →

GeoJSON to CSV

one row per feature · lat/lon columns · flattened properties · other geometries preserved

Flatten a GeoJSON FeatureCollection into a table. Each feature becomes a row: its properties become columns, and a Point's coordinates become latitude and longitude columns you can sort, filter, or load into a spreadsheet. Lines and polygons keep their coordinates as JSON in a single column, so nothing is silently lost.

geojson → csv
Or drop a .geojson file here, or
ready

How to convert GeoJSON to CSV

  1. Paste the GeoJSON or drop a .geojson file. A FeatureCollection, a single Feature, or a bare geometry all work.
  2. Rename the coordinate columns if your target expects lat/lng rather than latitude/longitude.
  3. Leave flattening on so nested properties become parent.child columns instead of raw JSON.
  4. Copy or download the CSV.

What each geometry type becomes

Column order and missing properties

Features in the same file often have different property sets. The column list is the union of every property seen across all features, in first-appearance order, and features lacking one get an empty cell — so the CSV is rectangular even when the source isn't. Coordinate columns are appended after the properties.

FAQ

Can I get polygon centroids instead of raw JSON?

Not here — that needs real geometry maths. Compute centroids in QGIS or with turf.js first, then convert the resulting points.

Does it read TopoJSON or KML?

No, GeoJSON only. Convert those to GeoJSON first.

How do I go back the other way?

CSV to GeoJSON builds Point features from latitude and longitude columns.

Is anything uploaded?

No — it runs in your browser.

Need more GeoJSON tooling? geojsonkit.org is the sibling site for viewing and validating it.

Privacy

100% client-side. No upload. See the privacy policy.