.shp

What is a .shp file?

The GIS industry's workhorse — geographic vector data in a multi-file package.

Safe format
Type Misc
By Esri
MIME application/x-shapefile

Drop any file to identify it

No upload. No signup. No sending your file halfway across the internet.
We tell you what it is, right here in your browser.

What is it

The Shapefile is the most widely used format for geographic vector data in GIS (Geographic Information Systems). Despite its name, a "shapefile" is actually a set of at least three files: .shp (geometry), .shx (spatial index), and .dbf (attribute data in dBASE format). Additional sidecar files like .prj (coordinate system), .cpg (encoding), and .sbn/.sbx (spatial index) are common.

The .shp file stores geometry as points, polylines, polygons, or multipoint features, each with coordinates in a defined coordinate reference system. The .dbf file stores attribute data — a table where each row corresponds to a geometric feature. Together, they let you represent anything from census tracts and river networks to building footprints and earthquake epicentres, each with associated data fields.

Shapefiles were introduced by Esri in the early 1990s and became the de facto standard through ubiquity rather than technical superiority. The format has significant limitations: 2 GB file size cap, 10-character field names in .dbf, no support for topology or raster data, and the multi-file design makes them awkward to share. GeoJSON, GeoPackage, and FlatGeobuf are technically superior alternatives, but the Shapefile's installed base is enormous and it remains the default interchange format in government, environmental science, and urban planning.

Technical details
Full Name
Shapefile
MIME Type
application/x-shapefile
Developer
Esri
Magic Bytes
00 00 27 0A
Safety
.shp is a known, safe format.
What opens it
QGIS
FREE Win / Mac / Linux
ArcGIS
License Windows
MapShaper
FREE Web
GeoPandas (Python)
FREE Cross-platform
FAQ
Why does a shapefile have so many files?
The format splits data across multiple files: .shp (geometry), .shx (index), .dbf (attributes), .prj (coordinate system), and others. All must be kept together — missing the .dbf means losing your attribute data.
What's replacing shapefiles?
GeoPackage (SQLite-based, single file), GeoJSON (web-friendly), and FlatGeobuf (streaming) are modern alternatives. But shapefiles remain dominant due to legacy tooling and institutional inertia.
Related formats