Skip to content

Convert CSV to GeoJSON

1

Add your CSV

Drop a CSV file anywhere on this page

.csv · .tsv · it never leaves the browser

2

Options

≈ 11 cm on the ground
Keep every vertex
00verticesunchanged
3

Your GeoJSON

Add a CSV file and the GeoJSON appears here, with its feature counts and anything this pair cannot carry.

Converted in this tab. Your CSV is never uploaded — reading, converting and writing all run in the browser, so this works offline once the page has loaded.
— , —
FidelityCSVGeoJSON

What comes across, and what cannot

Preserved

  • Geometry — points come across coordinate for coordinate; nothing is reprojected, because both sides are WGS84 longitude/latitude.
  • Every attribute survives, with its name intact.
  • Feature order is preserved, so a row in the output is the same feature as the row in your input.

Worth knowing

  • Nothing measurable. Both CSV and GeoJSON carry geometry and a full attribute table, so this conversion is lossless apart from any coordinate rounding or simplification you ask for.

CSV (comma-separated values)

A spreadsheet, not a spatial format. It becomes spatial when two columns hold longitude and latitude, or when one column holds a WKT geometry — which is how anything other than a point survives the round trip.

.csv · .tsv · text/csv

GeoJSON (RFC 7946)

The web's lingua franca for vector data: plain JSON, WGS84 longitude/latitude, every geometry type, and an untyped property bag per feature. It carries no styling — colour and symbology belong to the map, not the file.

.geojson · .json · application/geo+json

HowHow it works

Convert CSV to GeoJSON, step by step

  1. Step 1

    Add your CSV

    Drop a CSV file anywhere on the page, paste it, point at a URL, or press Sample to start from real data. Several files at once are fine.

  2. Step 2

    Set what matters

    Coordinate precision and simplification on every pair, plus the handful of settings this one needs — the delimiter and which columns hold the coordinates.

  3. Step 3

    Take the GeoJSON

    Read the feature counts and the warning list, then download, copy, or open the result in the Spatly studio to style and publish it.

PrivateRuns in your browser

Your data never leaves the page

Every conversion, measurement and export happens client-side. Nothing is uploaded, logged or stored — you can even use this offline once the page has loaded. Only “Open in Studio” sends data, and only after you sign in.

Go furtherTurn a CSV with coordinates into a mapRead the guide
FAQQuestions

Good to know

What is preserved when converting CSV to GeoJSON?
Geometry — points come across coordinate for coordinate; nothing is reprojected, because both sides are WGS84 longitude/latitude. Every attribute survives, with its name intact. Feature order is preserved, so a row in the output is the same feature as the row in your input.
What is lost converting CSV to GeoJSON?
Nothing measurable. Both CSV and GeoJSON carry geometry and a full attribute table, so this conversion is lossless apart from any coordinate rounding or simplification you ask for.
Which columns become the coordinates?
The tool reads the header and picks the longitude and latitude columns automatically — lon/lng/long/longitude/x and lat/latitude/y are all recognised, including the Turkish boylam/enlem. If it guesses wrong, or your file has a single WKT geometry column, change the mapping in step 2 and the preview updates immediately.
My CSV has polygons in one column. Does that work?
Yes. Point the WKT column at it and every geometry type comes through — POINT, LINESTRING, POLYGON, MULTIPOLYGON — instead of only the point you would get from a longitude/latitude pair.
What about semicolons or tabs?
The delimiter is detected from the first line, and you can override it in step 2 if your export uses semicolons (common in European Excel) or tabs.
Is the GeoJSON valid RFC 7946?
Yes: a single FeatureCollection, coordinates as [longitude, latitude], no CRS member — the RFC dropped it and mandates WGS84. Use the GeoJSON editor afterwards if you also want winding order and ring closure checked.
Is my file uploaded anywhere?
No. The CSV is read, converted and written entirely inside this page — there is no upload, no queue, no server-side copy and no size limit imposed by a plan. Large files are parsed in a background worker so the page stays responsive. The only action that transmits anything is Open in Studio, and that happens after you sign in and press it.
Is there a limit on file size or number of files?
There is no imposed limit; the practical ceiling is your browser's memory. Files over about 5 MB are handed to a web worker so the interface keeps responding, and you can drop several files at once — each is converted separately and the set can be downloaded as one zip.