Newsletter
Join the Community
Subscribe to our newsletter for the latest news and updates
The Nu Html Checker (vnu) is an open-source tool for catching mistakes in HTML, CSS, and SVG.
The Nu Html Checker (vnu) is an open-source developer tool that catches mistakes in HTML, CSS, and SVG, usable as a command-line program, an HTTP service, or a Java library.
The Nu Html Checker (vnu) is a standards validator that checks HTML, CSS, and SVG documents for conformance to web standards and reports errors and warnings. It is the engine behind validator.w3.org/nu and is developed in the validator/validator repository on GitHub. The checker accepts input from files, directories, URLs, or direct HTTP requests and produces human-readable error messages.
docker run -it --rm -p 8888:8888 ghcr.io/validator/validator:latest.vnu-jar, via Homebrew as vnu, or run with jbang.nu.validator:validator artifact to Maven or Gradle to validate HTML programmatically in your own Java code.--skip-non-html.Run the checker from the command line with java -jar ~/vnu.jar [OPTIONS]... FILES|DIRECTORY|URL... or via Docker, for example docker run --rm -v /var/www/html:/data ghcr.io/validator/validator:latest vnu --skip-non-html /data. The checker parses each document, compares it against the relevant standards, and prints messages for each error or warning. You can also start it as a local HTTP service and use the bundled HTTP client for faster repeated checks.
The Nu Html Checker is free and open source. All release artifacts — the precompiled binaries, vnu.jar, vnu.war, and Docker image — are available without charge from GitHub.
Yes, the Nu Html Checker is free and open source. You can download the binaries, jar, war, or Docker image without paying a license fee, and the source code is available on GitHub.
It validates HTML, CSS, and SVG documents for conformance to web standards, catching unintended mistakes such as incorrect nesting, invalid attributes, or malformed CSS.
Only if you use the vnu.jar or vnu.war packages — those require Java 17 or above. The precompiled Linux, Windows, and macOS binaries include an embedded Java runtime and run without any existing Java installation.
Pass the directory as the target argument, e.g., java -jar vnu.jar /path/to/directory, or use the Docker command with a mounted volume: docker run --rm -v /var/www/html:/data ghcr.io/validator/validator:latest vnu --skip-non-html /data.
Yes, you can run it as a standalone web server using the precompiled binaries or vnu.jar, or deploy vnu.war inside a servlet container such as Apache Tomcat. Once running, it exposes a REST API on port 8888 by default.
