---
name: "stac-validator"
section: "1"
platform: "linux"
package: "stac-validator"
version: "3.6.0+ds-1"
release: "Debian 13 (Trixie)"
platforms: ["linux"]
url: "https://new.carta.tech/stac-validator"
---

# stac-validator(1)

Validate STAC files

## NAME

stac-validator - Validate STAC files

## SYNOPSIS

**stac-validator** \[*OPTIONS*\] *STAC\_FILE*

## OPTIONS

- **--core**

  Validate core stac object only without extensions.

- **--extensions**

  Validate extensions only.

- **--links**

  Additionally validate links. Only works with default mode.

- **--assets**

  Additionally validate assets. Only works with default mode.

- **-c**, **--custom** TEXT

  Validate against a custom schema (local filepath or remote schema).

- **-r**, **--recursive**

  Recursively validate all related stac objects.

- **-m**, **--max-depth** INTEGER

  Maximum depth to traverse when recursing. Omit this argument to get full recursion. Ignored if \`recursive == False\`.

- **--item-collection**

  Validate item collection response. Can be combined with **--pages**. Defaults to one page.

- **-p**, **--pages** INTEGER

  Maximum number of pages to validate via **--itemcollection**. Defaults to one page.

- **-v**, **--verbose**

  Enables verbose output for recursive mode.

- **--no\_output**

  Do not print output to console.

- **--log\_file** TEXT

  Save full recursive output to log file (local filepath).

- **--version**

  Show the version and exit.

- **--help**

  Show this message and exit.
