Play n Tools

Free tools & games for everyone

Free · No sign-up · No accounts

Static site checker

Pick a built website folder and find broken links, missing files and anchors, title, heading and canonical problems, sitemap gaps and changes between builds.

Pages

How to use

  1. Build your site first (the output folder of your static site generator, or the folder you upload to your host).
  2. Optional: type your site’s address, so full links to your own domain are checked as internal links too.
  3. Pick the folder. Every page is checked at once; errors come first. Filter the list or search it, and save the whole report as a CSV file.
  4. To see what a rebuild changed, open Compare two builds and pick the old and the new output folders.
  5. Not sure what it finds? Press Try the sample site: a tiny site with mistakes made on purpose.

Keyboard

TabMove between tabs, boxes and buttons
Enter or SpaceOpen the folder picker or press the button that has focus

Tips

  • Errors are things a visitor or a search engine will trip over: links to files that are not there, a missing title, sitemap entries without a page.
  • Warnings are worth fixing: duplicate titles and descriptions, images without alt text, links to an anchor that does not exist, duplicate ids.
  • Notes are for you to judge: pages that nothing links to, files nothing uses, skipped heading levels, long titles.
  • An image used only for decoration should still have alt="" (empty), so screen readers skip it.
  • Links to other sites are never visited: the checker reads only your files and makes no network requests.
  • Links built by JavaScript at run time are not seen, because no script on your pages is run.

About the checks

Pages are read with the browser’s DOMParser, which builds an inert copy of each page: no script runs and no picture or file is fetched. A link is followed the way a web server answers it: /about/ is found as about/index.html, and /about as about.html or about/index.html. Query strings are ignored; #anchors are checked against the ids and named anchors of the target page.

Links are taken from a, area, link, img (also srcset), script, iframe, source, video, audio, embed and object, plus url(...) in stylesheets. Canonicals, titles (about 60 characters shown in results), meta descriptions (about 160), h1 headings, heading order, lang, image alt text and duplicate ids are checked per page; duplicate titles and descriptions across pages. sitemap.xml entries are matched to files, and indexable pages missing from it are listed. Pages marked noindex are expected to be left out.

The build compare reads every file as bytes and compares size and CRC-32. The tests check link resolving, the CRC against Python’s zlib and the broken-link list on random sites against an independent Python checker.

See you tomorrow!

A fresh daily puzzle every morning, and new tools added every month.

Browse every product