HTML Validator – Bulk W3C Nu Html Checker for URLs & Sitemaps
Pricing
from $3.00 / 1,000 page validateds
HTML Validator – Bulk W3C Nu Html Checker for URLs & Sitemaps
Validate HTML of many URLs, a sitemap or a same-site crawl with the official W3C Nu Html Checker (vnu.jar) running inside the Actor. Errors and warnings per page with line, column and markup extract. Also checks pasted HTML.
Pricing
from $3.00 / 1,000 page validateds
Rating
0.0
(0)
Developer
Adam Plänitz
Maintained by CommunityActor stats
0
Bookmarked
2
Total users
1
Monthly active users
a day ago
Last modified
Categories
Features
Share
Validate the HTML of many pages in one run with the Nu Html Checker (vnu.jar) – the same open-source checker that powers the W3C Markup Validation Service – running inside the Actor. Give it a list of URLs, let it read a site's sitemap or follow links on the same site, or paste HTML directly. You get the number of errors, warnings and info messages per page plus every message with line, column and a short markup extract. Export as JSON, CSV or Excel, or connect to Google Sheets, Slack, Make, Zapier, n8n or webhooks.
What does it do?
- Fetches each page (redirects are followed) and sends the HTML unchanged, with its original character encoding, to a local copy of the Nu Html Checker. HTML5 and XHTML (
application/xhtml+xml) are supported; CSS in<style>elements andstyleattributes is checked as well. - Nothing is sent to validator.w3.org – the checker runs inside the Actor container, so there are no rate limits of the public service and your pages are not uploaded to a third party.
- Find more pages (optional): read the sitemap of each site (from
robots.txt, otherwise/sitemap.xml; sitemap indexes and.xml.gzsupported) or follow links on the same site, both limited by Maximum pages per site. Include / exclude patterns androbots.txtare respected for discovered pages. - Pasted HTML: validate an HTML document from the input field without publishing it anywhere.
- Run summary with totals and the 25 most frequent messages across all pages – handy for template-level problems that repeat on every page.
Who is it for?
- Web developers and agencies: check a whole site after a release or before handing it over to a client.
- SEO and accessibility audits: invalid markup (unclosed elements, duplicate IDs, wrong nesting, bad ARIA attributes) is a common cause of rendering and accessibility problems.
- QA / CI pipelines: call the Actor via API with the HTML of a build and fail the pipeline on errors.
- Monitoring: schedule a weekly sitemap run and watch the error counts.
Input
| Field | Default | Description |
|---|---|---|
| URLs | https://apify.com, https://example.com (prefill) | Pages to validate. Bare domains are checked as https://domain/. If neither URLs nor HTML are given, the two example pages are checked. |
| HTML to validate | – | Optional HTML document (max. 5 MB), returned as one result with source: "html-input". |
| Find more pages of the same site | Only the listed URLs | sitemap or links (crawl). |
| Maximum pages per site | 20 | Including the start URL. |
| Maximum link depth | 3 | Only for Follow links. |
| Include subdomains | off | Treat blog.example.com as part of example.com. |
| Only / skip discovered URLs matching | – | Glob (/blog/*) or /regex/ patterns. |
| Respect robots.txt | on | For discovered pages; start URLs are always validated. |
| List only errors | off | Messages list without warnings and info; the counts stay complete. |
| Maximum messages per page | 100 | messagesTruncated shows when the list was cut. 0 = counts only. |
| Include markup extracts | on | Short extract around each problem (markup only, see Privacy). |
| User-Agent, Parallel pages, Timeout | Actor UA, 4, 30 s | Advanced settings. |
Output example (shortened)
{"url": "https://www.python.org/","finalUrl": "https://www.python.org/","statusCode": 200,"source": "input","valid": false,"errorCount": 6,"warningCount": 120,"infoCount": 3,"firstError": "Attribute “file-types” not allowed on element “script” at this point.","messages": [{"type": "error","message": "Attribute “file-types” not allowed on element “script” at this point.","line": 9, "column": 90, "firstLine": 6, "firstColumn": 5,"extract": " <script defer file-types=\"bz2,chm,dmg,exe,gz,json,msi,msix,pdf,pkg,tgz,xz,zip\" data-domain=\"…\" src=\"https://analytics.python.org/js/script.file-downloads.outb…"},{"type": "warning","message": "The element “a” with the attribute “href” should not appear as a descendant of an element with the attribute “role=menuitem”.","line": 185, "column": 154, "firstLine": 185, "firstColumn": 86,"extract": "menuitem\"><a class=\"text-shrink\" title=\"…\" href=\"javascript:;\">…"}],"messagesTruncated": true,"language": null,"validationTimeMs": 782,"contentType": "text/html; charset=utf-8","htmlSizeBytes": 52061,"redirectCount": 0,"responseTimeMs": 40,"depth": 0,"foundOn": null,"validator": "Nu Html Checker (vnu.jar) 26.11.3","checkedAt": "2026-11-20T19:54:10.449Z","error": null,"errorCode": null}
type is error, warning or info (the checker's "info" messages with sub-type "warning" are reported as warning; fatal parse errors have "fatal": true). valid is true when the page has no errors. Pages that could not be validated (DNS error, timeout, HTTP 4xx/5xx, not HTML, larger than 5 MB) appear as rows with error and errorCode.
The Overview table shows URL, valid, errors, warnings, info, first error, status, final URL, how the page was found, HTML size and error.
Pricing and speed
See the Pricing tab. You pay per validated page (or pasted HTML document); rows for pages that could not be validated – unreachable, HTTP errors, not HTML, invalid input – are free. Pages skipped because of robots.txt, filters or the page limit are not stored and not charged. You can set a maximum cost per run – the Actor stops cleanly when it is reached.
The checker starts in about 2 seconds. In cloud tests with the default 2048 MB memory, 60 large pages (400–700 KB of HTML with 100+ errors each) took 54 seconds; 25 typical pages took under 5 seconds. With 1024 MB the Actor works as well but is slower on large pages (less CPU). Memory is split between the Java checker (45 %) and Node.js (25 %); give the Actor more memory for very large documents or higher parallelism.
Validator, licence and attribution
- Validation is done by the Nu Html Checker (vnu.jar), © Mozilla Foundation and contributors, released under the MIT licence (https://github.com/validator/validator). The official, unmodified
vnu.jarfrom thevnu-jarnpm package is used; it bundles third-party components under their own licences (listed inside the jar). - Java runtime: Eclipse Temurin (GPLv2 with Classpath Exception).
- This Actor is not affiliated with or endorsed by the W3C, WHATWG or Mozilla. Results are the checker's messages for the HTML as it was delivered to the Actor; they are no certification.
Privacy
- No personal data is stored. Markup extracts keep tags only: text content between tags and free-text attribute values (
alt,title,content,value,placeholder,aria-label,data-*…) are replaced by…, and e-mail addresses and phone numbers are masked in extracts and messages. Extracts are at most 160 characters. You can switch extracts off completely. - The HTML itself is not stored. Pasted HTML is only sent to the local checker inside the run.
- Private, loopback and internal addresses are refused.
Limits
- The HTML is validated as delivered by the server, without running JavaScript – content added in the browser is not checked (the W3C service behaves the same way).
- Some sites answer automated clients with a bot-protection or error page (e.g. HTTP 403) – those rows are free; you can set a custom User-Agent.
- Documents larger than 5 MB are not validated. External CSS files and images are not checked.
- Line and column numbers refer to the source as delivered (often one long line for minified HTML).
Questions or feature requests? Please open an issue in the Issues tab.