Keyword Density Analyzer
Count how often every word and 2–3 word phrase appears, track up to 10 target keywords, and paste a page’s HTML to check keyword placement in the title, meta description and headings.
How to Use the Keyword Density Analyzer
Paste your content — plain text, or the HTML source of a page — add one or more target keywords separated by commas, and click Analyze. The tool counts every word and every two- and three-word phrase, and works out each one’s density as a share of all words.
- Stop word filter hides words like “the”, “is” and “and”, and drops phrases that start or end with one, so “cost of living” stays but “of the” goes. Phrases never run across a full stop, comma or line break.
- Target keywords (up to 10) show the count, density, where each first appears, and whether it is in the first 100 words. Every occurrence is highlighted in your text in its own colour.
- Pasted HTML is reduced to its visible text, and each keyword is checked against the
<title>, meta description, H1 and H2/H3 headings. - Export all as CSV downloads every repeated word and phrase with its count and density — a full keyword frequency list for a spreadsheet.
- Colour bands: green up to 3%, yellow 3–4%, red above 4%. They are rules of thumb, not limits any search engine publishes.
What Is Keyword Density?
Keyword density is (keyword count ÷ total word count) × 100. A density of 2% means the keyword appears twice for every 100 words. For phrases, this tool counts each occurrence of the whole phrase once, so a two-word phrase at 1% appears once every 100 words.
Google does not publish a target density. Its spam policies describe keyword stuffing as “repeating the same words or phrases so often that it sounds unnatural”, which can make a page rank lower or drop out of results. Use density to catch accidental repetition and to confirm the main topic is stated clearly, not as a number to hit.
Best Practices for Keyword Usage
- State the main topic early — in the title, the H1 and the opening paragraph.
- Write for readers first; if a sentence sounds forced when read aloud, rephrase it.
- Cover the topic with related terms, synonyms and the questions people ask, instead of repeating one exact phrase.
- Check the two- and three-word tables for phrases you repeat without noticing.
- Keep sentences readable: the tool flags any longer than 30 words.