Not affiliated with Google. No scan can promise a site won't be demoted.

KEYWORD DENSITY CHECKER · CHECK P5

Keyword density checker: find the words a page repeats too often

Enter a URL. We measure the main text of that page and up to 20 more from your sitemap, and show any word, phrase or keyword list repeated far above normal.

Free, no sign-up. A few seconds to a minute. We only read public pages and never change anything.

Runs P5 of our 45 checks. Run all 45

There is no ideal keyword density

No percentage makes a page rank. Google doesn’t publish a target, and none of its documentation we read for this page names one. What Google does name is the opposite end: repeating words so often that the text stops reading like writing. That’s keyword stuffing, and it’s one of Google’s spam policies.

Google’s SEO Starter Guide puts keyword stuffing under “Things we believe you shouldn’t focus on.” Its explanation: “Excessively repeating the same words over and over (even in variations) is tiring for users.” The same section says “there’s no magical word count target, minimum or maximum,” and then makes the useful point: “If you are varying the words (writing naturally to not be repetitive), you have more chances to show up in Search.”

So this checker doesn’t grade your page against an ideal number. It looks for repetition far above what natural writing produces and shows you where it is. When nothing is flagged, that means your text doesn’t look stuffed to a word counter. It doesn’t mean your page will rank. Our full scan runs this check alongside 44 others, and the features page lists them all.

What Google calls keyword stuffing

Google’s spam policies define keyword stuffing as “filling a web page with keywords or numbers in an attempt to manipulate rankings in Google Search results.” They add: “Often these keywords appear in a list or group, unnaturally, or out of context.” Then they give three examples:

  • “Lists of phone numbers without substantial added value”
  • “Blocks of text that list cities and regions that a web page is trying to rank for”
  • “Repeating the same words or phrases so often that it sounds unnatural”

The third example comes with a sample paragraph about “unlimited app store credit.” It’s 58 words long. “App” and “store” each appear 5 times, and “credit” or “credits” 5 times between them. Read it aloud and you hear the problem before you count anything.

The spam policies page says violating sites “may rank lower in results or not appear in results at all.” That can happen two ways. Google’s automated systems can demote the page, which no report tells you about. Or a reviewer can apply a manual action. The Manual Actions report help lists one called “Hidden text and/or keyword stuffing,” and its fix steps include two that this checker mirrors:

  • “Check for lists or paragraphs of repeated words without any context.”
  • “Check <title> tags and alt text for strings of repeated words.”

We cover the first. We don’t cover the second: P5 reads the main text, not titles or alt text. Hidden text, the other half of that manual action, is a separate check in our scan (P4).

You can see a manual action only in Search Console. Google’s guidance on third-party SEO tools says “Third-party tools don’t have access to our internal ranking data.” That includes us. A P5 finding means your text has the pattern the policy describes. It’s not a sign that Google has acted.

How P5 measures a page

P5 is the keyword stuffing check in our scan. Here’s what it does, step by step, as the code runs it.

Which pages it reads

When you enter a URL, we fetch that page first. Then we sample up to 20 more pages from your sitemap, spread across it rather than taken from the top. If the sitemap has fewer pages than that, or there isn’t one, we add links found on the first page. That’s up to 21 pages per scan.

We read the HTML your server sends, before any JavaScript runs. A page that draws its text with JavaScript looks empty to P5. Pages with fewer than 150 words of main text are skipped, because a percentage of a tiny page means nothing. If every page is under 150 words, P5 reports that it skipped.

What counts as the main text

If the page has a <main> element, P5 measures only what’s inside it. Otherwise it takes the <body> and removes <header>, <nav>, <footer> and <aside> blocks. In both cases scripts, styles, SVG, <noscript> and <template> content are dropped and HTML entities are decoded.

This matters because menus and footers repeat the same words on every page. Counting them would flag every site with a long navigation bar. It also means a keyword list placed in the footer isn’t measured. We come back to that below.

How it counts

The text is lowercased and split into words. A word is a run of letters or digits, which may contain an apostrophe or hyphen. The denominator is every word in the main text, stop words included.

For single words, P5 then drops:

  • stop words: common English function words like “the”, “and”, “you”, “our”, “with”, plus a short list of French, German and Spanish ones
  • numbers and single letters
  • words shorter than three letters
  • words from your domain name

Three-letter words count. That’s how “seo”, “etf” or “spa” can be flagged, while short function words like “the” and “you” stay out because they’re on the stop word list.

For two-word phrases, P5 first splits the main text where a reader would pause: at the end of a paragraph, list item, table cell or heading, at a line break, and at sentence punctuation (a full stop, question mark, exclamation mark, semicolon, colon or ellipsis). It counts pairs of adjacent words inside one piece only. “…call a plumber. Emergency service…” never makes the pair “plumber emergency”.

