Shapefile Converter

Convert Esri Shapefiles to GeoJSON, KML, GPX, DXF and more — or convert other geospatial formats into Shapefile. Free, private, and browser-based.

Start Converting

What is a Shapefile?

The Shapefile format is a widely used geospatial vector data format developed by Esri in the early 1990s. Despite its age, it remains the most commonly exchanged GIS file format across industries including urban planning, environmental science, utilities, and government mapping agencies worldwide.

A Shapefile is not a single file but a collection of at least three mandatory files that share the same base name: .shp (geometry), .shx (spatial index), and .dbf (attribute data in dBASE format). Optional companion files include .prj (coordinate reference system), .cpg (character encoding), and .sbn/.sbx (spatial indexing).

Shapefiles store geometry as binary data, making them compact and fast to read in desktop GIS software like QGIS, ArcGIS, and MapInfo. However, each Shapefile can only contain one geometry type (points, lines, or polygons) and attribute field names are limited to 10 characters due to the dBASE III specification.

Key Features of Shapefile

  • Universal GIS support: Recognised by virtually every GIS application, database, and spatial library in existence.
  • Compact binary storage: Efficient on-disk size compared to text-based formats, especially for large polygon datasets.
  • Spatial indexing: The .shx file enables fast random access to individual features by byte offset.
  • Attribute data: The .dbf component stores tabular attributes (text, numbers, dates) alongside each geometry record.
  • Projection metadata: The optional .prj file describes the coordinate reference system in WKT format.
  • Streaming reads: Sequential access pattern allows memory-efficient processing of very large files.

Convert FROM Shapefile

Export your Shapefile data to modern and interoperable formats.

Convert TO Shapefile

Import data from other geospatial formats and save as Shapefile.

Common Use Cases for Shapefile

Desktop GIS Analysis

Shapefiles are the default exchange format for QGIS, ArcGIS Pro, and MapInfo. Analysts load them for spatial queries, buffer analysis, and overlay operations.

Government & Regulatory Data

Census boundaries, zoning districts, flood plains, and electoral maps are commonly distributed as Shapefiles by government agencies worldwide.

Environmental & Natural Resources

Habitat boundaries, watershed delineations, forestry stands, and soil maps are often maintained and shared in Shapefile format.

Utilities & Infrastructure

Power lines, water pipes, telecom towers, and road networks are frequently stored as Shapefile datasets for asset management and planning.

CAD/GIS Integration

Converting between Shapefile and DXF allows engineers and planners to move data between CAD drafting software and GIS analysis tools.

Academic Research

University GIS courses and research projects widely use Shapefiles as the standard format for teaching spatial concepts and sharing study area data.

Frequently Asked Questions

Why does a Shapefile consist of multiple files?

The Shapefile format was designed in an era when splitting data across files was common practice. The .shp stores geometry, .shx provides a spatial index for fast lookups, and .dbf holds attribute data. This separation allows each component to be optimised independently.

What is the maximum file size for a Shapefile?

Each component file (.shp, .dbf) is limited to 2 GB due to the 32-bit file offsets in the format specification. For larger datasets, consider GeoPackage, GeoParquet, or splitting the data into multiple Shapefiles.

Can a Shapefile contain multiple geometry types?

No. A single Shapefile can only store one geometry type: points, polylines, or polygons. If your dataset mixes geometry types, you must split it into separate Shapefiles — or convert to GeoJSON or GeoPackage, which support mixed geometries.

Why are my attribute field names truncated?

The dBASE III format used by Shapefiles limits column names to 10 characters. Longer names are automatically truncated during conversion. This is a fundamental limitation of the format.

How do I upload a Shapefile for conversion?

Zip all the component files (.shp, .shx, .dbf, and optionally .prj, .cpg) into a single .zip archive and upload that. MapfileConverter will automatically detect and extract the Shapefile components.

Ready to Convert Your Shapefiles?

Upload a Shapefile (.zip) and convert it to GeoJSON, KML, GPX, or DXF in seconds — completely free and private.

Open the Converter