How to open .SHX files on Mac

To open .SHX files on Mac, check that the matching .shp and .dbf exist next to the .shx with the same base name.

Step-by-step instructions

  1. Check that the matching .shp and .dbf exist next to the .shx with the same base name.
  2. Open the .shp in a shapefile-capable GIS tool (for example QGIS, or GDAL/OGR tools).

Common issues

Only opening the .shx shows nothing (or errors)

The .shx is an index, not a standalone dataset; most software expects you to open the shapefile layer via the .shp and will read the .shx automatically.

  1. Make sure the matching .shp and .dbf exist in the same folder and share the same base name.
  2. Open/load the .shp (not the .shx) in your GIS software.

Shapefile won’t load because the set is incomplete

Shapefiles are multi-file datasets and commonly require the core components .shp, .shx, and .dbf; missing one can prevent loading or uploading/downloading in GIS systems.

  1. Re-download or re-export the data ensuring the .shp, .shx, and .dbf are included together.
  2. Keep all three files in the same directory with identical base names (e.g., roads.shp/roads.shx/roads.dbf).

.shx appears to be a CAD SHX (AutoCAD shapes/fonts), not GIS

.shx is also used by AutoCAD for compiled shapes/fonts (compiled from SHP shape definition files). A CAD SHX won’t behave like a shapefile index and won’t load as GIS data.

  1. Look for context: if there is no matching .shp/.dbf, or the file came with AutoCAD fonts/shapes, treat it as an AutoCAD SHX file.
  2. Open/use it within the relevant CAD workflow instead of a GIS shapefile reader.

Security note

A .shx is typically parsed by GIS/CAD software as structured binary data; avoid opening shapefile components from untrusted sources in sensitive environments because bugs in file parsers can be exploited even when files are “just data”.

Back to .SHX extension page