How to Open a Shapefile Online (with .dbf, .shx, .prj)
Step-by-step: open a Shapefile online in your browser, upload the required sidecar files, and troubleshoot missing .dbf/.shx/.prj issues.
To open a Shapefile online, you usually need more than a single .shp file. A Shapefile dataset often includes sidecar files like .dbf (attributes), .shx (index), and .prj (projection). If you upload only one file, many viewers cannot render the layer correctly.
You can open Shapefiles in your browser at /open-shapefile-online/ without installing desktop GIS.
What files are required for a Shapefile?
Most Shapefiles include:
.shp— geometry.dbf— attribute table.shx— geometry index.prj— coordinate reference system (recommended)
Some datasets also include .cpg, .sbn, .sbx, or other optional files.
How to open a Shapefile online
- Go to /open-shapefile-online/.
- Upload the full set of files (
.shp,.dbf,.shx, and ideally.prj). - If you have multiple files, upload them together or upload a single
.zipthat contains the complete dataset. - Inspect the map and the attribute table to confirm features look correct.
Troubleshooting common problems
The map is empty or features appear in the wrong place
- Make sure you included the
.prjfile if the dataset has one. - If the CRS is missing, the data may not align with the basemap.
Attributes are missing
- Ensure the
.dbffile is uploaded alongside.shp.
The layer fails to load
- Confirm
.shxis present. - Try zipping the full dataset into one archive to avoid missing sidecars.
Convert a Shapefile after you open it
- Convert Shapefile to GeoJSON: /shapefile-to-geojson/
- Convert Shapefile to GeoPackage: /shapefile-to-gpkg/
Related reading
- Compare formats: /blog/shapefile-vs-geopackage/
Related Posts
What Is a Shapefile? (.shp + .dbf + .shx Explained)
What is a Shapefile and why does it include multiple sidecar files? Learn how Shapefile works, common issues, and how to open Shapefiles online.
Extracting POIs from OpenStreetMap and Overture Maps: A Practical Guide
Extract EV charging and gas station POIs from NYC OSM data with osmium, and compare with Overture Maps' GeoParquet pipeline.
View GIS Files Without Leaving VS Code: Meet Geo Data Viewer Fast
Preview 10+ geospatial formats (Shapefile, GeoJSON, KML, PMTiles) directly inside VS Code with Kepler.gl rendering.
GeoJSON vs Shapefile: Which Format Should You Use?
GeoJSON vs Shapefile compared: structure, file packaging, web friendliness, and when it makes sense to convert between formats.