Tested tool guide
Text and writing tools
Checked August 16, 2026
What Page Word Count Tool does, with a checked example
This tool counts the words a reader actually sees on an HTML page. Paste the page's source in, and it parses the markup locally in your browser, strips scripts, styles, and comments, drops content inside <nav>, <header>, and <footer> regions, then counts the words in the text that remains. The result is body content only, which is the thing users most often misjudge: it is far lower than the raw source's word count, because markup, attributes, and boilerplate never contribute.
Worked example
A concrete input and expected output from the current implementation.
Input
<!DOCTYPE html>
<html>
<head><title>Sample page</title></head>
<body>
<nav>Home About Contact</nav>
<main>
<h1>Five words in this heading</h1>
<p>The quick brown fox jumps over the lazy dog.</p>
<p>Second paragraph with four words here.</p>
</main>
<footer>Copyright 2026 Example Corp. All rights reserved.</footer>
</body>
</html> ->
Expected output
20 words (visible content only; navigation and footer excluded)
The heading and both paragraphs are page content: 5 + 9 + 6 = 20 words. The three nav links and the footer sit inside excluded regions, and the <title> is not rendered body text, so none of them contribute to the count.