Live Online ValidatorFormat: Shapefile

Shapefile Validator

Checks every Shapefile in a ZIP: required parts, coordinate system and what GDAL reads.

Upload a ZIP with one or more Shapefiles. The worker unpacks it, checks for each .shp whether the .shx and .dbf are there, warns if the .prj is missing, and lets GDAL read every Shapefile. macOS metadata files in the ZIP are ignored.

Drag file here to validate, or select file

Supported: .zip • Max 50 MB

Direct upload to the GDAL worker (Fly.io, Frankfurt)Files are deleted after the check

What We Validate

  • Whether the ZIP can be opened; corrupted archives are reported.
  • Every .shp in the ZIP, also in subfolders. For each one: .shx and .dbf with the same name must exist (error), a missing .prj gives a warning.
  • macOS metadata (__MACOSX/ folders and ._ files) is ignored; the report counts it.
  • For every layer: name, geometry type, number of features, coordinate system (EPSG code if GDAL can identify it), bounding box and field list.
  • Warnings that GDAL prints while reading the file.

Tested Examples

  • ZIP with one point Shapefile → valid, 4 features, EPSG:4326
  • ZIP with two Shapefiles → valid, both layers listed (flaechen in EPSG:25832, punkte in EPSG:4326)
  • ZIP without .dbf → invalid: "punkte.shp: .dbf is missing."
  • ZIP without .shx → invalid: "punkte.shp: .shx is missing."
  • ZIP without .prj → valid with warning: coordinate system undefined
  • ZIP from macOS with __MACOSX/ → valid, warning: 4 macOS metadata files ignored
  • File that is not a ZIP → invalid: "Invalid or corrupted ZIP archive."

Examples tested on 24 Sep 2026 with the worker code of this site and GDAL 3.10.3 (conda-forge build on Windows); the live worker was not part of these tests.

Frequently Asked Questions

Why is a missing .shx an error?

Without the .shx index many programs cannot open the Shapefile, and GDAL does not open it by default either. The Shapefile converters on this site rebuild a missing .shx; the validator reports it so you know the file is incomplete.

Is the text encoding checked?

No. The validator does not read attribute values. The converters detect the encoding (.cpg, DBF header, otherwise UTF-8 or Windows-1252) and report it.

What does the validator not check?

It does not test geometries for validity (self-intersections, ring orientation or closure), does not validate against XML or JSON schemas and does not look at attribute values. It reports what GDAL reads from the file.

What happens to my file?

Your browser uploads it directly to the GDAL worker on Fly.io (region Frankfurt). The worker checks it in a temporary folder and deletes the folder as soon as the check is done. Upload limit: 50 MB.

Other Format Validators

Related Format Converters