Skip to content


Subversion checkout URL

You can clone with
Download ZIP
Yet another link checker. This one only checks local files.
Branch: master

Fetching latest commit…

Cannot retrieve the latest commit at this time

Failed to load latest commit information.


I got tired of looking for a broken link checker for my HTML files that existed locally. After two bourbon manhattans, I decided to write one.


Super simple: just run

perl _input_dir_ _[caseCheck]_

And that's it. YALC will recurse through all .html and .htm files in [input_dir] and subdirectories, examining any anchor tag (<a>) that doesn't go out to the web (therefore, local files only). If the file doesn't exist, it'll print a message.

If you want to check case-sensitivity with the links, just pass the letter y as a second argument. I tested that this works even on a case-insensitive system like Mac OS X.

The link checker also checks hash references; for example, <a href="foo.html#bar">. Even if foo.html exists, if the bar reference does not, there will be a complaint.

Something went wrong with that request. Please try again.