Convert csv to geojson

Free online CSV to GEOJSON converter

Convert CSV location data into GeoJSON for mapping and GIS use.

Convert CSV to GEOJSON online - free

Uploading…
Selected files exceed the 75 MB total limit. Please select fewer or smaller files.

Your file is processed instantly and never stored on our servers.

How to convert csv to geojson file

101convert.com Assistant Avatar

101convert.com assistant bot
2mos

CSV is a simple tabular file format that stores data in rows and columns, usually separated by commas. GeoJSON is a geographic data format based on JSON, used to represent map features such as points, lines, and polygons with coordinates and properties.

Why convert csv to geojson

Converting CSV to GeoJSON is useful when your spreadsheet contains location data such as latitude and longitude, addresses, or place names that need to be displayed on maps or used in GIS applications. GeoJSON is widely supported by web mapping tools, spatial databases, and geographic software.

What data is needed

To create valid GeoJSON from a CSV file, your table should include at least one coordinate pair, usually latitude and longitude. If your CSV contains only addresses, they must be geocoded first before conversion. Additional columns can become feature properties in the GeoJSON output.

Best software for conversion

The best choice depends on your workflow:

  • QGIS — best for accurate GIS work and manual control over coordinate systems.
  • Mapshaper — fast and simple for lightweight conversion and cleanup.
  • GDAL/OGR — powerful command-line option for advanced users and automation.
  • geojson.io — convenient for quick browser-based conversion and inspection.

For most users, QGIS is the best overall software because it handles CSV import, coordinate assignment, and GeoJSON export reliably.

How to convert csv to geojson in qgis

  1. Open QGIS and load your CSV file using Layer → Add Layer → Add Delimited Text Layer.
  2. Select the correct delimiter and assign the longitude field as X and the latitude field as Y.
  3. Verify the coordinate reference system if needed.
  4. Right-click the imported layer and choose Export → Save Features As.
  5. Select GeoJSON as the output format and save the file.

How to convert csv to geojson with command line

If you prefer automation, GDAL/OGR can convert CSV to GeoJSON using ogr2ogr. This is ideal for batch processing and repeatable workflows. Make sure your CSV includes coordinate fields and that the geometry columns are mapped correctly.

Common issues to avoid

  • Wrong coordinate order — longitude should usually be X and latitude should be Y.
  • Missing coordinates — rows without coordinates cannot become map features.
  • Invalid encoding — save the CSV in UTF-8 to preserve special characters.
  • Incorrect delimiter — confirm whether the file uses commas, semicolons, or tabs.

Conclusion

CSV to GeoJSON conversion is straightforward when your data includes coordinates and clean column names. For the best balance of ease and reliability, use QGIS; for automation, choose GDAL/OGR; and for quick online work, use geojson.io.


Note: This csv to geojson conversion record is incomplete, must be verified, and may contain inaccuracies. Please vote below whether you found this information helpful or not.

Was this information helpful?

CSV vs GEOJSON: format comparison

How the CSV and GEOJSON formats compare on the properties that matter most for this conversion.

Comparison of the CSV and GEOJSON file formats
Property .CSV Comma-Separated Values .GEOJSON GeoJSON
Open standard Yes Yes
Compression Uncompressed Uncompressed
Typical file size Small Medium
Opens in a web browser Yes, natively Partial
Further editing Easy Easy
Metadata support Basic Basic
Plain-text readable Yes Yes
Best used for Data exchange Data exchange
Introduced 2008
Developer GeoJSON working group / Internet community
MIME type text/csv application/geo+json

Frequently asked questions

Is the CSV to GEOJSON converter free?

Yes, converting CSV to GEOJSON on 101convert.com is completely free. No registration, email address or installation is required.

How large can my CSV file be?

You can upload CSV files up to 250 MB and convert up to 50 files at once in a single batch.

What happens to my uploaded files?

Files are processed automatically and deleted from our servers within a few minutes after conversion. We never view or share your files.

Do I need to install any software to convert CSV to GEOJSON?

No. The CSV to GEOJSON conversion runs entirely online in your browser and works on Windows, Mac, Linux, Android and iPhone.

Did the conversion fail?

In most cases, the cause is an incorrect file format. Please upload a valid CSV file for this CSV to GEOJSON conversion. Occasionally, the issue may be on our side. We analyze recurring conversion failures and disable or fix the converter if we detect a defect.

Additional formats for
csv file conversion

Reverse conversion

Convert to geojson from
other formats

Share on social media: