Skip to main content

LinkChecker

Build Status License

Check for broken links in web sites.

Features

  • recursive and multithreaded checking and site crawling

  • output in colored or normal text, HTML, SQL, CSV, XML or a sitemap graph in different formats

  • HTTP/1.1, HTTPS, FTP, mailto: and local file links support

  • restrict link checking with regular expression filters for URLs

  • proxy support

  • username/password authorization for HTTP and FTP

  • honors robots.txt exclusion protocol

  • Cookie support

  • HTML5 support

  • a command line and web interface

  • various check plugins available

Installation

Python 3.9 or later is needed. Using pip to install LinkChecker:

pip3 install linkchecker

pipx can also be used to install LinkChecker.

The version in the pip repository may be old, to find out how to get the latest code, plus platform-specific information and other advice see doc/install.txt in the source code archive.

Usage

Execute linkchecker https://www.example.com. For other options see linkchecker --help, and for more information the manual pages linkchecker(1) and linkcheckerrc(5).

Docker usage

If you do not want to install any additional libraries/dependencies you can use the Docker image which is published on GitHub Packages.

Example for external web site check:

docker run --rm -it -u $(id -u):$(id -g) ghcr.io/linkchecker/linkchecker:latest --verbose https://www.example.com

Local HTML file check:

docker run --rm -it -u $(id -u):$(id -g) -v "$PWD":/mnt ghcr.io/linkchecker/linkchecker:latest --verbose index.html

In addition to the rolling latest image, uniquely tagged images can also be found on the packages page.

Metadata

Release files for LinkChecker 10.4.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 LinkChecker 10.4.0
File Size Uploaded Provenance Actions
LinkChecker-10.4.0.tar.gz 543.9 kB Without provenance Details for LinkChecker-10.4.0.tar.gz

Built distribution (wheel)

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

Total release size: 823.4 kB

Release files / LinkChecker-10.4.0.tar.gz

Download URL LinkChecker-10.4.0.tar.gz
Size 543.9 kB
Tags Source
SHA-256 checksum
How to use checksums
6250dd29261ddd6df4be9e979bd47a759a6cfafbcaf0f7926afbe2a230aa761a
BLAKE2b-256 checksum
How to use checksums
d2fff2a00bf17165fc470d6d02eb191002902a40483a29b474672421f3bd637e
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/4.0.2 CPython/3.11.7

Release files / LinkChecker-10.4.0-py3-none-any.whl

Download URL LinkChecker-10.4.0-py3-none-any.whl
Size 279.6 kB
Tags Python 3
SHA-256 checksum
How to use checksums
83931f071916ebc2da1b5ef9b25d65360881b148f27ad9308efe1afe569feb8d
BLAKE2b-256 checksum
How to use checksums
272d693397b06cc8fef553ff84f7cdef177d5911b3defab8a5fb3f2a0308ad00
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/4.0.2 CPython/3.11.7

Security for LinkChecker 10.4.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.

No provenance found

None of the files in this release were uploaded with provenance metadata.

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.

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