Skip to content

Shapefile Merger

Combine multiple Shapefile ZIP files into a single GeoJSON FeatureCollection. All processing happens in your browser — no uploads, completely private.

How it works

This tool converts and merges multiple Shapefile ZIP files into a single GeoJSON FeatureCollection. Upload multiple .zip files (each containing .shp, .dbf, .shx, .prj), select which attribute properties to include, and download a merged GeoJSON file.

How to merge Shapefiles

  1. Upload ZIP files — Drag-and-drop or browse multiple Shapefile ZIP files (must contain .shp, .dbf, .shx files)
  2. Review files — Check file sizes, feature counts, and coordinate systems
  3. Select attributes — Choose which attribute properties to keep using checkboxes
  4. Preview — View merged geometry on an interactive map
  5. Download — Get your merged data as a single .geojson file

Features

  • Merge multiple Shapefiles — Combine features from different ZIP files
  • Automatic conversion — Shapefiles converted to GeoJSON during merge
  • Attribute selection — Choose which properties to include with checkboxes
  • Quick actions — Select All, Deselect All, or Common Only
  • Map preview — See merged geometry on an interactive Leaflet map
  • Batch operations — Undo last add, remove errors, clear all
  • Size statistics — Input size, output size, and feature counts
  • 100% client-side — No uploads, works offline after page load

Shapefile requirements

Each ZIP file must contain at minimum:

  • .shp — Shape geometry file (required)
  • .dbf — Attribute database file (required)
  • .shx — Shape index file (required)

Optional but recommended:

  • .prj — Projection information (for coordinate system)

Use cases

  • 📍 Combine regional datasets — Merge county/municipality Shapefiles into state/country
  • 📍 Consolidate data sources — Combine data from different government agencies
  • 📍 Historical analysis — Merge historical boundary Shapefiles with current data
  • 📍 Data preparation — Prepare merged datasets for web mapping
  • 📍 Format conversion — Convert multiple Shapefiles to single GeoJSON
  • 📍 Simplify workflows — Process multiple files in one operation

Tips

  • ZIP format required — Each Shapefile must be in a ZIP archive
  • Check projections — Ensure all Shapefiles use compatible coordinate systems (WGS84 recommended)
  • Large files — Preview samples first 1000 features for performance
  • Common attributes — Use "Common Only" to keep only shared attribute columns
  • Optimize output — Use GeoJSON Minifier to reduce final file size
  • Attribute cleanup — Review and deselect unnecessary attribute fields before merge

Technical details

Input format

  • Shapefile ZIP — ZIP archive containing .shp, .dbf, .shx (and optionally .prj)
  • Geometry types — Points, Lines, Polygons (mixed types supported)
  • Attributes — DBF attribute table converted to GeoJSON properties
  • Projection — PRJ file used for coordinate transformation if present

Output format

  • GeoJSON FeatureCollection — Standard GeoJSON with type: "FeatureCollection"
  • WGS84 coordinates — Reprojected to EPSG:4326 if needed
  • Selected attributes — Only chosen properties included
  • Combined features — All features from all input files

Privacy

Everything runs in your browser. Files are not uploaded to any server. After the page loads, the tool works offline.

FAQ

What if my Shapefile doesn't have a .prj file? The tool will still work but may assume WGS84. For best results, include .prj files with projection information.

Can I merge Shapefiles with different geometry types? Yes, the tool supports mixed geometry types (Points, Lines, Polygons) in the same output.

Do I need to unzip the Shapefiles first? No, upload the ZIP files directly. The tool automatically extracts and processes them.

What coordinate system is used for output? The output GeoJSON uses WGS84 (EPSG:4326), which is standard for web mapping.

How are attribute field names handled? Field names from all files are combined. If files have different fields, you can select which to keep using the property checkboxes.

Can I merge Shapefiles from different coordinate systems? Yes, if .prj files are included, the tool will attempt to reproject to WGS84. For best results, ensure all inputs use compatible projections.

Why is my output file so large? Shapefiles often contain high-precision coordinates. Use the GeoJSON Minifier to reduce precision and file size after merging.