Duplicate and thin content checker

Find exact duplicates by content hash, near-duplicates, thin pages, low text ratio, boilerplate and placeholder text across a crawl, on a saved scan, offline.

What it does

Exact and near duplicates

Exact copies are found by content hash. Near-duplicates are found with simhash and LSH, so pages are not compared pair by pair, and the similarity threshold defaults to 0.92. Each finding lists the group of pages, so you can pick one to keep and consolidate the rest.

  • Exact duplicates by content hash
  • Near-duplicates above a threshold you can set from 0 to 1
  • Only indexable pages are compared, unless you pass --all-pages
  • Groups listed with their pages

Thin and placeholder content

A page with too few words, with little visible text compared with its markup, or with Lorem Ipsum in its main content is reported on its own. These problems rarely need a rewrite of the whole site. Usually a template, a draft or a filter page is the cause.

  • Thin content by word count
  • Low text-to-HTML ratio
  • Lorem Ipsum in the main content area

Content analysis

Beyond duplicates, the tools can group header, navigation and footer markup to see whether the boilerplate really is the same everywhere, and score readability. Readability is an optional content check based on the Flesch reading-ease score.

  • boilerplate-report for template markup
  • Optional readability check
  • Semantic similarity only from vectors you supply

Three steps, one saved scan

  1. Crawl the site into a scan

    Run a crawl. It saves a native SQLite scan that keeps each page's extracted text for offline analysis.

  2. Compare every page body

    Exact copies are found by content hash. Near-duplicates are found with simhash and LSH, so pages are not compared pair by pair.

  3. Read the groups and fix them

    Each finding lists the pages in its group. Consolidate with a canonical tag or rewrite the pages so each one serves its own search intent.

Checks in this feature

CheckWhat it meansSeverityEvidence
DUPLICATE_BY_HASHThe page body is identical to another page's bodyImportantHash group with the URLs that share it
NEAR_DUPLICATEThe page text is almost identical to another page's text, above the similarity threshold (default 0.92)ImportantCluster of similar URLs
THIN_CONTENTThe page has too few words to stand on its own in searchImportantWord count for the page
LOW_TEXT_RATIOVisible text is a small share of the HTML, so markup outweighs contentTipText-to-HTML ratio for the page
LOREM_IPSUM_PLACEHOLDERLorem Ipsum placeholder text is in the page's main content areaImportantMatched placeholder passage
READABILITY_DIFFICULTText has a low Flesch reading-ease score. This is an optional content checkTipFlesch score for the page

One command

bash
spiderhead duplicate-check --scan ./scans/audit.sqlite

Install first: installation guide. Every command also runs as an MCP tool for AI agents.

What you need

  • A saved native scan (SQLite) from crawl-site, which retains each page's extracted text
  • Or an inline list of texts for duplicate-check
  • No API keys

Limits

  • The offline check analyzes up to 10,000 documents and 16 MiB of retained text; partial coverage is reported
  • Pages that are not indexable are skipped by default
  • Only text SpiderHead retained is compared, so it needs a crawl that kept the bodies
  • Similar is not always duplicate: a threshold is a judgement call

Questions

Does it change anything on my site?
No. The crawl and the duplicate check only read pages. The check runs offline on the saved scan file.
What is the difference between an exact duplicate and a near-duplicate?
An exact duplicate has the same content hash. A near-duplicate has different bytes but text similar enough to pass the threshold. You can change the threshold with --threshold, from 0 to 1. The default is 0.92.
Are pages that are not indexable compared?
Not by default. Only indexable pages are compared, because a page that canonicalizes to another URL is not a defect. Add --all-pages to include non-indexable pages.
Is there a limit on how many pages are compared?
Yes. The offline check analyzes up to 10,000 documents and 16 MiB of retained extracted text. If a bound is reached, the report states the exact partial coverage. It never reports a clean result for pages it did not analyze.
Where is the boilerplate check?
Header, nav and footer markup is grouped by the separate boilerplate-report command. It is not part of duplicate-check.
Do I need another tool for the duplicate checks?
No. duplicate-check reads a scan made by SpiderHead's own crawl-site. Exact-duplicate and thin-content checks from imported exports run in the sf run audit.

Try it on your own site