The domain rule takes the first part of your registered domain and splits it on hyphens. For example-plumbing.com, “example” and “plumbing” are left out. A brand repeats for honest reasons, so counting it would be noise.

The thresholds

Pattern Counted from Flagged when Evidence line
One word Main text, minus stop words, numbers, words under 3 letters and brand words Top word has at least 15 uses and is more than 5% of all words “plumber” is 6.2% of the words on /page/ (20 of 321)
Two-word phrase Adjacent word pairs inside one sentence or block, where both words have 3+ letters and neither is a stop word or brand word Top pair has at least 10 uses and is more than 2.5% of all words “emergency plumber” appears 12 times in 308 words on /page/
Keyword list Runs of items separated by commas, pipes or bullets inside one sentence 12+ items, 80%+ of them 4 words or shorter, and one word in at least half the items A list of 14 terms on /page/ repeating “plumber”: ”…”
Page too short Main text Under 150 words Page skipped

Both percentages use the same denominator: every word in the main text. Only the top word and the top pair on each page are tested, and only the first qualifying list. A failing scan shows up to six evidence lines across all pages.

The two floors exist for short pages. Without the 15-use floor, a 200-word page that names its subject 11 times would read as 5.5% and fail. That’s normal writing for a short product page.

What a result means

P5 is a heuristic, so it estimates and never raises an alert on its own. Its severity is medium when it fails. A failing result is a prompt to read the page with fresh eyes, not a finding that Google will act. A passing result says no word, pair or list crossed the lines above on the sampled pages.

Worked examples with real numbers

We built test pages for this article and ran P5 on them with our own code. Every page has the same 236-word base paragraph about water heater maintenance, written normally, plus whatever repetition the row describes. The numbers are what the code reported.

Test page Words measured Top term P5 result
Base paragraph only 236 “tank”, 5 uses (2.1%) Pass
20 short sentences with “plumber” added 321 “plumber”, 20 uses (6.2%) Fail: “plumber” is 6.2% of the words (20 of 321)
“plumber” 14 times in a short page 197 “plumber”, 14 uses (7.1%) Pass: under the 15-use floor
“plumber” 15 times in 300 words 300 “plumber”, 15 uses (5.0%) Pass: exactly 5% is not above 5%
“plumber” 15 times in a long page 582 “plumber”, 15 uses (2.6%) Pass
“emergency plumber” 12 times 308 “emergency plumber”, 12 uses (3.9%) Fail: “emergency plumber” appears 12 times in 308 words
“plumber” in 14 comma-separated city items 270 list of 14 items Fail: a list of 14 terms repeating “plumber”
Same 14 city names with no repeated word 256 “tank”, 5 uses (2.0%) Pass
The 20 “plumber” sentences on plumber-pros.com 321 “plumber” excluded as a brand word Pass

Reading the table

The second row is the plain case. Twenty sentences like “Call our plumber today” and “Need a plumber fast?” on top of a normal paragraph push one word to 6.2%. Read the result and you’d cut most of them.

Rows three to five show why one number isn’t enough. Fourteen uses in 197 words is 7.1%, higher than the failing page, and it passes because short pages name their subject often. Fifteen uses in 300 words lands on exactly 5.0% and passes, because the rule is “more than 5%.” The same 15 uses in 582 words is 2.6%. The word count of the page changes the verdict as much as the repetition does.

The sixth row fails at 3.9%, below the single-word line. Two-word phrases are rarer in natural text than single words, so the phrase line is set lower: 2.5% and 10 uses. A page that repeats “emergency plumber” in every sentence gets caught even though “plumber” alone looks normal.

The last row shows the brand rule. On a domain named plumber-pros.com, “plumber” is a brand word and isn’t counted. That’s the right call for most brands and the wrong one for an exact-match domain that also stuffs its keyword. If your domain is your main keyword, P5 is blind to it as a single word or pair, and you need to read the page yourself.

Google’s own example

We ran P5 on the “unlimited app store credit” paragraph from Google’s spam policies, too.

Test page Words measured P5 result
Google’s 58-word example alone 58 Skipped: under 150 words
The example pasted three times 174 Fail: “app” is 8.6% of the words (15 of 174), and “app store” appears 15 times
The example once, followed by the 236-word base paragraph 294 Pass: “store” is 1.7%

The first row is a limit worth knowing. Google’s example is too short for a density count to mean anything. What makes it spam is how it reads: the same phrase forced into every sentence, with “credit” and “credits” both used to catch variations. Our counter doesn’t merge word forms, so “credit” and “credits” count separately.

