CConvertCSV

Browser-based CSV converter

CSV to GeoJSON Converter

Convert CSV latitude and longitude rows into GeoJSON features. Paste CSV, upload a file, preview the output, then copy or download the converted result.

Input

Paste CSV or upload a CSV file

Output Preview

GeoJSON

Convert your input to preview the output here.

CSV to GeoJSON Converter

If you have latitude and longitude columns in a spreadsheet, this converter builds a GeoJSON FeatureCollection that you can load into mapping tools, GIS software, or web mapping libraries like Leaflet and Mapbox.

About the CSV with latitude and longitude columns to GeoJSON format

The converter looks for columns named latitude/lat and longitude/lng/lon. Each row becomes a GeoJSON Feature with a Point geometry. All other columns become feature properties. The output is a standard GeoJSON FeatureCollection.

Common use cases

  • Plotting store locations from a spreadsheet onto an interactive web map.
  • Creating a GeoJSON layer from a CSV survey of geographic points.
  • Converting an asset inventory with coordinates into map-ready data.
  • Building a GeoJSON test dataset from a CSV for a mapping application prototype.

How to use this tool

  1. Upload your CSV with latitude and longitude columns file or paste the source content into the text box on this page.
  2. Click the convert button and wait for the browser to parse the input into consistent columns.
  3. Inspect the output preview — check row counts, column headers, and sample values before downloading.
  4. Download the result as GeoJSON and continue with your spreadsheet, database, or reporting workflow.

Tips for best results

  • Name your coordinate columns 'latitude' and 'longitude' (or 'lat' and 'lng') for automatic detection.
  • Verify a few coordinates in the preview — swapped lat/lon is the most common error.
  • Use GeoJSON to CSV for the reverse workflow when you have map data to analyze in a spreadsheet.

Common pitfalls

Coordinates must be in decimal degrees (WGS 84). DMS (degrees-minutes-seconds) format is not supported — convert to decimal first. Missing or zero coordinates produce features at 0,0 (Gulf of Guinea).

For more background on data formats and conversion workflows, read our format guides or browse the converter blog for step-by-step walkthroughs linked to each tool.