• GeoDataViewer Team
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/