Try deadhead
Paste HTML or open a file. Your HTML stays in your browser.
HTML after automatic fixes
What it checks
This page runs the CLI's own lint path in your browser: the same HTML parser and all 205 rules at their default settings. A finding here is one npx deadhead reports for the same file. Each lists the rule, the line and column, the severity, the markup found and what to write instead, and the rule id links to the page that explains it, with sources.
HTML with a doctype or an <html> tag is checked as a page. Anything else is a fragment, such as a layout partial, and is checked for the markup it holds, never for head content it lacks.
How to use it
- Paste HTML and press Lint, or Ctrl + Enter (⌘ + Enter on a Mac). The example above runs on your first visit.
- Open a file to load it and lint it in one step.
- Findings marked "Automatic fix" are removed in HTML after automatic fixes, which holds the file as
deadhead --fixwould write it. - Copy link compresses the HTML into the address and copies it. Whoever opens the link gets the same report. Links hold up to 16,000 characters of compressed HTML; open larger files directly.
- The bookmarklet's full report button opens this page with the page you were on: its HTML as the server sent it, or the rendered DOM when that copy cannot be read.
Your HTML stays in your browser
The linter and its rules load with this page, and linting runs on your machine. Nothing you paste is uploaded or stored. A share link carries the HTML after the #, in the fragment, which browsers do not send to servers, and the bookmarklet hands a page over the same way. The HTML leaves your machine only when you send someone the link.
To check a whole site, in CI or as you develop, install the CLI or the Vite plugin. Browse what it checks by namespace or by topic.