Keyword Density Checker – Analyze Keyword Frequency

📝 Text & Content ✔ Free Forever

Keyword Density Checker — Analyze Keyword Frequency Free

Check how often a keyword appears in your text and get its exact density percentage. Analyze single words, 2-word phrases, and 3-word phrases with SEO status indicators, keyword highlighting, and keyword stuffing detection.

✔ Focus keyword density ✔ 1, 2 & 3 word phrases ✔ SEO status indicator ✔ Keyword stuffing alert ✔ Keyword highlighting ✔ 100% browser based
Text to analyze
Focus Keyword or Phrase (optional)
0 words
About This Tool

How this keyword density checker counts words, phrases, and where they land

Keyword density is a ratio, not a mystery: how many times a term appears divided by the total word count, times 100. The arithmetic is trivial. What makes a density checker useful is everything around that ratio, matching a phrase correctly instead of matching it as a substring of an unrelated word, telling single word terms apart from multi word phrases, and surfacing bigrams and trigrams you never typed into the search box yourself.

All of this runs client side against whatever you paste into the text box. There is no network call, so the content you are analyzing before it is published never leaves your machine.

The core formula

// density formula, rounded to one decimal place function densityPct(count, total){ return total ? Math.round(count / total * 1000) / 10 : 0; }

Total word count comes from matching /\b[a-zA-Z']+\b/g against the raw text and lowercasing every match. That regex keeps apostrophes so contractions like don't count as one word, and it ignores numbers and punctuation entirely, which means a table full of digits will not dilute your word count.

How the tool matches your keyword

Step 1 Split the keyword itself Your keyword input is trimmed, lowercased, and split on whitespace. If it produces one token, the tool treats it as a single word search. More than one token means it treats the whole thing as a phrase.
Step 2 Single word matching For a one word keyword, the tool filters the already tokenized word array with a strict equality check, so seo matches seo but not seos or seoing.
Step 3 Phrase matching For a multi word keyword, the tool builds a regex from the phrase with escaped special characters and word boundaries on both ends, then counts matches against the lowercased full text. This catches the phrase across the original spacing rather than requiring it to fall on tokenizer boundaries.
Step 4 Sentence level location Text is also split into sentences with /[^.!?]+[.!?]+/g, and each sentence is checked for the keyword so the tool can report exactly which sentences it appears in, up to the first five.

A worked density check

Input: a 92 word paragraph about SEO strategy. Keyword: seo.

MetricResult
Occurrences6
Density6.5%
StatusKeyword stuffing, above the 2.5% ceiling
Density rangeLabel shown
Below 0.5%Too low
0.5% to 1.5%Optimal
1.5% to 2.5%Acceptable
Above 2.5%Keyword stuffing
These thresholds are a convention, not a Google rule. Google’s own guidance does not publish a numeric density ceiling; it warns against stuffing that makes content unnatural to read, described in its spam policies. The 0.5 to 2.5 percent band shown here reflects widely used SEO industry practice, useful as a sanity check on writing, not a pass or fail gate any search engine actually enforces.

Bigrams, trigrams, and stopwords

N-gram tables

Two word and three word phrases are built by sliding a window across the tokenized word list with a helper that joins each consecutive slice with a space, after stopwords and words of two letters or fewer are filtered out, so the phrase tables surface meaningful multi word terms rather than of the or in a.

Stopword list

A fixed list of roughly ninety common English function words like the, and, was, and which is excluded from the single word and phrase tables by default. A toggle lets you include them again if you specifically want to audit filler word overuse.

Matched keyword occurrences are also highlighted directly in your original text using a <mark> wrapped regex replace, so you can scan the passage visually instead of just reading a number.

Single word or phrase detection Bigram and trigram tables Stopword filtering, optional Sentence level occurrence lookup
  • Google Search Central spam policies covers keyword stuffing as an anti pattern, not a numeric threshold.
  • N-gram background on the bigram and trigram approach used for the phrase tables.
  • Stop words explains why common function words are filtered before ranking terms by frequency.

Reading a density number honestly

Checking a blog draft before publishing to make sure your target keyword appears often enough without tipping into stuffing, auditing an old product page that Google flagged for thin or spammy content, comparing density against a competitor’s top ranking page, and finding the natural secondary phrases your own writing already leans on so you can build them into headings deliberately instead of by accident.

Common Questions

FAQ: Keyword Density Checker

Keyword density is the percentage of times a keyword appears in your content compared to the total word count. It matters because it signals to search engines what your page is about. Too low and your page may not rank for the target term. Too high and Google may interpret it as keyword stuffing, which can hurt rankings.

Most SEO professionals target a keyword density between 0.5% and 1.5%. This tool marks that range as Optimal. Densities between 1.5% and 2.5% are flagged as Acceptable but borderline. Anything above 2.5% is flagged as potential keyword stuffing. These are guidelines, not hard rules — context and content quality matter more than hitting an exact number.

Paste your content into the text area, type your focus keyword in the keyword field, and click Analyze Density. This keyword density checker calculates the count, percentage, and SEO status instantly. It also shows where the keyword appears across your sentences.

Keyword stuffing is the practice of overloading a page with a target keyword to manipulate search rankings. Google’s algorithms detect it and can penalise or demote pages that do it. The safest fix is to replace some exact-match occurrences with synonyms or semantically related phrases, and focus on making the content genuinely useful.

Yes. Enter a multi-word phrase in the keyword field and the checker counts exact-phrase occurrences and calculates its density. The frequency tables below also break down the most common 2-word and 3-word phrases in your text, which helps you spot unintended repetition or identify natural long-tail opportunities.

Yes. This keyword density checker is completely free with no word or usage limits. No account required. Everything runs in your browser so your content is never uploaded to a server.

Privacy Overview

Cookies let this site remember your preferences and show us which tools people actually use. Full detail sits in our Privacy Policy.