Convert CSV to GeoJSON
MapGeoData converts a CSV of latitude/longitude points to GeoJSON right in your browser. Drop in your .csv, see the points on the map, and download a clean .geojson file. It's free, needs no account, and there's nothing to install.
Convert CSV to GeoJSON in your browser
MapGeoData turns a spreadsheet of coordinates into GeoJSON, with no desktop GIS
or scripting. Drop your .csv onto the map, confirm the points land where they
should, and export a single .geojson file. The conversion runs right in your
browser, with no account and nothing to install.
Why convert CSV to GeoJSON
A CSV is easy to make and edit, but it's just a table of numbers until something reads the coordinates as geography. GeoJSON gives those rows real geometry that web maps understand:
- Web-friendly. GeoJSON drops straight into Leaflet, Mapbox, OpenLayers, deck.gl, and most mapping APIs.
- Real points, not just text. Each row becomes a map feature you can style, filter, and click.
- Keeps your table. The other columns ride along as properties, so no data is left behind.
How to convert (3 steps)
- Add your CSV. Drag your
.csvonto the page, or use the Convert a file button if you'd rather not add it to the map. It needs a latitude column and a longitude column. - Preview it. The points render on the map so you can confirm they land in the right place before exporting.
- Export as GeoJSON. Choose GeoJSON from the export options and download the file.
How your columns become points
MapGeoData reads the header row and finds the coordinate columns: a latitude column named latitude, lat, or y, and a longitude column named longitude, lon, lng, long, or x. Each row turns into a point at those coordinates, and every other column in the row becomes a property on that point, keeping the same name. Rows whose coordinates can't be read as numbers are skipped rather than placed at zero. The result is already in WGS84 lon/lat, which is what GeoJSON expects.
When you're ready, you can also send the same data out as a Shapefile ZIP or FlatGeobuf from the same export menu.