Website Word Count
Count the words on any web page by pasting its text or HTML source. Tags, scripts and styles are stripped, and headings, links and images are counted.
Words
0
Characters
0
Sentences
0
Paragraphs
0
Reading time
0 sec
Speaking time
0 sec
Paste the page's text, or its HTML source (Ctrl+U in most browsers) to also count headings, links and images.
Count the words on a web page
How long is that page, really? Content length comes up constantly in web work. SEO writers compare their article with the pages that already rank, editors check that a landing page isn't bloated, translators quote by the word, and clients ask how much copy a site holds before a redesign. This website word count tool gives you the answer from a page's text or its HTML source. Paste either one above. If it finds HTML, it strips the tags, scripts and styles before counting, and also reports how many headings, links and images the page contains.
Two ways to use it
The quickest way is to select the text on the page in your browser (Ctrl+A or Cmd+A selects everything), copy it and paste it here. You'll get the words a visitor can see, though that usually includes menus, footers, cookie banners and sidebar widgets as well as the article itself. To count only the main content, select just that part before copying.
The more thorough way is to paste the page's HTML source. In most desktop browsers, press Ctrl+U (Cmd+Option+U in Safari with the developer menu enabled, or view-source: before the address in Chrome), select all, copy and paste. The tool detects the HTML and:
- removes script, style, noscript, template and SVG blocks, whose contents are code rather than words;
- removes HTML comments;
- turns paragraph, heading, list-item and line-break tags into paragraph breaks, so sentence and paragraph counts stay meaningful;
- decodes common entities such as & and , so they count as the characters they represent;
- counts h1 to h6 headings, links and images before the tags are removed.
Why there's no URL box
Many website word counters ask for a URL and fetch the page for you. That means the page, and the fact that you're interested in it, passes through someone else's server. This tool works only in your browser, like everything else on this site, and a browser can't fetch arbitrary pages from other websites for security reasons. So you paste the content yourself. It takes a few extra seconds, and in return nothing you count is logged, cached or shared. It also means you can count pages that sit behind a login, on a staging server or on an intranet, which a URL-based tool could never reach.
What a word count says about a page
Word count isn't a ranking factor in itself. Search engines have said repeatedly that they don't reward length for its own sake. But length is a useful proxy for depth. If the top results for your topic are thorough 2,000-word guides and your page covers the same question in 300 words, it probably leaves things out. Equally, a 4,000-word page answering a question that needs a sentence is likely to frustrate readers.
Use the count to compare like with like. Take the main content of a few pages that already rank well for your target query, count each, and note the range. Then make sure your page covers what they cover, plus whatever they miss, in as many words as that genuinely takes.
Headings, links and images
The extra counts that come from HTML help you check structure. A long article with only one or two headings is hard to scan, so aim for a heading every 200 to 300 words in long-form content. The link count shows how well a page connects to the rest of your site and to sources, though it includes navigation links, so compare pages from the same template. The image count reminds you to check that every image has alt text, which is good for accessibility and image search alike.
Reading time for web pages
The reading time figure assumes about 200 words per minute, a common estimate for adults reading on screen. Many publishers show it at the top of an article, because readers are more willing to start a piece when they know how long it will take. Remember that pasted page text includes navigation and footers, so for a figure you can publish, count only the article body.
Tips for accurate counts
- Count the main content only when you compare articles. Menus and footers add the same few hundred words to every page on a site.
- Expand accordions and tabs before copying text, or use the HTML source, which includes hidden content.
- Pages built entirely with JavaScript may have very little text in their source. For those, copy the visible text instead.
- Pages in languages that don't separate words with spaces, such as Chinese and Japanese, will report low word counts. Use the Character Counter for those.
Comparing your page with competitors
A simple, repeatable process makes comparisons fair. Search for the query you want your page to rank for and note the top five organic results, skipping ads and directory listings. For each one, copy only the main article: start at the headline and stop before the comments, related posts or footer. Paste each into the counter and record the word count, the number of headings and the reading time. Then do the same for your own page.
You'll usually find that the top results cluster within a range, say 1,200 to 1,800 words, with one or two outliers. That range is a better guide than any single figure. If your page is far below it, compare the headings. The gap is usually a subtopic the others cover and you don't. If your page is far above it, check whether the extra length is genuinely useful or simply repetition. Length that answers more of the reader's questions helps. Length that delays the answer doesn't.
Repeat the comparison every few months. Pages that rank well are updated, and the typical length for a topic can drift over time.
Related tools
For keyword density and readability on the same text, paste it into the full Word Counter. To see how the words split across paragraphs, use Word Count Per Paragraph. To check the title tag and meta description you're writing for the page, the Character Counter compares your text with common length limits.
How to use it
- 1
Copy the page
Select and copy the page's visible text, or open its HTML source (Ctrl+U) and copy all of it.
- 2
Paste it here
HTML is detected automatically, and tags, scripts and styles are stripped before counting.
- 3
Read the word count
See words, characters, sentences, paragraphs and reading time.
- 4
Check structure
From HTML, see how many headings, links and images the page has.
Features
HTML-aware
Strips tags, scripts, styles and comments, and decodes entities.
Structure counts
Headings, links and images, counted from the source.
Reading time
Estimated at 200 words per minute.
Nothing fetched
No URL is requested and nothing leaves your browser, so it works for private and staging pages too.
Questions fréquentes
Can I just enter a URL?
No. Fetching a page would route it through a server. Paste the page text or HTML source instead, and nothing leaves your browser.
How do I view a page's HTML source?
Press Ctrl+U in most desktop browsers, or type view-source: before the address in Chrome. Then select all and copy.
Does the count include menus and footers?
If you paste the whole page, yes. For article-only counts, copy just the main content.
Is word count a ranking factor?
Not directly. Length is a rough proxy for depth, so use it to compare your page with others on the same topic.
Why is the count low for a JavaScript-heavy page?
Its HTML source may contain little text until scripts run. Copy the visible page text instead.
Is the page content uploaded?
No. Everything is processed in your browser.
Rate Website Word Count
No account needed, and ratings are anonymous.