How to use it
- Paste the text of a page, a draft, or the full HTML source of a live page.
- Add the keyword you want the page to rank for, if there is one.
- Look at the top words and phrases first. They show what the page is actually about, which isn’t always what you meant it to be about.
- Check where the keyword appears: early in the text, in the title and in at least one heading usually matter more than how many times it’s repeated.
How density is worked out
Density is the share of all words taken up by a word or phrase: the number of times it appears, multiplied by the number of words in it, divided by the total word count. A two-word phrase used 10 times in a 1,000-word page has a density of 2%.
Words are counted in any language, including Hindi and other Indian scripts. When you paste HTML, scripts, styles and hidden code are ignored, and if the page uses a <main> or <article> element, only the text inside it is counted, so menus and footers don’t skew the numbers.
Is there an ideal keyword density?
No. Google doesn’t publish a target, and its spam policies list keyword stuffing, repeating words or phrases so often that it reads unnaturally, as something that can hurt a page. A page that answers the question well tends to use its main term a few times naturally, along with related words, without anyone counting.
So use this tool the other way round from how density tools are usually sold: to catch over-repetition, to see whether the page covers the words a reader would expect, and to confirm the keyword shows up where it matters. Our post on how search intent is changing explains why answering the full question beats hitting a number.
What the results don’t tell you
Density says nothing about whether a page is useful, accurate or better than what already ranks. If a page isn’t performing, the cause is more often intent, depth or technical problems than word counts. That’s the kind of thing we look at in content strategy and technical SEO work.