CSV to GeoJSON Converter
Convert CSV with latitude/longitude columns into GeoJSON FeatureCollection in your browser. Geometry validation, delimiter auto-detect, property mapping, and .geojson download β free, no upload.
Loading tool...
What is CSV to GeoJSON Converter?
A CSV to GeoJSON converter turns delimited spreadsheet data that contains latitude and longitude columns into a GeoJSON FeatureCollection of Point features β the standard format used by Leaflet, Mapbox, QGIS, and most mapping APIs. This version runs entirely in your browser with delimiter auto-detection, coordinate validation, and property mapping.
Key Benefits
- Web-map ready output in seconds β no GIS software or account required
- Validates every row so broken coordinates never reach your map
- Handles comma, semicolon, tab, and pipe delimited files automatically
- Keeps all other CSV columns as feature properties for popups and styling
- Fully client-side: sensitive location data never leaves your device
Common Use Cases
- β’Plotting store, branch, or ATM locations from a spreadsheet on an interactive map
- β’Converting GPS survey exports or field-data logs into map-ready GeoJSON
- β’Feeding CSV exports from Google Sheets or Excel into Leaflet or Mapbox projects
- β’Preparing Point datasets for geojson.io, QGIS, or a geocoding QA review
How to Convert CSV to GeoJSON
- Paste or upload your CSV: Paste delimited text into the input box, upload a .csv file, or click Sample to try the demo data with city coordinates.
- Pick the lat/lng columns: Enter your latitude and longitude column names (defaults: lat and lng). Auto-detect usually finds the delimiter; untick it for semicolon or tab files if needed.
- Review the stats: Check the feature count and skipped count. Any row with missing or non-numeric coordinates is skipped so the output always contains valid geometry.
- Copy or download: Copy the GeoJSON to your clipboard or download it as a .geojson file, ready for Leaflet, Mapbox, QGIS, or geojson.io.
Key Features
- Converts CSV, TSV, semicolon, and pipe-delimited files into GeoJSON Point features
- Auto-detects the delimiter with manual override for tricky files
- Configurable latitude and longitude column names (lat/lng, latitude/longitude, y/x)
- Geometry validation counts skipped rows instead of silently emitting broken features
- Maps coordinates into GeoJSON position order (longitude first) per RFC 7946
- Keeps remaining CSV columns as feature properties, pretty-printed or compact