Skip to content
pubscout

linkcheck

3.1.0, released a year ago by filiph.net

A very fast link-checker that crawls websites and checks integrity of links in HTML and CSS.

Quiet but busy
$ flutter pub add linkcheck
Source repository

What it does

Crawls static or local sites to check the integrity of links in HTML and CSS files. It detects broken links, missing anchors, and reports warnings or errors with specific line and column locations.

AI-written summary of version 3.1.0, based on the package's README and metadata. Report an inaccuracy

Use it when

  • You want to run link checking on your CI or before every deployment
  • You need to check static sites or local development servers for broken links and missing anchors

Skip it when

  • You need to validate Single Page Applications (SPAs) that require rendering JavaScript
  • You need to validate non-HTTP/HTTPS protocols such as FTP or telnet

Strengths

  • Significantly faster than many alternative link checkers
  • Correctly parses both HTML and CSS for URLs
  • Provides brief and meaningful output with POSIX compliance and CI exit codes

Weaknesses

  • Does not attempt to render JavaScript
  • Does not validate non-HTTP/HTTPS link schemes like FTP or mailto

Setup

Kind
Pure Dart
Effort
Low
Code generation
No
Direct dependencies
9

Can be downloaded directly, run via Docker, or activated globally via Dart pub (`dart pub global activate linkcheck`).

linkcheck :8080

Works with

Packages commonly used together with linkcheck: ones it builds on, ones built on it, and its own family.