Converting CSV...
Paste or upload a CSV with latitude and longitude columns to create GeoJSON points.
Why CSV Lat/Lon Becomes GeoJSON Lon/Lat
The CSV to GeoJSON Converter turns coordinate spreadsheets into a standard GeoJSON `FeatureCollection`. It is built for users who already have latitude and longitude columns and need clean point data for a web map, GIS import, dashboard, or API upload.
CSV files often label columns as `lat, lon`, but GeoJSON stores positions as `[longitude, latitude]`. The converter validates the decimal degree values, then writes every point in the correct GeoJSON coordinate order.
What Is a CSV to GeoJSON Converter?
A CSV to GeoJSON converter reads rows from a spreadsheet or delimited text file and turns each valid latitude/longitude record into a GeoJSON Point feature. The remaining CSV columns become feature properties, so names, IDs, categories, addresses, and status fields stay attached to each point.
How Latitude and Longitude Columns Become GeoJSON Points
The converter reads the header row, detects latitude and longitude columns such as lat/lon, latitude/longitude, or y/x, validates each coordinate pair, and creates one Point feature per valid row. Rows with blank coordinates, text instead of numbers, or coordinates outside WGS84 ranges are skipped and reported.
Preparing CSV Files for Web Maps
Use decimal degree coordinates in WGS84, with latitude between -90 and 90 and longitude between -180 and 180. Keep one header row, avoid merged spreadsheet cells, and export as CSV rather than XLSX. If your coordinates are UTM, State Plane, or another projected CRS, convert them to longitude and latitude first.
CSV to GeoJSON for Leaflet, Mapbox, QGIS, and ArcGIS
GeoJSON is a common interchange format for JavaScript maps and GIS software. Leaflet and Mapbox can load point FeatureCollections directly, while QGIS and ArcGIS can open or import GeoJSON for inspection, styling, and spatial analysis.
Common CSV Coordinate Problems
The most common issues are swapped columns, address-only files without coordinates, semicolon-delimited exports, and projected coordinates pasted into latitude/longitude columns. This converter does not geocode addresses; address-only CSV files need a geocoding step before conversion.
Related GIS File Tools
CSV to GeoJSON FAQ
How do I convert CSV latitude and longitude to GeoJSON?
Paste or upload a CSV with decimal degree latitude and longitude columns, confirm the detected columns, then download the generated GeoJSON FeatureCollection.
Should GeoJSON coordinates be lat lon or lon lat?
GeoJSON coordinates are longitude, latitude. CSV files are often written as latitude, longitude, so this converter swaps the output order correctly.
Can I convert an address CSV to GeoJSON?
Only if the CSV already contains latitude and longitude columns. This tool does not geocode street addresses.
What CRS should my CSV coordinates use?
Use WGS84 longitude and latitude, equivalent to EPSG:4326 decimal degrees.
Why were some CSV rows skipped?
Rows are skipped when latitude or longitude is blank, not numeric, or outside the valid WGS84 coordinate range.
Can CSV to GeoJSON create lines or polygons?
This tool creates Point features from one coordinate pair per row. Lines and polygons need ordered coordinate sequences and a different conversion workflow.