Skip to content

CSV to GeoJSON Converter

Convert CSV files with latitude/longitude columns to GeoJSON Point features. Perfect for converting spreadsheets of locations, addresses with coordinates, or GPS data exports into web-friendly map data.

How It Works

  1. Upload your CSV file (drag-and-drop or browse)
  2. Map columns: The tool auto-detects common headers (lat, lon, latitude, longitude)
  3. Preview your points on the map
  4. Download the GeoJSON file

CSV Format Requirements

Your CSV file needs:

  • Latitude column: Decimal degrees (-90 to 90)
  • Longitude column: Decimal degrees (-180 to 180)
  • Header row: Column names in the first row

Supported Column Names

The tool automatically recognizes these common headers:

Latitude:

  • lat, latitude, Lat, Latitude, LAT, LATITUDE
  • y, Y

Longitude:

  • lon, lng, longitude, Lon, Lng, Longitude, LON, LNG, LONGITUDE
  • x, X

Example CSV

csv
name,latitude,longitude,category
Coffee Shop,40.7589,-73.9851,food
Central Park,40.7829,-73.9654,park
Times Square,40.7580,-73.9855,landmark

Features

All Data Preserved

  • All columns from your CSV become GeoJSON properties
  • Use them for styling, filtering, or displaying in popups

Coordinate Validation

  • Invalid coordinates are automatically skipped
  • The tool shows how many points were successfully converted

Large File Support

  • Preview may show a subset of points for performance
  • Download always contains all valid points

Common Use Cases

  • Store locations: Retail stores, branch offices, franchises
  • Field data: Survey points, sample locations, observations
  • Event locations: Conference venues, meetup spots
  • GPS exports: Waypoints, POIs from GPS devices
  • Address geocoding results: Lat/lon from geocoding APIs
  • Customer locations: Sales territories, service areas

Tips for Best Results

Clean Your Data

  • Remove rows with missing coordinates
  • Ensure decimal format (not DMS: degrees/minutes/seconds)
  • Check coordinate order (latitude first, then longitude)

Coordinate Formats

Supported: 40.7589, -73.9851 (decimal degrees) ❌ Not supported: 40°45'32"N, 73°59'6"W (degrees/minutes/seconds)

If you have DMS coordinates, convert them to decimal first.

Column Mapping

If your columns have unusual names, you can manually select which columns contain lat/lon in the tool's interface.

FAQs

What if my CSV has address columns but no coordinates? This tool converts existing coordinates. You'll need to geocode addresses first using a geocoding service.

Can I convert other geometry types? This tool creates Point features. For lines or polygons, you'll need to use a different format or tool.

What coordinate order does GeoJSON use? GeoJSON uses [longitude, latitude] order (x, y). This tool handles the conversion automatically from your lat/lon columns.

Is my data uploaded? No—all conversion happens in your browser. Your files never leave your device.

Can I include attributes/properties? Yes! All columns in your CSV (except lat/lon) become properties in the GeoJSON features.

See Also