mapverter

CSV to SHP Converter

Convert a CSV to a Shapefile ZIP in your browser. Coordinate columns become geometry, numeric columns stay numeric and long names fit the 10-byte DBF limit.

  1. Add file
  2. Review
  3. Download

Drag your map file here

SHP (zip, or .shp with .shx, .dbf, .prj), KML, KMZ, GeoJSON, GPX, CSV

Free · one dataset at a time · up to 20 MB

Converting several datasets at once?

Columns become geometry and fields

mapverter finds the coordinates by column name: lat/latitude with lon/lng/long/longitude, x with y, or a WKT column such as wkt or geometry. Latitude and longitude columns are read as WGS 84. X and Y values that fit longitude and latitude ranges are treated as WGS 84 too; other X and Y values need their coordinate system, which you choose from the offered candidates, by clicking your area on the map to try the local UTM zone, or by searching for an EPSG code or name. If no column is recognized, you pick the columns yourself.

Every other column becomes a DBF field. The coordinate columns are not repeated as attributes, and empty headers get names such as column1.

Numbers, text and names

  • A column becomes numeric only when every value is a plain number. Codes with leading zeros, like 00123, and integers too large to store exactly, like 19-digit IDs, stay as text.
  • Names longer than 10 bytes are shortened and listed in field_names.csv, and text longer than 254 bytes is cut.
  • Semicolon-separated files with decimal commas are read correctly.

Geometry and output

Latitude/longitude and X/Y columns give points. A WKT column can also hold lines and polygons; when the types are mixed, each type gets its own Shapefile in the ZIP. Rows without valid coordinates are left out and counted. The Shapefile starts in the source coordinate system; the target list also offers WGS 84 and Web Mercator (EPSG:3857), and coordinate system pages preset others.

Frequently asked questions

My CSV only has addresses. Can I convert it?
No. mapverter does not geocode addresses. Add latitude and longitude, X and Y, or WKT columns first.
Why did my code column become text?
A column is numeric only when every value is a plain number. Values with leading zeros, or integers beyond 2 to the power of 53, would change if stored as numbers, so the column is kept as text.
Which coordinate system will the Shapefile use?
It starts with the source system: WGS 84 for latitude and longitude columns, or the system you chose for X and Y values. To convert, pick WGS 84 or Web Mercator in the target list, or open a coordinate system page that presets another system.
Is my CSV uploaded?
No. The file is read and converted in your browser and never leaves your computer.