MapTools
file convertersFree · No signup

CSV Coordinates to GeoJSON FeatureCollection Mapper

Upload any CSV file with latitude and longitude columns to instantly auto-detect coordinate headers, map points, and export standard RFC 7946 GeoJSON.

From:
To:
Input (CSV)Paste or edit code
Output Result (GEOJSON)

Runs entirely in your browser — your inputs never leave this page.

How this tool works

  1. 1

    Streaming CSV parsing via PapaParse with intelligent column header matching for latitude, longitude, and metadata properties.

Common uses

  • Converting customer CRM addresses into web maps
  • Sensor dataset spatialization
  • Logistics delivery dispatch mapping

Frequently asked questions

Yes! All non-coordinate columns are automatically preserved in the feature properties object.

More in File Converters

View all →
Worked example

Turning an Arizona Astronomy Club's Dark-Sky List into GeoJSON

An astronomy club in Tucson, Arizona, keeps its favorite dark-sky viewing spots in a spreadsheet called dark_sites.csv. It has 26 rows and four columns: Site, Latitude, Longitude, and Notes. The club's web volunteer wants the list on an interactive map, and most web mapping libraries speak GeoJSON, so she uploads the CSV to the mapper. The tool auto-detects the Latitude and Longitude headers and builds a FeatureCollection of 26 Point features, one per row. The Site and Notes columns ride along as properties on each feature, so a click on the map can show 'Saguaro turnout, Milky Way core in summer' exactly as written in the spreadsheet.

On the preview map, 25 points cluster across southern Arizona as expected, but one sits in the middle of China. That row lists a longitude of 110.97 without its minus sign; Arizona is west of Greenwich, so it must be -110.97. She fixes the cell, re-uploads, and now all 26 points sit between Tucson and the Mexican border where they belong. Before exporting, she opens the output text and reads the first feature directly: its coordinates read [-110.97, 32.22], longitude first, matching the Tucson row of the spreadsheet. That ten-second check confirms the column mapping is the right way round for all 26 features, not just the corrected one.

She downloads the finished GeoJSON and hands it to the club's website editor, who drops it into their map page unchanged. Next time the club adds a viewing spot, the workflow is the same: add a row to the spreadsheet, re-run the mapper, replace the file. She also gives the club a simple habit for every future update: search the exported file for the feature count. The word Feature appears once per spot, so a quick count in any text editor should find 26 matches, matching the 26 spreadsheet rows. If a new row is ever added with a typo in its coordinates, the count and the preview map will disagree, and the club will know to look before the broken version reaches the website.

A sister club near Phoenix tries the same mapper a month later with a 41-row list. Their headers are lowercase lat and long, and the auto-detection still finds them. One row fails, though: a member's spreadsheet saved a latitude as 33,44 with a decimal comma, and it has to be retyped as 33.44 before the point lands in the desert north of Phoenix where it belongs. The two clubs then merge their files into one collection of 26 plus 41, which is 67 dark-sky sites across Arizona, ready for a shared map at their joint star party.

Common mistakes to avoid

  • Missing minus signs on western longitudes. Every US longitude is negative. A single positive value quietly relocates that point to Asia, and the preview map is the fastest way to catch it.
  • Coordinates in degrees and minutes. Values like 32 degrees 13 minutes are not decimal degrees and will plot in the wrong place. Convert to plain decimals, such as 32.22, before uploading.
  • Messy header names. Headers like 'Lat (deg) ' with stray spaces or symbols can defeat auto-detection. Rename columns to plain Latitude and Longitude in the spreadsheet first.

Pro tips

  • Always glance at the preview map for outlier points in oceans or on other continents before exporting.
  • Extra columns are free metadata; keep a Notes or Category column because it becomes searchable properties in the GeoJSON.
  • Count the features in the output and match them against your spreadsheet rows, so silent drops are impossible.
Geospatial Engineering Reference & Field Manual

GIS Files & Interoperability: Speaking Every Map Format

GeoJSON, KML, GPX, Shapefiles — what each format is for, how to convert between them without losing data, and how to fix the files that refuse to open. Written for CSV Coordinates to GeoJSON FeatureCollection Mapper and the everyday mapping tasks around it.

1

Vector vs. Raster: The Two Tribes

Every map file belongs to one of two families. Vector formats store geometry as math: points with coordinates, lines as point sequences, polygons as closed rings. They scale forever, stay tiny, and carry attributes like names and populations. GeoJSON, KML, and Shapefiles are all vector.

Raster formats store grids of cells, like digital photos. Satellite imagery, scanned paper maps, and elevation models are raster. They capture continuous reality beautifully but balloon in size and pixelate when zoomed. GeoTIFF is the GIS world's raster workhorse.

Choose vector when your data is discrete things — stores, boundaries, routes. Choose raster when it is continuous — imagery, terrain, temperature surfaces. Converting vector to raster is easy (just draw it); going the other way needs tracing, by hand or with image-processing algorithms.

2

GeoJSON: The Web's Native Tongue

GeoJSON is a map format written as JSON, the same notation web developers use for data. A point looks like this — readable by humans and parseable by every browser with zero libraries. That simplicity made it the default for web maps.

{"type": "Point", "coordinates": [-74.006, 40.7128]}

Its structure is small but complete: Feature objects pair geometry with a properties dictionary, and FeatureCollections bundle many features into one file. The properties can hold anything — names, dates, measurements — which makes GeoJSON a fine carrier for analysis results, not just shapes.

GeoJSON has quirks to respect. Coordinates are always longitude-first, which trips up everyone once. It officially supports only the WGS84 datum, so reproject anything else before exporting. And it has no built-in styling — colors and icons live in a separate layer of your application, not in the file.

For big data, look at its cousins: newline-delimited GeoJSON streams features one per line for huge datasets, and FlatGeobuf packs the same model into a fast binary format. But for files under a few megabytes, plain GeoJSON remains unbeatable for simplicity.

This page shows the first two chapters. Read the complete this category field guide →