Convert CSV to GeoJSON
Build GeoJSON FeatureCollections from CSV with latitude/longitude columns.
Converting CSV data to GeoJSON is the standard way to bring tabular geographic data into web mapping applications. GeoJSON is an open format defined by RFC 7946 for representing geographic features. This tool reads CSV files with latitude and longitude columns and generates a GeoJSON FeatureCollection, where each row becomes a Feature with Point geometry and all other columns become properties. The converter auto-detects latitude/longitude column names (supporting common variations like lat, latitude, y, lon, lng, long, longitude, x) and handles coordinate pairs in either order. You can configure the input delimiter, toggle whether the first row is a header, and specify custom column names for coordinates. The output GeoJSON is ready for use with Leaflet, Mapbox, OpenLayers, or any GIS tool that reads GeoJSON. All processing happens in your browser, which is important when working with sensitive location data like property records, customer addresses, or field survey coordinates.
How to use the Convert CSV to GeoJSON tool
- Load your CSV data: Drag and drop your CSV file, choose a file from your file explorer, or paste CSV data directly into the paste area.
- Configure input settings: Select the input delimiter (auto-detect or specific) and toggle whether the first row is a header.
- Convert to GeoJSON: Click the "Convert Data" button to build a GeoJSON FeatureCollection from your CSV with latitude/longitude columns.
- Export results: Copy the GeoJSON output to your clipboard or download it as a file.