The third row is the more important one. Put one stuffed paragraph inside an otherwise normal page and the density falls under every line. Nothing in the numbers says “spam,” and yet the paragraph is still the thing Google describes. Density checks catch pages built around repetition. They miss a single bad paragraph on a decent page. Reading your own copy out loud catches both.

Why density checkers disagree

Paste the same page into three keyword density tools and you’ll get three numbers. They aren’t wrong. They’re measuring different things. Here is our second test page, the one with 20 “plumber” sentences, measured four ways, plus its title:

What is counted Uses of “plumber” Words in denominator Density
Main text, all words (what P5 uses) 20 321 6.2%
Main text, stop words removed from the denominator 20 179 11.2%
Whole body, including nav and footer 20 330 6.1%
Whole body plus the title tag 23 338 6.8%
Title tag alone: “Plumber Austin, Emergency Plumber, Best Plumber Near Me” 3 8 37.5%

Removing stop words from the denominator nearly doubles the figure. Tools that do that report numbers that look alarming next to tools that don’t. Some tools count the title, meta description and alt text, which inflates everything. Some merge “plumber” and “plumbers”; we don’t.

None of these is the right method, because there’s no target to compare against. What matters is that one tool applies one method consistently, so its thresholds mean something. Ours counts the main text with every word in the denominator, the way a reader experiences the page.

The title row is a separate problem. A title that names the keyword three times is exactly what Google’s manual action steps tell you to look for. P5 doesn’t read titles, so check them yourself.

What we found on five sites we run

We ran P5 on five sites of our own: an AI story generator, an image vectorizing tool, a stock alert service, a laser-cut-file shop and an educational toy review site. Three passed on every page measured, 49 pages between them. Two sites each had one page flagged.

On the AI story generator, a blog roundup of free AI writing tools showed this evidence line (post path shortened):

"writer" is 5.1% of the words on /blog/[post]/ (56 of 1099)

The cause is product names. The post reviews tools called things like “letter writer,” “listing writer,” “script writer” and “email writer.” “Letter writer” appears 6 times and “listing writer” 5. The brand rule doesn’t help here, because the domain is written as one word and “writer” on its own isn’t excluded.

Is it stuffing? Read as a whole, the post is a list of products, and the repetition comes from their names. We’d still trim it. Writing “the letter tool” on second mention instead of the full name again reads better and drops the count under the line. That’s the right way to use this check. It points at the page, and a person decides.

The stock alert service’s home page failed on a three-letter word, which P5 only started counting after a fix to the check:

"etf" is 5.6% of the words on / (154 of 2773)

The home page is a table of funds, and each row carries the fund’s full official name, most of which end in “ETF” or “ETF Trust”. Nobody wrote the word to rank. It’s the same case as the product names above: a finding that’s true about the text and harmless in intent. We’d leave this one, since shortening official fund names would make the table less accurate. That’s the other half of using the check well. It points at the page, and sometimes the right answer is to change nothing.

City and service lists

Google’s second example, “Blocks of text that list cities and regions that a web page is trying to rank for,” is the most common form of stuffing on local business sites. It usually looks like this:

We serve plumber Austin, plumber Round Rock, plumber Cedar Park,
plumber Pflugerville, plumber Georgetown, plumber Leander, plumber Kyle,
plumber Buda, plumber Lakeway, plumber Manor, plumber Hutto,
plumber Dripping Springs, plumber Bee Cave, plumber Taylor.

P5 flags this: 14 short items separated by commas, with “plumber” in all of them. Its list test needs at least 12 items, at least 80% of them four words or shorter, and one word in at least half the items. One sentence is one run, so the list has to sit between two full stops.

Here’s what P5 doesn’t flag, from the same test pages:

City list format P5 result Why
“plumber Austin, plumber Round Rock, …” in a paragraph Fail 14 items, one word in all of them
“Austin, Round Rock, Cedar Park, …” in a paragraph Pass No word repeats across items
The same “Plumber Austin” items as a <ul> bulleted list Pass List items aren’t separated by commas, and “plumber” has 14 uses, under the 15-use floor
“plumber Austin, plumber Round Rock, …” inside <footer> Pass Footers aren’t part of the main text

Each of these passes for a mechanical reason, not because the list is fine. A footer with 40 “plumber [city]” links is the pattern Google describes, wherever it sits. Treat a pass here as “not detected,” and check your footer and sidebar by hand.

What to do instead

