Overview
The W3C Markup Validation Service is the free checker from the World Wide Web Consortium, the body that publishes web standards. It reads a web document and reports where the markup breaks the rules of the document type it declares.
There are three ways to give it a page: a public address, a file upload, or pasting the markup directly, including fragments. Options let you set the character encoding and document type by hand, group messages by type, show the source alongside the errors, show a document outline and clean the markup with HTML Tidy. The validator covers HTML up to 4.01, XHTML 1.0 and 1.1, MathML, SMIL and SVG, and other documents that declare an SGML or XML DTD.
This is the older, DTD-based validator. Its HTML5 support is marked experimental, and for modern HTML the W3C points people to its newer checker at validator.w3.org/nu, which also has the documented web service interface. The about page is clear that validation is not a full quality check. The service is open source and funded by the W3C and donations.
Categories
Features
- Validation by address, file upload or direct input
- Supports HTML up to 4.01, XHTML 1.0 and 1.1, MathML, SMIL and SVG
- Manual override of character encoding and document type
- Messages listed in order or grouped by type
- Option to show source, document outline and verbose output
- Optional clean-up of markup with HTML Tidy
- Links to the W3C CSS validator, feed validator and link checker
- Documented web service interface through the newer HTML checker
Privacy
See the official privacy policy. Pages you validate by address are fetched by the W3C server, and uploaded or pasted markup is sent to it for checking.
Pros & Cons
Pros
- Run by the organisation that publishes the standards
- Free, with no account and no advertising
- Open source
- Handles older document types that newer checkers ignore
Cons
- HTML5 checking here is experimental; the separate Nu checker is the one to use for modern HTML
- Passing validation does not mean a page is accessible or well built
- The interface and messages are dated and technical
- The old SOAP interface is obsolete
Community Reviews (0)
No written reviews yet — be the first to rate this tool.