CSV to GeoJSON Converter: a practical guide
You have a CSV and you need a GeoJSON, perhaps for web maps. Converting CSV to GeoJSON sounds like a one-click job, and here it is. The catch is that many converters drop properties, swap latitude and longitude, or need a GIS install. This one gives you map data moved between formats with geometry and properties intact.
Searching for Excel to GeoJSON lands you here too. The steps are short: drop your CSV into the box above, check the result, and download a GeoJSON when it looks right.
CSV and GeoJSON: what changes
- CSV: Rows of values separated by commas, the lowest common denominator of data. No types, no formatting, and quoting and encodings vary between programs.
- GeoJSON: Map features (points, lines, polygons) and their properties in plain JSON. Readable, web-native and the default format of Leaflet, Mapbox and most map libraries.
How the CSV to GeoJSON converter works
A CSV is read in your browser with its geometry and properties, and drawn on a map so you can check it landed in the right place.
It is written as a GeoJSON, keeping the attributes each feature carries.
What the GeoJSON is used for
- Web maps
- Sharing boundaries and routes
- Data journalism
What makes this CSV to GeoJSON converter different
- See it on a map. Check the data before you download.
- Properties kept. Names and attributes travel with the shapes.
- Nothing uploaded. Location data stays private.
Tips for the best GeoJSON
- If points appear in the wrong country, the source may have latitude and longitude the other way round.
- Shapefiles need their .shp.dbf and .prj together; zip them up before uploading.
On the blog: How to Convert CSV to GeoJSON Free, Step by Step