mkdocs-htmlproofer-plugin
A MkDocs plugin that validates URL in rendered HTML files
Decision gist · record as of 2026-08-14
Yes, if you need external URL validation in MkDocs or want build-time link checking with fine-grained control. The plugin is actively maintained, has no vulnerabilities, and installs with low friction. However, if you only need anchor validation and are on MkDocs 1.6+, consider using MkDocs' native validation instead. Useful for documentation quality gates in CI/CD pipelines.AI-flagged interpretation of the facts on this page — verify before relying
Before you install
- Requires Python >= 3.10 and MkDocs >= 1.4.0; note that MkDocs 1.6+ has native anchor validation, which may overlap with this plugin's functionality.
- Low friction: pure Python wheel with four runtime dependencies (mkdocs, Markdown, requests, beautifulsoup4).
- Actively maintained as of 2026-02-23 with no known vulnerabilities.
License · maintenance · safety
MIT (permissive) — MIT license (permissive); you can use, modify, and distribute this plugin freely in both open-source and proprietary projects with minimal restrictions.
last release 2026-02-23 (172 days) · last repo commit 2026-02-23 · 48 stars
0 known vulnerabilities (OSV.dev, 2026-08-14) · 96,906 downloads/mo, #13,186 on PyPI
Alternatives
Verify before relying
pip install mkdocs-htmlproofer-plugin
# In mkdocs.yml:
plugins:
- search
- htmlproofer:
raise_error_after_finish: true- Performance impact when validating large documentation sites with many external URLs.
- How the plugin handles rate limiting or throttling on external URL checks.
- Specific behavior when encountering redirects (301, 302, etc.) during URL validation.
What it is and what it does
This plugin integrates into MkDocs to automatically check that all URLs and anchors in your rendered HTML documentation are valid. It can validate internal anchor links, external URLs, or both, and optionally fail your build if broken links are found. You configure it in mkdocs.yml with options to ignore specific URLs or pages, retry failed requests, and control concurrency via worker threads.
The plugin uses requests to fetch remote content and beautifulsoup4 to parse HTML and extract links. It supports wildcard patterns for excluding URLs and pages, environment variable configuration for toggling during local development, and detailed error reporting. Since MkDocs 1.6+ added native anchor validation, this plugin is most useful if you need external URL checking or more granular control over link validation behavior.
Use it for
- Validate all internal anchor links in a large documentation site before deployment.
- Check external URLs in documentation to catch link rot and broken references.
- Fail CI/CD builds when documentation contains broken links, enforcing link quality.
- Validate documentation templates and rendered output including headers and footers.
- Exclude known-problematic URLs (private services, rate-limited APIs) while checking the rest.
Worth the install?
AI-flagged interpretation of the facts on this page. Verify before relying on it.
Yes, if you need external URL validation in MkDocs or want build-time link checking with fine-grained control.
The plugin is actively maintained, has no vulnerabilities, and installs with low friction. However, if you only need anchor validation and are on MkDocs 1.6+, consider using MkDocs' native validation instead. Useful for documentation quality gates in CI/CD pipelines.
Install
mkdocs-htmlproofer-plugin on PyPI
Before you install
Low friction: pure Python wheel with four runtime dependencies (mkdocs, Markdown, requests, beautifulsoup4). Actively maintained as of 2026-02-23 with no known vulnerabilities.
Requires Python >= 3.10 and MkDocs >= 1.4.0; note that MkDocs 1.6+ has native anchor validation, which may overlap with this plugin's functionality.
License in practice
MIT license (permissive); you can use, modify, and distribute this plugin freely in both open-source and proprietary projects with minimal restrictions.
Quickstart
pip install mkdocs-htmlproofer-plugin
# In mkdocs.yml:
plugins:
- search
- htmlproofer:
raise_error_after_finish: true
Verify before relying
- Performance impact when validating large documentation sites with many external URLs.
- How the plugin handles rate limiting or throttling on external URL checks.
- Specific behavior when encountering redirects (301, 302, etc.) during URL validation.
Package facts
| License | MIT permissive |
| Python support | Supports the current Python release >=3.10 |
| Install friction | Low. Pure-Python wheel |
| Runtime dependencies | 4 packagesmkdocsMarkdownrequestsbeautifulsoup4 |
| Maintenance | Actively maintained 172 days since the last release |
| Last repo commit | |
| First released | |
| Downloads | 96,906 / month, #13,186 on PyPI 30-day window, as of 2026-08-14 |
| Known vulnerabilities | None known OSV.dev, checked 2026-08-14 |
| Classifiers | Development Status :: 5 - Production/StableIntended Audience :: DevelopersIntended Audience :: Information TechnologyLicense :: OSI Approved :: MIT LicenseProgramming Language :: PythonProgramming Language :: Python :: 3 :: OnlyProgramming Language :: Python :: 3.10Programming Language :: Python :: 3.11Programming Language :: Python :: 3.12 |
Evidence: mkdocs_htmlproofer_plugin-1.5.0-py3-none-any.whl
Tags
Let your AI agent find packages like this
Example. Real query, live index.
You found this page by searching. An agent finds it by wishing: SkillFed indexes 14,416 PyPI packages by what they can do, searchable in plain language.
wish › “mkdocs link validation”
- mkdocs-htmlproofer-pluginA MkDocs plugin that validates URLs and anchors in rendered HTML…
- mkdocs-link-markerA MkDocs plugin that automatically marks external links and email…
- mkdocs-autorefsA MkDocs plugin that automatically creates cross-page links to…
Give your agent the search over MCP, or paste the wish link into any chat.
More Quality Assurance packages
Coverage.py measures which lines of Python code are executed during test runs, reporting coverage percentages and identifying untested code paths.
Install it if you want to measure test completeness or enforce coverage thresholds in your project.
Ruff is a Python linter and code formatter written in Rust that combines linting, formatting, and code fixing into a single tool, replacing Flake8, Black, isort, and related utilities.
Pexpect spawns and controls interactive console applications by sending input and matching output patterns, automating tasks that would otherwise require manual interaction.
Black reformats Python source code to a consistent style by parsing entire files and rewriting them according to an opinionated, deterministic set of rules, eliminating manual formatting decisions.
pytest-xdist distributes pytest tests across multiple CPU cores or machines to speed up test execution, with the simplest usage being `pytest -n auto` to spawn workers equal to available CPUs.
Install it if your test suite takes long enough that parallelization would save meaningful time.
Validates AWS CloudFormation templates in YAML or JSON format against resource provider schemas and best practices, checking property values and configuration correctness.
Install it if you work with CloudFormation templates.
See also mkdocs-autorefs · mkdocs-video · mkdocs-include-markdown-plugin · mkdocs-redirects · mkdocs-exclude · mkdocs-macros-plugin · mkdocs-rss-plugin · mkdocs-plugin-inline-svg · mkdocs-git-revision-date-plugin · mkdocs