Convert CSV to GeoJSON

Convert a CSV of coordinates to GeoJSON, in your browser.

Output (GeoJSON)
{
  "type": "FeatureCollection",
  "features": [
    {
      "type": "Feature",
      "geometry": {
        "type": "Point",
        "coordinates": [
          -122.4194,
          37.7749
        ]
      },
      "properties": {
        "name": "City Hall"
      }
    }
  ]
}

Runs entirely in your browser - nothing is sent to a server.

Related tools

How it works

  1. 1

    Paste your CSV

    A header row with lat/lon columns (or a wkt/geometry column).

  2. 2

    Copy the GeoJSON

    Ready to drop into any web map.

FAQ

What column names are recognized for coordinates?
lat/latitude/y and lon/lng/long/longitude for points, or wkt/geometry/geom for other shapes - matched case-insensitively.
What happens to the other columns?
Every other column becomes a GeoJSON feature property, unchanged.