🌐
W3C
validator.w3.org
The W3C Markup Validation Service
Note: file upload may not work with Internet Explorer on some versions of Windows XP Service Pack 2, see our information page on the W3C QA Website. ... This validator checks the markup validity of Web documents in HTML, XHTML, SMIL, MathML, etc. If you wish to validate specific content such as RSS/Atom feeds or CSS stylesheets, MobileOK content, or to find broken links, there are other validators and tools available.
W3 Nu Html Checker
This tool is an ongoing experiment in better HTML checking, and its behavior remains subject to change · Show sourceoutlineimage reporterrors & warnings onlycheck error pagesUser-Agent Accept-Language
W3C Feed Validation Service, for Atom and RSS
This is the W3C Feed Validation Service, a free service that checks the syntax of Atom or RSS feeds.
w3 Validator
This Link Checker looks for issues in links, anchors and referenced objects in a Web page, CSS style sheet, or recursively on a whole Web site. For best results, it is recommended to first ensure that the documents checked use Valid (X)HTML Markup and CSS. The Link Checker is part of the W3C's ...
validator service by the World Wide Web Consortium
The Markup Validation Service is a validator by the World Wide Web Consortium (W3C) that allows Internet users to check pre-HTML5 HTML and XHTML documents for well-formed markup against a document type … Wikipedia
🌐
W3C
validator.w3.org › dev › tests
The W3C Markup Validation Service: Tests
validate - with v.w.o - view: sample HTML5 document using a construct that should pass checking, with a warning output.
🌐
Wikipedia
en.wikipedia.org › wiki › W3C_Markup_Validation_Service
W3C Markup Validation Service - Wikipedia
August 8, 2025 - In November 2008, the W3C released the validator.nu HTML5 engine and the ability to check documents for conformance to HTML5.
🌐
W3C
w3.org › blog › 2008 › w3c-validator-now-with-html5
W3C Validator, now with HTML5 flavour | 2008 | Blog | W3C
The solution, indeed, is in resisting ... within W3C or by someone in the Web Community. We already provided a home for the feed validator. And yesterday, we launched a new version of the markup validator which integrates with the validator.nu engine for HTML5 suppo...
🌐
npm
npmjs.com › package › w3c-html-validator
w3c-html-validator - npm
HTML validation messages containing any of the strings or matching any of the regexes will be skipped. Empty lines and lines starting with a hash sign (#) are treated as comments and do nothing. ... # Ignore Config for w3c-html-validator /^Duplicate ID/ /^Element .blockquote.
      » npm install w3c-html-validator
    
Published   Jan 21, 2026
Version   2.2.0
Author   Thomas Davis
🌐
Stack Overflow
stackoverflow.com › questions › 22129931 › add-w3c-html5-validator-to-website
html - Add W3C HTML5 Validator to website - Stack Overflow
<script type="text/javascript"> window.onload =function () { var submitbutton = document.getElementById("q"); if (submitbutton.addEventListener) { submitbutton.addEventListener("click", function () { if (submitbutton.value == 'Validate') { submitbutton.value = ''; } }); } } </script> <div id="header"> <form action="http://validator.w3.org/check" id="newsearch" method= "get" name="newsearch"> <input class="textinput2" id="q" maxlength="120" name="uri" placeholder="Enter URL" size="21" type="text"> <input class= "button2" type="submit" value="Validate"> </form> <div class="clear"></div> </div>
🌐
GitHub
github.com › w3c › markup-validator
GitHub - w3c/markup-validator · GitHub
The tool consists of a perl-based CGI script that uses DTD to verify the validity of HTML3, HTML4 and XHTML documents; it also incorporates by reference the NU Validator used to validate HTML5 / HTML LS documents. W3C Software License and Notice.
Starred by 137 users
Forked by 32 users
Languages   HTML 79.1% | Perl 13.3% | Python 2.2% | CSS 2.1% | Clean 1.3% | JavaScript 0.9%
Find elsewhere
🌐
Visual Studio Marketplace
marketplace.visualstudio.com › items
W3C Web Validator - Visual Studio Marketplace
Extension for Visual Studio Code - Check the validity of your HTML/CSS files in one click
🌐
W3C
jigsaw.w3.org › css-validator
The W3C CSS Validation Service
Check Cascading Style Sheets (CSS) and (X)HTML documents with style sheets · Enter the URI of a document (HTML with CSS or CSS only) you would like validated:
🌐
Stack Overflow
stackoverflow.com › questions › 10188506 › w3-validator-for-html5
html - W3 validator for HTML5 - Stack Overflow
If you want to validate a page at a URL as XHTML with the W3C HTML validator, and the page has <!DOCTYPE html> as its doctype, then you must serve the page with an XML mime type such as application/xhtml+xml to the validator. This is a good thing. Only if you use such a mime type will browsers treat your XHTML as XHTML, otherwise they will treat it as HTML and all your careful XHTML will be be so much tag soup. With HTML5, validators now behave the same way as browsers.
🌐
W3C
validator.w3.org › todo.html
Development Roadmap for The W3C Markup Validation Service
The current validator is mostly based on an DTD parser, with an XML parser used only for some checks. It also plugs into an html5 parser for the validation of HTML5 content.
🌐
FreeFormatter
freeformatter.com › html-validator.html
Free Online HTML Validator - FreeFormatter.com
Validates HTML files for compliance against the W3C standards and performs linting to assess code quality against best practices. Find missing or unbalanced HTML tags in your documents, stray characters, duplicate IDs, missing or invalid attributes and other recommendations. Supports HTML5, SVG ...
🌐
Raymii
raymii.org › s › tutorials › Local_W3C_HTML5_Validator_Server.html
Local W3C HTML5 Validator Server - Raymii.org
This tutorial shows you how to set up a local instance of the w3c html validator, including HTML5 validation support via a local instance of the Validator.nu HTML5 validator. The online w3 validator has strict limits and will ban you for some time if you validate to often. So if you for example ...
🌐
GitHub
github.com › qualweb › html-validator
GitHub - qualweb/html-validator: W3C html5 markup validator
W3C html5 markup validator · $ git clone https://github.com/qualweb/html-validator.git $ cd html-validator $ npm install · Java must be installed in the system. $ npm run start · http://localhost:5555/url/:url ·
Author   qualweb
🌐
Validator
html5.validator.nu
Validator.nu (X)HTML5 Validator - Nu Html Checker
This tool is an ongoing experiment in better HTML checking, and its behavior remains subject to change · About this checker • Report an issue • Version: 22.3.8
🌐
W3C
validator.w3.org › whatsnew.html
What's New at The W3C Markup Validation Service
Bug fix: direct input when overriding ... to the HTML5 validator. Bug fix: "wide characters" in HTML-Tidy's output caused an error which prevented the whole tidied output from being displayed. Bug fix: there were several errors in the JSON output. Bug fix: the description for missing xmlns errors contained an example for XHTML ...
🌐
W3C
w3.org › developers › tools
Validators and tools | Developers | W3C
This page lists the validators and web developer tools.
Top answer
1 of 2
6

Maintainer of the current W3C HTML Checker (validator) here. I think it's important to understand the intended purpose of the current HTML checker, which is different from the purpose of the legacy W3C Markup Validator.

The purpose of the checker is documented at https://validator.w3.org/nu/about.html#why-validate:

The core reason to run your HTML documents through a conformance checker is simple: To catch unintended mistakes—mistakes you might have otherwise missed—so that you can fix them.

Beyond that, some document-conformance requirements (validity rules) in the HTML spec are there to help you and the users of your documents avoid certain kinds of potential problems.

There are some markup cases defined as errors because they are potential problems for accessibility, usability, interoperability, security, or maintainability—or because they can result in poor performance, or that might cause your scripts to fail in ways that are hard to troubleshoot. Along with those, some markup cases are defined as errors because they can cause you to run into potential problems in HTML parsing and error-handling behavior—so that, say, you’d end up with some unintuitive, unexpected result in the DOM

Validating your documents alerts you to those potential problems.

So as far as your question about "are better approaches to ensure contemporary standards-compliant markup", the answer is that it's not an either-or thing; there are a variety of approaches and the W3C HTML Checker is just one of them, and its goal isn't to be the single way to determine anything but instead to just help you catch mistakes you might otherwise miss and that might cause unexpected problems for your users.


As far as ways to get alerted to specific device issues or browser-implementation issues, we don’t have good automated checking tools for that, but a couple of things which are huge help there are:

  • https://caniuse.com/ — detailed information about the level of support for particular web-runtime features in different browsers, and in different versions of those browsers, and in release of the browsers for mobile devices vs desktop

  • https://wptdashboard.appspot.com/ — current test results across all major browser engines for dozens of web-runtime features/specs; if https://caniuse.com/ doesn’t have information about a particular feature, you can look through this dashboard and browse to the directory that has tests for that feature, and find whether a browser passes the tests for the feature

But as far as good automated tools we do actually have for checking other things, here are two:

  • https://validator.w3.org/i18n-checker/ — W3C Internationalization Checker
  • https://observatory.mozilla.org/ — for doing a security assessment of the content of your site
2 of 2
-1

I recently faced a problem with mentioned above W3C HTML Checker. I respect a huge amount of work that was done by author of this validator, but it did not allow me in any way a tag <script type="text/vbscript" src="file.vbs">. It was said to change type value to empty string, a JavaScript MIME type, or module, which makes my page useless.

I know than VBScript language is rarely used now, it was just a test page, but let me share with you less tricky alternative, as good as the first one for HTML error checking.

Maintainer of the current JsonFormatter (validator) is here