Skip to the converter

CSV to GeoJSON converter, without the upload.

Turn a CSV of coordinates into GeoJSON. It is converted in your browser, so the file never leaves your device.

Drop CSV files here

or choose from your computer paste with Ctrl V

Ready · other file types work too0 bytes uploaded, ever

Convert to

How to convert CSV to GeoJSON

  1. Add your CSV spreadsheets

    Drop CSV files onto the box above, or click it to choose them. ToAny reads the file's contents to detect the type, so a wrong extension does not matter.

  2. GeoJSON is already chosen

    Press Convert. There is nothing else to set. The work happens in this tab.

  3. Download

    Save the GeoJSON, or download everything as one ZIP if you converted several files.

Why ToAny

  • Private by construction

    The CSV to GeoJSON converter is part of this page and runs inside your browser. Your spreadsheets are never sent to ToAny or to anyone else.

  • No upload, no queue

    Nothing has to travel to a server and back, so the conversion starts the moment you press Convert, even on a slow connection.

  • Free, without an account

    No sign-up, no email address and no watermark. Add several files and download them together as a ZIP.

CSV to GeoJSON: what to expect

A spreadsheet of places with latitude and longitude columns becomes a map layer once it is GeoJSON, which web maps and GIS tools read. Each row becomes a point with its other columns as properties.

Every format is read into plain GeoJSON features and written out from there, so coordinates, names and properties carry over wherever the target has a place for them. The first row must name a latitude and a longitude column (lat, latitude, lon, lng, longitude and similar); name, elevation and time columns are recognised, and every other column becomes a property. A row with no valid coordinates stops the conversion and is named. Coordinates are written longitude first, then latitude, as GeoJSON requires. Coordinates outside the latitude and longitude range are refused, since the file is probably in a projected coordinate system.

CSV vs GeoJSON

CSV

CSV spreadsheet

CSV is a table written as text: one row per line, values separated by commas. Every spreadsheet and database can import and export it, but it holds one sheet only and no formatting, formulas or data types.

Opens in Excel, Google Sheets, Numbers, databases and any text editor

CSV converter
GEOJSON

GeoJSON map data

GeoJSON describes geographic features, points, lines and polygons, with their properties as plain JSON. It is the standard format for web maps. Coordinates are in WGS 84 and written longitude first, then latitude, the reverse of how most people say them.

Opens in QGIS, Leaflet, Mapbox, geojson.io, GitHub's map view and most GIS tools

GeoJSON converter
CSV compared with GeoJSON
CSVCSV spreadsheetGEOJSONGeoJSON map data
Stands forComma-Separated ValuesGeoJSON
TypePlain-text tableGeographic data
CompressionNoneNone (JSON text)
IntroducedThe 1970s, by no single author (described in RFC 4180)2008, by the IETF (RFC 7946), from a community specification
Opens inExcel, Google Sheets, Numbers, databases and any text editorQGIS, Leaflet, Mapbox, geojson.io, GitHub's map view and most GIS tools
Best forMoving tabular data between systemsPoints, lines and areas on the web
File extension.csv.geojson

Questions

Are my spreadsheets uploaded anywhere?

No. The CSV to GeoJSON conversion runs inside your browser, on your own phone or computer. The file is not sent to ToAny or to anyone else.

Is anything lost when converting CSV to GeoJSON?

The values are kept. Anything GeoJSON has no way to express, such as formatting, formulas or nesting, is simplified or left out.

Can I convert several CSV files at once?

Yes. Add as many as you like, convert them together and download each result or all of them as one ZIP.

How do I convert CSV to GeoJSON on Windows, Mac, iPhone or Android?

The steps are the same everywhere because ToAny runs in the web browser: open this page in a current version of Chrome, Edge, Safari or Firefox, add the CSV file, press Convert and save the GeoJSON. There is nothing to install.

Is there a file size limit?

Yes. Files up to 150 MB are accepted; a larger file is refused with a message. Beyond that the limit is your device's memory, since nothing is uploaded; a computer copes with large files better than a phone.