KKC Tools
All tools →

Keyword Density Checker: How Often Each Word and Phrase Appears

Uncover 1-word, 2-word, and 3-word phrase frequencies, track target keyword distribution, and check for unnatural repetition with transparent mathematical formulas.

Paste your text to see how often each word and 2- or 3-word phrase appears, as a count and a percentage of all words, and where a target keyword shows up. Density here is calculated as Occurrences ÷ Total Words × 100. There is no “ideal” keyword percentage: Google’s spam policies warn against stuffing keywords but publish no target number. Your text never leaves your browser.
🔍Phrase Detection: Sliding N-Gram Window Bounded Inside Sentences
Keyword Density & N-Gram Detection DiagramVisual analysis showing 1-, 2-, and 3-word phrase extraction, stop word filtering, and target keyword frequency.Sentence 1:Our [word counter] counts words fast.6 words · 1 hit✕No crossSentence 2:A [word counter] also counts characters.6 words · 1 hit① Target Phraseword counter (3 hits)② Total Words100 words③ Density Formula3 ÷ 100 = 3.0%④ Sentence BoundedNo cross-sentence phrases
Total Words
100
Document size
Unique Words
67
67% vocabulary
Sentences
9
Bounded n-grams
Top Word
word
4× (4%)
Top 2-Word Phrase
word counter
3× (3%)
Your text stays in this browser. Nothing is uploaded or stored.
Observation: “word counter” appears 3 times across 100 words (3%), more than any other 2-word phrase.
1-Word Terms (8)
Share of Words (%)
word44%4%
counter33%3%
draft33%3%
phrase33%3%
counts22%2%
mention22%2%
repeats22%2%
words22%2%
2-Word Phrases (1)
Share of Words (%)
word counter33%6%
3-Word Phrases (0)
No 3-word phrases meet the minimum frequency of 2.
Transparent Mathematical Formulas
• Density % (Standard) = (Occurrences ÷ Total Words) × 100
• Share of Words % = (Occurrences × Words in Phrase ÷ Total Words) × 100
• N-Gram Bounding: Phrases are evaluated strictly within individual sentences and never cross periods or terminal punctuation.
ℹ️ What Google says
Google’s spam policies describe keyword stuffing as filling a page with keywords or numbers to manipulate rankings. They don’t give a percentage. (Google spam policies, checked 2026-11-22.)
  • 1-, 2- & 3-word phrases
  • Formula shown, no made-up targets
  • Keyword heatmap & context
  • Editable stop words

100% free · No sign-up · Runs in your browser, nothing is uploaded

How to Use the Keyword Density Checker

Our keyword density checker is built for copywriters, SEO specialists, editors, and content marketers who want transparent insight into how frequently words and phrases appear across their articles. The tool is divided into three intuitive views:

  • All Words & Phrases Tab: View tables for single words (1-grams), 2-word phrases (2-grams), and 3-word phrases (3-grams). Each table lists raw occurrence counts, standard density percentages, and total word shares. You can instantly copy tables to your clipboard or download them as CSV files for spreadsheet reporting.
  • Target Keyword Tab: Enter any specific term or multi-word phrase to see its total occurrences, first position in the document, a 10-decile distribution heatmap illustrating where the phrase appears throughout your article, and a Keyword In Context (KWIC) feed displaying the ±5 words surrounding every mention.
  • Settings Tab: Fine-tune your analysis by customizing the stop-word exclusion list, toggling case sensitivity, enabling plural variant grouping (e.g., merging “keyword” and “keywords”), and adjusting minimum frequency thresholds.

What Keyword Density Is and How It Is Calculated

Keyword density measures the relative frequency of a specific word or phrase in comparison to the total word count of a document. Calculating it is useful as an editorial diagnostic tool to prevent unnatural repetition and ensure diverse vocabulary.

Different SEO utilities employ varying conventions when computing multi-word phrase densities. Our tool displays both transparently:

