Structured Data Testing Tool
Inspect JSON-LD, microdata and RDFa in HTML files or page responses with a CLI.
Community support
Upvotes come from SearchEngineAnswer members. GitHub stars and reader reviews are counted separately.
Claim this tool if you maintain it.
- Best for
- Structured data
- Setup required
- Node.js and npm. Rendered browser tests require separate Puppeteer setup.
- Costs to check
- The package is open source. Budget for maintenance checks before relying on it in CI.
- License in catalog
- ISC
GitHub repository
- GitHub stars
- 82
- Forks
- 19
- Last push
- 2023-07-31
- Primary language
- JavaScript
GitHub snapshot from . Stars count GitHub bookmarks. Reader ratings appear separately below.
How to install Structured Data Testing Tool
- Install Node.js and use npm install -g structured-data-testing-tool in a test environment.
- Run sdtt --help and prepare a saved HTML file with a known Article JSON-LD block.
First tutorial for Structured Data Testing Tool
- Run sdtt --file article.html --schemas jsonld:Article and check the reported schema for the fixture.
- Remove the Article block in a second copy and rerun the command to confirm the test can distinguish the two inputs.
Where Structured Data Testing Tool fits
Use this to compare a saved HTML fixture with expected structured data and detect markup regressions.
- When to choose another tool
- Use a current search-engine validator when the question is eligibility for a specific search appearance.
- First evaluation
- Inspect a saved article fixture with known JSON-LD, then repeat after removing the Article markup.
- How to interpret the result
- Detection tells you whether the parser found the markup. Check current feature requirements separately before claiming eligibility.
Reviews and discussion
Reader reviews
Be the first to share your experience with this tool.
Discussion
Ask a question or share a setup tip.
Flag an outdated detail
Include the field that needs updating and a source link. Copy your draft, then use the corrections policy to contact the editorial team.
Write a review or join the discussion