LinkChecker is a free, GPL-licensed website validator that checks links in web documents or full websites. It supports recursive and multithreaded checking, various output formats (text, HTML, SQL, CSV, XML), proxy support, and honors the robots.txt exclusion protocol. The current version is 10.6.0 and it is actively maintained with frequent releases, often multiple times a year.
pip install linkcheckerVerified import paths — ran on the pinned version, not inferred.
To check a website for broken links, execute the `linkchecker` command followed by the URL in your terminal. This command will recursively validate pages starting from the given URL and check external links without recursing into them.
Ensure you are running Python 3.9+ and install LinkChecker version 10.0.0 or later.
Upgrade your Python environment to 3.9 or newer before installing LinkChecker.
If you rely on NNTP or Telnet link checking, you will need to use an older version of LinkChecker or find an alternative solution for these protocols.
Upgrade to LinkChecker 10.6.0 or later to ensure proper HTTPS certificate verification for redirected links.
To suppress these warnings, use the `--ignore-warnings=http-redirected` command-line option or configure `ignorewarningsforurls` in your `.linkcheckerrc` configuration file (available since v10.5.0).
Increase the default timeout duration using the `--timeout=SECONDS` command-line option (e.g., `--timeout=300` for 5 minutes).