Skip to main content

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.8 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.

Release files for LinkChecker 10.3.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.3.0
File Size Uploaded
LinkChecker-10.3.0.tar.gz 542.4 kB Details

Built distribution (wheel)

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

Total release size: 821.7 kB

Release files / LinkChecker-10.3.0.tar.gz

Download URL LinkChecker-10.3.0.tar.gz
Size 542.4 kB
Tags Source
SHA-256 checksum
How to use checksums
1741b9506d3f2b5d1243cc2918f5e5813134fcb77a93dbd38b23e0d088940046
BLAKE2b-256 checksum
How to use checksums
502087e21e7ab09e699e19fe1ad81033a55bdb0f719b7ce2fe43b43a3a229b36
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.2 CPython/3.11.5

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

Download URL LinkChecker-10.3.0-py3-none-any.whl
Size 279.3 kB
Tags Python 3
SHA-256 checksum
How to use checksums
624f63be599b1d91c3be60d6c5e38412ddbc0f4417c49f0d1936b33c1ce62b09
BLAKE2b-256 checksum
How to use checksums
be7e7bdd64f88a3f69752af7191cf2d0258614a630f262524d514d5ab68bc8db
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.2 CPython/3.11.5

Release history Release notifications | RSS feed

10.6.0

2 release files

10.4.0

2 release files

This release

10.3.0 This release

2 release files

10.2.0

2 release files

10.1.0

2 release files

10.0.1

2 release files

10.0.0

2 release files

9.4.0

1 release file

9.3

1 release file

9.2

1 release file

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