Convention A: Standard Density (Default)
Density % = (Phrase Occurrences ÷ Total Document Words) × 100
If your 1,000-word article mentions “solar panels” 15 times, the density is (15 ÷ 1,000) × 100 = 1.50%.

Convention B: Share of Words
Share % = (Phrase Occurrences × Words in Phrase ÷ Total Words) × 100
Because “solar panels” contains 2 words, 15 occurrences account for 30 individual words: (15 × 2 ÷ 1,000) × 100 = 3.00% of the document’s total vocabulary volume.

Is There an “Ideal” Keyword Density?

The short and honest answer is: No. There is no such thing as an “ideal” or “perfect” keyword density percentage. Any SEO vendor, course, or tool claiming that web pages must achieve exactly 1.5%, 2.0%, or 3.0% keyword density is relying on outdated myths from decades ago.

Google’s official developer documentation and search quality evaluator guidelines contain zero references to recommended keyword density ratios. Search engines understand synonyms, co-occurring semantic concepts (entities), and context. Writing with an artificial density quota in mind almost always harms readability, producing robotic, repetitive sentences that alienate actual human readers.

How Many Keywords Should a Webpage Have?

When planning search engine optimization for a new article or landing page, content strategists often ask: “How many keywords should I target?”

Instead of compiling an arbitrary list of twenty keywords to sprinkle throughout your copy, adopt a simple plan:

  • One Primary Topic per URL: Every page should address one clear, unambiguous user problem or search intent. If you are writing about how to calculate reading duration, focus exclusively on reading rates, speech speeds, and word counts.
  • Natural Semantic Sub-Topics: Cover all logical secondary questions associated with your core theme. For example, an article on “commercial lease agreements” naturally mentions terms like “security deposit”, “maintenance obligations”, “subleasing rights”, and “escalation clauses” without requiring an artificial checklist.
  • Match Format to User Expectations: If searchers expect a quick interactive calculator, provide a fast client-side tool. If searchers need an in-depth legal explanation, provide structured headings, clear examples, and cited regulatory sources.

What Keyword Stuffing Looks Like: Google Search Guidelines

Google defines keyword stuffing as the practice of loading a webpage with keywords or numbers in an attempt to manipulate search engine rankings. Keyword stuffing creates an extremely negative user experience and can result in automated ranking demotions or manual spam actions.

Common examples of keyword stuffing include:

  • City and State Lists: Blocks of repeated geographic terms without added value (e.g., “We provide plumbing services in Austin, plumbing in Round Rock, plumbing in Cedar Park, and plumbing in Pflugerville”).
  • Repetitive Phrasing: Forcing the primary phrase into every heading, caption, and sentence (e.g., “If you want the best custom custom shoes, our custom shoe store crafts custom shoes for custom shoe lovers”).
  • Hidden Text and Off-Screen Blocks: Hiding lists of keywords using white text on white backgrounds, CSS positioning off-screen, or zero-pixel font sizes.

Our tool helps you detect unintended over-repetition before publishing. By inspecting your 2-word and 3-word n-gram tables, you can spot repetitive verbal tics and replace them with varied phrasing.

Understanding N-Grams and Document Heatmaps

To provide a truly useful analysis, our engine implements two advanced structural features:

  • Sentence-Bounded N-Grams: Many basic online counters blindly slide a multi-word window across an entire document. When sentence 1 ends with “...counts fast.” and sentence 2 begins with “A word counter...”, a naive parser creates the meaningless 2-gram “fast a”. Our engine bounds n-gram generation within grammatical sentence boundaries, ensuring that every detected phrase represents actual continuous prose.
  • Decile Heatmap Distribution: Even if a keyword appears only four times in an article, having all four mentions clustered in the opening two paragraphs feels repetitive to readers. Our 10-decile heatmap divides your document into ten equal slices, highlighting whether your terminology is evenly distributed or clustered in one section.

