Command Line Tools
June 24, 2026 · Our "schemamarkup" CLI is now stable for general use and automation.
You can now use the new schemamarkup CLI for automation and batch processing! Similar to the interactive playground, you can validate and convert structured data… but from the command line. To get started, download a pre-built binary from the installation section or use our Homebrew tap.
brew install curiolane/tap/schemamarkupOnce installed, try the validate or export sub-command. For example, when running validate, you'll see the same messages (including metadata and optional source text excerpts) that would appear in the playground.
$ schemamarkup validate -i public/wireless-headphones.html --text-excerpts@@@ wireless-headphones.html on line 10
ERROR service/schema-org#UnexpectedPredicateNode
Unexpected value for "availability" property.
* predicateName: availability
* [availability]: https://schema.org/availability
8 | <meta property="schema:priceCurrency" content="USD" />
9 | <span property="schema:price">79.99</span>
10 > <span property="schema:availability">in stock now</span>
^^^^^^^^^^^^
11 | </div>
12 | </div>For SEO Hints, use the --service option for additional validation (similar to the Rich Results Test tool).
schemamarkup validate -i public/wireless-headphones.html --service=google-seo-hintsFor more information and examples of all available commands, refer to the documentation pages or run schemamarkup --help. If you are integrating the CLI into automation environments, look for the --json options, low-level process command, and agentic mcp command.