Skip to main content

🔎 SEO Lens

A free, open-source SEO crawler and site audit tool. It crawls up to 10,000 URLs per run and gives you a health dashboard, an Excel report and a site architecture map. It runs on your own computer, so there's no account, no subscription and no tracking.

Made by Supriyo Mallick for SEOs, freelancers and small teams who can't justify a paid crawler licence.

Try it online: seolens.streamlit.app (online: up to 500 URLs per crawl) · Install it: pipx install seolens (up to 10,000 URLs) · PyPI

Install

You need Python 3.10 or newer.

pipx install seolens
seolens

The app opens in your browser at http://localhost:8501. (pip install seolens works too.)

Optional JavaScript rendering, for sites built with React, Vue and similar frameworks:

pipx install "seolens[js]"
playwright install chromium

JavaScript rendering uses Microsoft Edge or Google Chrome if one is installed, and Chromium otherwise.

From source:

git clone https://github.com/growthlab-supriyo/seolens && cd seolens
pip install -e ".[dev]"
seolens

What it checks

Area Checks
Crawlability & indexing Status codes, redirect chains and loops, noindex, X-Robots-Tag, canonicals (missing, conflicting, broken, chained), robots.txt, XML sitemaps and sitemap indexes
On-page Titles, meta descriptions, H1–H3, heading levels, title vs H1, viewport, word count
Content Thin pages, exact duplicates, near-duplicates (MinHash), placeholder text, date consistency
Internal linking Inlinks and outlinks, anchors, broken links, click depth, orphan pages, Link Score (PageRank-style)
Markup JSON-LD, Microdata, RDFa, missing schema properties, Open Graph, Twitter cards
International hreflang (return links, codes, targets), html lang, og:locale
Performance signals Heavy images, render-blocking scripts, third-party scripts, page weight

Dashboard tabs: Overview (health score, crawled-pages breakdown, errors, warnings and notices, thematic scores, top issues, click depth), Issues, All pages (filter and export CSV), Response codes, Blocked & failed, Broken links and Site health. The Excel report has the same data plus a Summary sheet with quick wins.

Fast, and polite

  • Adaptive speed (AIMD). It starts at 10 pages at a time on Medium. It speeds up while the site answers quickly and slows down gradually only when the site stays slow. A few slow pages don't change anything.
  • When a site says it is overloaded (HTTP 429 or 503), the crawler halves its speed and waits for the Retry-After time the site asks for.
  • It follows robots.txt, including Crawl-delay.
  • Pause and resume. Every queued URL and crawled page is saved to SQLite as the crawl runs. You can pause a crawl, close the app, and resume it later. Finish now builds the report from the pages crawled so far.

Honest crawling: what it does with Cloudflare and firewalls

SEO Lens does not bypass Cloudflare, CAPTCHAs or other bot protection, and it never disguises itself as a person's browser. It sends SEOLens/<version> in its User-Agent so site owners can see who is crawling them. What it does instead:

  • Detects and labels each blocked page: Cloudflare challenge, bot check or CAPTCHA, 403, rate limiting (429), server busy (503), timeouts and connection errors. Blocked pages appear in the Blocked & failed tab and the Excel summary, never silently missing, so an incomplete crawl can't pass for a complete audit.
  • Doesn't hammer a blocked page. A challenge page is not retried. A 403 is retried once, and only if the site was serving pages normally until then.
  • Authorized access for sites you own. In Cloudflare, add a WAF custom rule that skips security checks for a secret request header (or for the SEOLens User-Agent). Then add that header under Authorized access in the app. HTTP Basic login is supported too. Credentials are sent only to the site being audited, never to external links, images or redirects to other hosts. They are stored in the local database on your computer.

Command line

seolens crawl example.com --max 2000 --speed Medium --render off
seolens crawl --list urls.txt

Where your data lives

The database and reports are stored in ~/.seolens/ (C:\Users\<you>\.seolens\ on Windows). To use another folder, set SEOLENS_HOME. Nothing is sent anywhere else.

Limits

  • 10,000 URLs per crawl.
  • Performance checks are signals from the HTML, not measured Core Web Vitals. PageSpeed Insights integration is planned.
  • Word count is approximate on pages with a lot of interface text.

Development

pip install -e ".[dev]"
pytest -q tests

The tests run a small local website with redirects, a 404, a slow page, a rate-limited page, a Cloudflare-style challenge and a protected page.

File What it does
seolens/crawler.py Discovery, fetch loop, blocked-page classification, saving and resuming
seolens/throttle.py The adaptive concurrency controller
seolens/analyze.py, checks.py, sitehealth.py Per-page analysis, cross-page checks, site-wide checks
seolens/report.py Excel report and site architecture map
seolens/store.py SQLite (WAL)
seolens/worker.py Runs the crawl in its own process
seolens/app.py, overview.py Streamlit dashboard

Online version: streamlit_app.py runs SEO Lens in online mode (SEOLENS_ONLINE=1: 500 URLs per crawl, no JavaScript rendering, robots.txt always respected, no login fields) on Streamlit Community Cloud. deploy/docker/Dockerfile runs the same online version in Docker.

MIT licence.

Metadata

Release files for seolens 0.2.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for seolens 0.2.0
File Size Uploaded Provenance Actions
seolens-0.2.0.tar.gz 129.0 kB With provenance Details for seolens-0.2.0.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for seolens 0.2.0
File Interpreter ABI Platform Actions
seolens-0.2.0-py3-none-any.whl Python 3 none any Details for seolens-0.2.0-py3-none-any.whl

Total release size: 257.8 kB

Release files / seolens-0.2.0.tar.gz

Download URL seolens-0.2.0.tar.gz
Size 129.0 kB
Tags Source
SHA-256 checksum
How to use checksums
6c1781d65f2d9ef316791dea5a749078d96ae8921cb876a1757bd41bab0f0251
BLAKE2b-256 checksum
How to use checksums
78b305a785e97d24abee3aa1431158e3364a0576115735aaf4d79eebd7825263
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 7, 2026.

Transparency log

Release files / seolens-0.2.0-py3-none-any.whl

Download URL seolens-0.2.0-py3-none-any.whl
Size 128.8 kB
Tags Python 3
SHA-256 checksum
How to use checksums
39fc1c2baf387ab518541d90f21a1062b70a6fbf7f8fecabcd08e8a4cee15edf
BLAKE2b-256 checksum
How to use checksums
82c2c19fcca28c87dbcfdfc7fda0f41a82b845565c76c8407f6e953757657536
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 7, 2026.

Transparency log

Security for seolens 0.2.0

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

Full provenance

Both files in this release have been uploaded with provenance metadata.

Select from 2 files

Attestation for seolens-0.2.0.tar.gz

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 7, 2026.

Transparency log

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Release history Release notifications | RSS feed

This release

0.2.0 This release

2 release files Full provenance

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page