Looking for additional writing utilities? Check out our dedicated Word Counter, analyze sentence rhythm with our Sentence Counter, convert word counts into printed sheets with our Words to Pages Calculator, verify character limits with our Character Counter, or convert vertical lists with our Comma Separator.

Frequently Asked Questions

How many keywords should I use for SEO?

There is no fixed number. Pick one main topic, answer it fully, and let related terms appear where they help the reader.

How many keywords per page for SEO?

Search engines do not look for a specific number of keywords. Focus each page on answering a single search intent thoroughly, and let supporting terms appear where they help the reader understand your point. Trying to hit an arbitrary keyword target leads to forced phrasing and unnatural repetition.

What is the ideal keyword density percentage?

There isn’t one. Google’s spam policies warn against filling a page with keywords and give no percentage. Use the counts to spot phrases you repeat without meaning to.

What is keyword stuffing according to Google?

Google’s spam policies describe it as filling a page with keywords or numbers to manipulate rankings. Their examples include lists of numbers with no added value, blocks of place names, and the same words repeated until the text sounds unnatural (checked 2026-11-22).

How is keyword density calculated?

Keyword density is calculated by dividing the number of times a specific word or phrase appears in your text by the total number of words in the document, then multiplying by 100: Density % = (Occurrences ÷ Total Words) × 100. Some SEO tools also calculate a second metric called "Share of Words", which factors in phrase length: Share % = (Occurrences × Words in Phrase ÷ Total Words) × 100.

Do stop words count in keyword density calculations?

In our tool, stop words (such as "the", "is", "at", "which", "and") are counted in the total word denominator so your overall document metrics remain 100% accurate. However, in the phrase tables, stop words are filtered out by default so you can focus on substantive topical keywords. You can edit, add, or reset stop words at any time in the Settings tab.

Why is keyword density misleading on short content?

On short copy (such as a 100-word product description or email), mentioning your product name just three times results in a 3.0% keyword density, which might look artificially high. Conversely, in a 5,000-word comprehensive white paper, mentioning your key subject 30 times yields only a 0.6% density. Percentages are highly sensitive to document length, which is why examining raw occurrence counts and context is far more actionable than watching percentages in isolation.

Can I count keywords on a website URL directly?

To count keywords on website pages while ensuring complete privacy, our tool evaluates pasted text locally in your browser rather than fetching remote URLs. Simply copy the text from your website or draft document and paste it directly into the input area above to analyze phrase frequencies.

Is adding too many keywords bad for Google Ads?

This tool only counts words in text you paste, so it can’t judge an ad account. On the landing page itself, repetition that reads badly helps nobody. Check Google Ads help for how keywords work in ad groups.

What are 1-word, 2-word, and 3-word n-grams?

In computational linguistics, an n-gram is a contiguous sequence of n items from a given sample of text. A 1-gram is a single standalone word ("counter"), a 2-gram is a two-word phrase ("word counter"), and a 3-gram is a three-word phrase ("free word counter"). Our engine slides an n-gram window across each sentence to uncover your most repeated multi-word phrases without crossing sentence boundaries.

Related Writing & Text Calculators

Explore our full suite of free client-side writing and editing tools:

How This Calculator Works: Formula, Defaults & Sources

Formula

  • Standard Density %: (Occurrences / Total Words) × 100
  • Share of Words %: (Occurrences × Words in Phrase / Total Words) × 100
  • Sentence Bounding: N-grams (1, 2, 3 words) extracted strictly within sentence boundaries, never spanning terminal punctuation
  • Stop-Word Filtering: Curated stop words filtered from n-gram tables without changing total word denominator

Default values (you can change them)

  • Minimum Phrase Frequency: 2 occurrences
  • Stop-Word Exclusion: Enabled (~125 common English terms)
  • Plural Variant Grouping: Disabled by default (approximate rules)
  • Case Sensitivity: Case-insensitive

Sources

Counts follow the rules above. Estimates are a guide: your document, form or platform has the final say. Last updated: November 25, 2026. Spotted a wrong number? Email us or use the contact page.

💡Suggest a Tool