RevealTheme logo

Page Word Count

Paste a URL and get a fast word count, character count, and estimated reading time for that page's HTML body text. The tool fetches the raw page on our server, drops script, style, and noscript tags, then counts what remains.

How to use this tool

  1. 1

    Paste the full URL of the page you want to measure, including https://, into the input box.

  2. 2

    Click Analyze. Our server fetches the page, strips out script, style, and noscript tags, and parses the remaining HTML.

  3. 3

    Read the three result cards: total words, total characters, and an estimated reading time in minutes.

  4. 4

    Edit the URL and run it again to compare different pages or to re-check after you publish edits.

How does this page word counter actually measure a page?

This tool sends the URL you enter to our server, which downloads the page's raw HTML (HTTPS first, falling back to HTTP) with a 20-second timeout and a 5 MB size cap. It loads that HTML with the cheerio parser, removes every <script>, <style>, and <noscript> tag, then takes the text content of the <body>, collapses runs of whitespace into single spaces, and counts the result. Words are computed with a naive whitespace split: the trimmed text is split on spaces and every resulting token counts as one word, so numbers, dates, and stray punctuation between spaces each count too. The character total is the length of that whitespace-collapsed string, which includes the single spaces between words. Reading time is words divided by 200 words per minute, rounded, with a one-minute floor. Two limits matter. First, cheerio does not run JavaScript, so content rendered client-side by React, Vue, or similar frameworks is usually missing and the count comes back near zero. Second, cheerio has no CSS engine, so it cannot tell visible text from hidden text, and navigation, header, footer, and sidebar text all count alongside the main article.

Common use cases

  • Sanity-checking the length of a blog post or landing page you just published, without opening the page source by hand.

  • Comparing your article's body length against a competitor's ranking page for the same keyword.

  • Estimating how long a published page takes to read so you can label it with a reading-time badge.

  • Spotting pages that come back with a near-zero count, which flags a JavaScript-rendered site whose content is not in the raw HTML.

  • Auditing a batch of URLs to find thin pages that may need more substantive content before a content review.

  • Confirming that a long-form page actually shipped with the word count you expected after a CMS migration or edit.

Frequently asked questions

Does the word count include navigation, footer, and sidebar text?
Yes. The tool counts all text in the page body except script, style, and noscript tags. It has no CSS engine, so it cannot separate the main article from menus, headers, footers, or boilerplate, and it cannot exclude text hidden with display:none or the hidden attribute. Treat the number as a whole-page total, not an article-only count.
Why does my page return zero or almost no words?
The tool reads only the raw HTML the server sends and never runs JavaScript. Sites built as single-page apps with React, Vue, or similar frameworks deliver an almost empty HTML shell and render the content in the browser, so there is little or no text for the parser to count.
Is my URL sent anywhere?
Yes. Unlike browser-only tools, this one sends the URL to RevealTheme's server, which fetches the page on your behalf. The fetch uses SSRF protection that rejects private and loopback addresses and re-checks every redirect hop, so it will not reach internal network resources.
How is the word count calculated exactly?
After stripping scripts and styles, the body text is trimmed, runs of whitespace are collapsed to single spaces, and the string is split on whitespace. Each token counts as one word, so a standalone number or symbol surrounded by spaces is counted. It is a simple split, not a linguistic tokenizer.
What does the character count represent?
It is the length of the whitespace-collapsed body text, including the single spaces between words. It is not the raw HTML size and not a count of letters only.
How is reading time estimated?
Reading time is the word count divided by 200 words per minute, rounded to the nearest minute, with a minimum of one minute. Two hundred words per minute is a common average for adult silent reading; adjust your expectations for dense technical text.
Can it handle any page size?
Responses are capped at 5 MB and the fetch times out after 20 seconds. Very large or slow pages may fail. For article-only counts or readability analysis, use a dedicated content-extraction tool, since this one cannot isolate the main content from page chrome.

Related tools