mapverter

GeoJSON to SHP Converter

Convert GeoJSON to a Shapefile ZIP in your browser. Long property names are shortened to 10 bytes, nested values become text and mixed geometry is split.

  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?

Reading your GeoJSON

mapverter accepts a FeatureCollection, a single Feature or a bare geometry, saved as .geojson or .json. Coordinates are read as WGS 84 longitude and latitude. Older files with a crs member, such as urn:ogc:def:crs:EPSG::5186, are read in that coordinate system instead when it is one mapverter knows. A Feature id is kept as an id attribute.

Fitting properties into a DBF table

  • Property names longer than 10 bytes are shortened, and duplicates get _1, _2 endings. field_names.csv in the ZIP maps each shortened name to the original.
  • Objects and arrays are written as JSON text. Text longer than 254 bytes is cut, and the report counts how many values were affected.
  • Properties whose values are all numbers become numeric fields.
  • simplestyle properties such as stroke and fill are not stored, and the report counts the features that had them.

Geometry rules

  • When the data mixes points, lines and polygons, each type gets its own Shapefile in the ZIP.
  • A GeometryCollection is split into one feature per geometry type, each with the same attributes.
  • Features with a null geometry are left out, and Z values are removed. Both are reported.
  • The Shapefile starts in the source coordinate system. You can switch the target to WGS 84 or Web Mercator (EPSG:3857), or open a coordinate system page that presets another one, and the ZIP gets a .prj for the system you use.

Frequently asked questions

Why were some features left out?
A Shapefile cannot store a feature without geometry. Features whose geometry is null are skipped, and the conversion report says how many.
What happens to nested properties?
Objects and arrays are converted to JSON text. If the text is longer than 254 bytes, the DBF limit, it is cut and counted in the report.
Can I convert to a projected coordinate system?
Yes. Pick Web Mercator (EPSG:3857) in the target list, or open a coordinate system page such as EPSG:5186, which presets that system as the target. The coordinates are converted and a matching .prj file is added to the ZIP.
Is my GeoJSON uploaded?
No. Everything runs in your browser, and the file never leaves your computer.