π Keyword Density Analyzer
Keyword frequency, stuffing checks, and phrase tables.
Target keyword density
Everything runs in your browser. Your text never leaves your device.
How to Use This Tool
Paste your text and enter the keyword or phrase you are targeting. The tool reports its density, flags stuffing risks, and builds 1-word, 2-word, and 3-word frequency tables so you can see what the page is really about.
Paste the full text of your draft or published page. Aim for at least 300 words for meaningful tables.
Enter your target keyword or phrase exactly as searchers would type it.
Read the density verdict. Between 1 and 2 percent is the natural zone; over 3 percent gets flagged.
Scan the phrase tables. If your target phrase family dominates, topical focus is clear. If random phrases top the list, the draft may be off-topic.
How Density Is Calculated
The text is tokenized into words, lowercased, and counted. Your target phrase is matched on word boundaries, so "marketing" does not match inside "telemarketing". The 1-word table filters out stopwords (the, and, of, and about 120 more) so content words surface; the 2-word and 3-word tables keep everything because phrases like "email marketing" are exactly what you want to see. Prominence checks whether the keyword appears in the first 100 words and the first sentence, the two positions that most strongly signal topic to readers and search engines.
Worked Example
Text: "The cat sat on the mat. The cat was happy." Total words: 10. Target: "cat", occurring twice. Density = (2 / 10) x 100 = 20 percent: flagged as stuffing, correctly, since repeating the noun twice in ten words sounds robotic. In a realistic 1,000-word article, 20 mentions give exactly 2 percent. The phrase tables for a longer cat article would show "the cat" and "cat sat" style bigrams; if instead "buy cat food" topped the bigram table, you would know the draft drifted from an informational topic toward a commercial one.
The Zombie Metric Debate
Keyword density is sometimes called a zombie metric: long declared dead, still walking around in SEO tools. The honest position is in the middle. As a ranking factor it is nearly irrelevant; Google understands topics through entities, synonyms, and context, not repetition counts. As a writing diagnostic it remains useful: extreme values catch real problems (stuffing on one end, a page that never names its topic on the other), and phrase tables expose what a draft emphasizes. The healthy workflow: write the best, most complete answer to the query, then run the analyzer as a final check. If density lands 1 to 2 percent and the phrase tables show your topic family on top, ship it. If not, fix the writing, not the number. Your text never leaves your browser.
Frequently Asked Questions
What is a good keyword density?
There is no official number, but 1 to 2 percent for your primary keyword reads naturally in most content: a 1,000-word article mentions it 10 to 20 times including variations. Below 0.5 percent, search engines may not clearly grasp the topic; above 3 percent, the text usually starts sounding repetitive to readers. This tool flags anything over 3 percent as a stuffing risk. Focus on covering the topic thoroughly and the density takes care of itself.
Is keyword density still a ranking factor?
Not directly, and Google has said as much for years. Modern ranking weighs topical coverage, entities, search intent match, and content quality far more than how many times a phrase repeats. Density survives as a diagnostic: very high density reveals stuffing, very low density can reveal a page that never actually addresses its topic. Use it to sanity-check drafts, not as an optimization target to game.
What is keyword stuffing?
Repeating a keyword unnaturally to manipulate rankings: "Our cheap laptops are the cheapest laptops for laptop buyers seeking cheap laptop deals." Readers bounce, and Google's spam systems can demote the page. The fix is writing for humans first: use the keyword where it fits naturally, then rely on synonyms and related terms ("notebooks", "budget machines") for the rest. If a sentence sounds awkward read aloud, it is stuffed.
How do I find my competitors' keywords?
Read their ranking pages, not their meta tags. Paste a competitor's article into this analyzer and study the top 2-word and 3-word phrases: those reveal the subtopics and entities they cover. Then check Google's "People also ask" and related searches for the query to find angles they missed. Your goal is broader, better topical coverage, not matching their density numbers.
Should I analyze single words or phrases?
Phrases, usually. Single-word tables are dominated by generic terms, while 2-word and 3-word n-grams reveal the actual topics ("email marketing", "best email marketing tools"). This tool shows all three so you can see both. Pay most attention to the phrase table: if your target phrase and its close variants dominate the top rows, the page's topical focus is clear.