A plain list of the towns you serve isn’t a problem. It’s useful information. The problem is the keyword glued to each town, and pages that exist only to hold the list. Better options:

  • One sentence for the service area. “We cover Austin and the towns within 30 miles, including Round Rock, Cedar Park and Georgetown.” A reader learns something, and nothing repeats.
  • A service area page with substance. Response times by area, a map, travel fees, the jobs you’ve done there. If a town matters to you, write about it.
  • Structured data. LocalBusiness markup with areaServed states your service area in a form machines read, without repeating text on the page. Our schema validator checks that markup parses and doesn’t overclaim.
  • No templated city pages. Twenty pages that differ only by town name are a separate spam policy, doorway abuse. Our scan checks for those too (P6). See the features page.

Phone number lists, Google’s first example, follow the same logic. A directory of numbers with nothing else on the page is the problem, and the fix is adding what a visitor needs to use them.

What to do instead of chasing a number

If P5 flags a page, or you suspect it would, these steps fix the cause rather than the percentage:

  1. Read the page out loud. If a sentence sounds like it was written for a search engine, it was. Google’s own test is whether it “sounds unnatural.”
  2. Use the words people use. The SEO Starter Guide’s example is that some people search “charcuterie” and others “cheese board.” Covering both naturally beats repeating one.
  3. Say the term where a reader needs it. The title, the main heading, the first paragraph, and where it’s the clearest word. After that, use pronouns, synonyms and the specific thing you mean.
  4. Cut instead of rewording. Stuffed text usually repeats one claim several times. Deleting the repeats shortens the page and fixes the density at once.
  5. Check titles and alt text yourself. Google’s manual action steps name them, and P5 doesn’t read them.
  6. Merge pages that differ by one word. If you have a page per town or per product variant with the same text, one strong page beats twenty thin ones.

Don’t pad a page with filler to dilute a keyword. The density drops, and the page gets worse. That trade has the order backwards.

What P5 can’t see

Every check has blind spots. These are P5’s, stated from the code:

  • Text drawn by JavaScript. We read the HTML your server sends. If your content appears only after a script runs, P5 measures an empty page. Our crawler view check shows what Google gets before and after rendering.
  • Titles, meta descriptions and alt text. P5 reads the main text only.
  • Footers, headers, navigation and sidebars. They’re excluded by design, so keyword lists placed there go unmeasured.
  • Bulleted lists. The list test splits on commas, pipes and bullet characters. Items in a <ul> aren’t checked as a list, only as ordinary words.
  • Words under three letters. Two-letter keywords like “ai” or “uv” aren’t tested, as single words or inside two-word phrases. Three-letter words are.
  • Your brand and exact-match keywords. Words in your domain name are excluded from both single-word and phrase counts.
  • Repetition across sentences. A pair that only forms across a full stop or a paragraph break isn’t counted as a phrase. Each word still counts on its own.
  • Word forms. “Plumber” and “plumbers” count as different words, so spreading repetition across forms lowers each count.
  • Pages outside the sample. We read up to 21 pages. A large site’s worst page may not be among them.
  • Hidden text. Text hidden with CSS is part of the same manual action, and our scan checks for it separately (P4).

If your site has dropped out of Google and you’re checking density to find out why, keyword stuffing is rarely the cause on its own. Start with why a site isn’t showing on Google, which runs the checks for the common ways pages fall out of the index. Then run the full scan.

Questions

What is a good keyword density?

There isn't one. Google's documentation names no target percentage, and its SEO Starter Guide says there's no magical word count either. A page written for a reader usually lands at a few percent for its main term without anyone counting. Our check only speaks up when one word passes 5% of the text with at least 15 uses, which is far above what natural writing produces.

Does Google penalize keyword stuffing?

Keyword stuffing is one of Google's named spam policies. Google says sites that violate its policies may rank lower or not appear at all, and a reviewer can apply a manual action called Hidden text and/or keyword stuffing. You can see a manual action only in Search Console. We can't, so our check shows the pattern, not whether Google has acted on it.

Why doesn't the checker count my brand name?

A brand name repeats on every page for honest reasons, so we leave it out. We take the first part of your domain and split it on hyphens, so example-plumbing.com excludes example and plumbing from the word and phrase counts. The side effect is that an exact-match domain's main keyword never gets flagged as a single word or pair.

Is a list of cities I serve keyword stuffing?

Google names blocks of text listing the cities and regions a page wants to rank for as an example of keyword stuffing. A short sentence naming your service area is fine. A long run like plumber Austin, plumber Round Rock and so on is the pattern Google describes, and our check flags it when 12 or more short items repeat one word.

Why did a page at 4% fail while another at 6% passed?

The 4% page probably repeated a two-word phrase. We flag a pair of words above 2.5% of the text with at least 10 uses, so a phrase can fail at a lower rate than a single word. The 6% page was likely short: a single word needs at least 15 uses as well as more than 5%, so 14 uses in 200 words passes.

Updated 2026-12-02. Checks on this page: P5. All 45 checks are on the checks page.