Quick answer
Paste an article (plain text, Markdown or HTML) to see the word count and the most repeated one-, two- and three-word phrases with counts and density percentages. Add a focus keyword to see how often it appears, whether it's in the title, opening and headings, and whether it clusters unusually densely. Density is only for spotting over-repetition: Google sets no “ideal percentage”.
What is keyword density?
Keyword density is the share of an article's words taken up by a phrase. It was once treated as an SEO secret, but Google's own guidance says repeating the same words over and over tires readers, and keyword stuffing violates its spam policies. So this tool doesn't score you against a made-up threshold; it shows which phrases repeat most and whether your focus keyword sits in the important places, and leaves the rewriting decision to you. Vietnamese is split by syllable, so “nén ảnh” counts as a two-word phrase.

How to check keyword density
- 1
Paste your article. The first line is treated as the title and lines starting with # as headings; paste HTML and the tags are stripped, with <title> and h1–h6 headings read.
- 2
Enter a focus keyword (optional) to see its count, density and placement; tick “Match the keyword ignoring accents” to count unaccented spellings too.
- 3
Switch between the “1 word”, “2 words” and “3 words” tabs to see the most repeated phrases; turn on “Skip stop words” to drop words like “the, of, and”.
- 4
Reread any passage flagged as dense and rewrite it more naturally if needed.
What the tool measures
| Metric | How it's calculated | What it's for |
|---|---|---|
| Words | Counts words containing letters or digits, ignoring punctuation | Article length |
| Phrase density | Count × words in the phrase × 100 ÷ total words | Comparing how much phrases repeat |
| Two- and three-word phrases | Only phrases repeated at least twice, never across punctuation | Seeing real key phrases, not random pairs |
| In the opening | The keyword appears in the first paragraph (up to 100 words) | Readers and Google learn the topic early |
| Dense cluster | The keyword appears 3+ times within 50 consecutive words | Finding passages that may read awkwardly |
| Reading time | Total words ÷ 200 words per minute | A rough length estimate for readers |
The “3 times in 50 words” rule only points to passages worth rereading; it isn't a Google rule.
What Google says, and what it doesn't
| Common claim | Reality | Source |
|---|---|---|
| The ideal keyword density is 1–3% | Google publishes no percentage | No such figure in Google Search Central |
| The more you repeat a keyword, the better | Excessive repetition tires readers; keyword stuffing breaks the spam policies | Google's SEO Starter Guide and spam policies |
| Articles need a minimum word count | Content length alone doesn't matter for ranking | Google's SEO Starter Guide |
| You should use the meta keywords tag | Google Search doesn't use the keywords meta tag | Google's SEO Starter Guide |
Examples
A 600-word article mentioning “image compressor” 18 times
The two-word density is 18 × 2 × 100 ÷ 600 = 6%. The tool flags a few dense passages; swap some for “shrink image files” or “reduce photo size” so the sentences read naturally.
The keyword isn't in the title
An article about “water filters” is titled “How to Keep Your Family Drinking Clean”. The focus keyword panel shows “Not yet” for the title; adding it helps searchers recognise the page as what they want.
Checking an HTML page
Paste the page source: the tool strips tags, scripts and styles, uses <title> as the title and counts the keyword in h1–h6 headings. Menu and footer text is still counted, so pasting just the article body is more accurate.
Common problems
- Chasing an exact percentage.
- There's no ideal number. Write for readers first and use the tool to catch excessive repetition.
- Forcing the keyword into sentences.
- Text like “image compressor online image compressor free” is keyword stuffing; write full sentences and use synonyms.
- The one-word table is all “the, of, and”.
- Turn on “Skip stop words” so these function words don't crowd out meaningful ones.
- Unaccented spellings aren't counted.
- Tick “Match the keyword ignoring accents” to count spellings like “nen anh” as “nén ảnh”.
- Pasting a whole web page with menus and footer.
- Navigation and footer text skew the numbers; paste only the main article content.
Does keyword density still matter?
Google's SEO Starter Guide says that excessively repeating the same words, even in variations, is tiring for users, that keyword stuffing is against Google's spam policies, and that varying your wording gives you more chances to show up in Search. The spam policies define keyword stuffing as filling a page with keywords or numbers to manipulate rankings, often in lists or groups that feel unnatural or out of context.
Treat density as a warning light, not a target: the keyword belongs in the title, the opening and a few headings, and natural writing should decide the rest.
How Vietnamese text is split
Vietnamese is written with spaces between syllables, so the tool counts each syllable as a word and builds two- and three-syllable phrases to catch compounds like “máy lọc nước”. Phrases never cross full stops or commas.
Text is Unicode-normalised before counting, so characters typed with different keyboard methods (precomposed or combining) are treated as the same.
Where your focus keyword should appear
It doesn't need many repetitions, but it should be where readers look first:
- The page title (title tag) and the article headline (h1).
- The opening paragraph, so readers know straight away the article answers their question.
- A few headings where the topic naturally comes up.
- The meta description and image alt text, when it genuinely describes them.
Glossary
- Keyword density
- The percentage of an article's words taken up by a phrase.
- N-gram
- A sequence of n consecutive words; a 1-gram is a single word, a 2-gram a two-word phrase.
- Stop word
- A frequent function word with little meaning, such as “the”, “of”, “và”, “của”.
- Keyword stuffing
- Repeating keywords excessively to manipulate rankings; a violation of Google's spam policies.
- Focus keyword
- The main phrase an article aims to answer for searchers.
Frequently asked questions
What's a good keyword density?
Google publishes no number. If the text reads naturally and the keyword is in the title, opening and headings, there's no need to worry about the percentage.
How is density calculated?
Occurrences × words in the phrase × 100 ÷ total words. For example, “image compressor” 10 times in a 500-word article is 10 × 2 × 100 ÷ 500 = 4%.
Why do two- and three-word phrases only show when repeated?
A phrase that appears once is almost always a random pairing and doesn't help find repetition.
Does it work for English articles?
Yes. It has Vietnamese and English stop word lists and splits words on spaces, so it works for both.
Can I paste HTML?
Yes. HTML is detected automatically; tags and scripts are stripped, and <title> and h1–h6 headings are used for the keyword checks.
Is my article sent anywhere?
No. All analysis happens in your browser.
Ratings and comments
Loading…