htmltest
Command-line tool that tests generated static HTML for broken links, missing images and markup problems.
These buttons open the developer's own site, repository or store listing in a new tab. wares.gg does not host downloads.
1 more ways to get htmltest
Package managers
- Homebrew
brew install htmltest
About htmltest
htmltest checks the HTML output of a static site generator for problems such as broken links and images. It is positioned as an alternative to html-proofer for people who do not want to set up a Ruby environment or who want something faster.
It is written in Go and the repository includes a Dockerfile, so it can run as a standalone binary or in a container, which makes it practical in a CI pipeline after a site build.
Strengths
- No Ruby environment needed, unlike html-proofer
- Single Go program that also runs in Docker
- Fits into a build or CI step for static sites
Limitations
- Works on generated files, not on live dynamic sites
- Command line only, with no graphical interface
Details
- Pricing
- FreeFree and open source.
- License
- Open source, license not stated
- Developer
- wjdp
- Platforms
- Command line
- How it runs
- Downloadable app
- Account
- Not required
- Works offline
- Yes
- Best suited for
- Static site authors checking builds for broken links in CI
- Categories
- Developer tools, Website testing
- Last verified
- Added
- Provenance
- Facts checked against the developer's own pages and store listings, 1 sources on file.
Alternatives to htmltest
Compare allSoftware that can replace htmltest for an important use case, and what changes if you switch.
HTMLProofer
A Ruby tool that tests rendered HTML files for broken links, images and markup problems.
HTMLProofer does the same checks on generated HTML files but requires a Ruby environment and can also be used as a Ruby library.
linkinator
A command-line broken link checker that crawls websites and local files to validate every link.
linkinator is MIT-licensed and checks local files as well as live websites, but requires Node.js unless run in Docker.
muffet
A fast command-line link checker, written in Go, that crawls a website to find broken links.
muffet is a Go command-line link checker that crawls live websites concurrently rather than generated files, focused only on links.
LinkChecker
Open-source command-line tool that checks links in web pages or crawls whole websites for broken ones.
LinkChecker is a GPL Python tool that crawls whole sites with many output formats, and requires Python 3.10 or later.
Similar software
Related functionality, not necessarily a direct replacement.
Nu Html Checker
The W3C's online checker that tests HTML documents against current HTML conformance rules.
W3C Link Checker
An online W3C tool that finds broken links and anchors on a web page or whole site.
webhint
A customizable linting tool that checks websites for accessibility, speed, compatibility and security problems.
Lighthouse CI
A set of tools that runs Lighthouse audits on every commit and tracks results over time.
Unlighthouse
Open-source command-line tool that runs Google Lighthouse on every page of a site in parallel.