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:

How to convert (3 steps)

  1. Add your CSV. Drag your .csv onto 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.
  2. Preview it. The points render on the map so you can confirm they land in the right place before exporting.
  3. 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.

Frequently asked questions

Which columns does it use for the coordinates?

MapGeoData looks for a latitude column (latitude, lat, or y) and a longitude column (longitude, lon, lng, long, or x). Each row becomes a point at those coordinates.

Do I need to install anything or sign up?

No. The conversion runs in your browser, so there's nothing to install and no account to create. MapGeoData sets no tracking cookies and never sells or shares your data.

Do my other columns carry over?

Yes. Every other column in the row becomes a property on the GeoJSON point, so the rest of your data comes along with the coordinates.

What if a row has no valid coordinates?

Rows whose latitude or longitude can't be read as a number are skipped, so a stray blank or header line won't break the conversion.

Does it handle tabs or semicolons, not just commas?

Yes. MapGeoData detects the delimiter, so comma, tab, and semicolon-separated files all work.

Is there a file-size limit?

Files up to 128MB convert in your browser. Larger files still work, using a temporary server to help process them.