Unix & Linux Stack Exchange is a question and answer site for users of Linux, FreeBSD and other Un*x-like operating systems. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

Please recommend a tool that checks for broken links on a web site.

not required, but would be nice to have:

  • checks standards-compliance of the HTML, CSS, Javascript, ...
  • displays permanent redirects
share|improve this question
up vote 6 down vote accepted


LinkChecker is a free, GPL licensed URL validator.


  • recursive and multithreaded checking
  • output in colored or normal text, HTML, SQL, CSV, XML or a sitemap graph in different formats
  • HTTP/1.1, HTTPS, FTP, mailto:, news:, nntp:, Telnet and local file links support
  • restriction of link checking with regular expression filters for URLs
  • proxy support
  • username/password authorization for HTTP and FTP and Telnet
  • honors robots.txt exclusion protocol
  • Cookie support
  • HTML and CSS syntax check
  • Antivirus check
  • Different interfaces: command line, GUI and web interface

It's also in Debian Lenny: aptitude install linkchecker and in the FreeBSD ports: /usr/ports/www/linkchecker

share|improve this answer
That's a great tool! I find it very useful to validate the links in my project. Thanks to both! – Barun Jan 18 '11 at 7:02
Why add a note about Lenny? Here, we are trying to keep things generic, if we can help it. – Tshepang Jan 18 '11 at 8:30
@Tshepang: Because I'm trying to be useful. Does it bother anyone? Stop being pedantic, please. – André Paramés Jan 18 '11 at 14:04
@andre It only makes sense if I mentioned in my question "Which tool can I use for checking broken web links in Debian Lenny"? And, if someone doesn't know how to find how to install it, they can always ask "How do I install linkchecker in Debian Lenny". Sorry if I come across as pedantic. – Tshepang Jan 18 '11 at 14:51
@Tshepang: I disagree. I think it's a useful note that doesn't take away from anyone else - the source is still in the first link. Having said that, if a moderator asks me to remove it I will do so. – André Paramés Jan 18 '11 at 15:40

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.