Keyword Density Analyzer

Keyword Density Analyzer

0 characters
Each target is counted as a whole phrase. Leave empty to see the frequency tables only.

Most frequent words and phrases

1 Single words

WordCountDensity

2 Two-word phrases

PhraseCountDensity

3 Three-word phrases

PhraseCountDensity

Everything runs in your browser. Nothing you paste is uploaded; the text is kept only in your browser's local storage so it is still here next time.

What This Analyzer Shows You

Keyword density is the share of a text taken up by one word or phrase: how many times it appears, divided by the total number of words. This page measures it for any text you paste - a blog post, a product listing, a landing page, an email, or the raw HTML of a live page - and lays the result out three ways. The summary tiles give word count, unique words, sentence count and an estimated reading time at 200 words per minute. The frequency tables list the most common single words, two-word phrases and three-word phrases with their count and density. The target keyword table checks the phrases you actually care about: how often each one appears, its density, and whether it shows up inside the first 100 words.

Why bother? Not because a magic percentage ranks a page. The honest value of a density check is editorial. It shows you, in numbers, when a phrase has been repeated until the copy sounds mechanical, when an important term is missing from the opening, and which phrases a reader would say the page is "about". Writers use it before publishing, agencies use it when reviewing a client draft, and shop owners use it to tidy up product descriptions that were written in a hurry.

How the Numbers Are Worked Out

The text is split into words (letters and digits, with apostrophes and hyphens allowed inside a word), sentences are split at full stops, question marks, exclamation marks and blank lines, and phrases are built only inside a sentence so that the last word of one sentence never joins the first word of the next.

Density % = count of word or phrase ÷ total words × 100
count  how many times the exact word or phrase appears, non-overlapping
total words  every word in the text, including stop words, before any filter
reading time  total words ÷ 200 per minute, rounded to the nearest second

Take a 1,200-word article about rooftop solar for Indian homes with the target phrase "solar water heater". Here is what the table would report:

TermCountWorkingDensityBand
solar water heater1414 ÷ 1,200 × 1001.17%Within 0.5-2.5%
solar3131 ÷ 1,200 × 1002.58%Above 2.5%
subsidy44 ÷ 1,200 × 1000.33%Below 0.5%

Read together, the rows say more than any one of them alone: the full phrase is used a sensible amount, the single word "solar" is leaning towards repetitive, and "subsidy" - a term readers of that article would expect - is barely present. That is a useful editing brief, which is exactly what the tool is for.

Options and What They Change

OptionDefaultEffect
Strip HTML tagsOffRemoves script and style blocks, comments and all tags, decodes common entities, and counts only the visible text. Turn it on when pasting page source.
Ignore stop wordsOnHides common function words ("the", "and", "of", "is") from the single-word table and skips phrases that start or end with one. Total words still include them.
Case-insensitiveOn"Delivery", "delivery" and "DELIVERY" are counted as one word. Turn off to keep proper nouns and acronyms separate.
Min count2Rows with fewer occurrences are left out of the three frequency tables. Raise it on long texts to see only the real repeats.
Rows15How many rows each frequency table shows, from 1 to 200.
Target keyword(s)EmptyComma-separated phrases to track. Each is matched as a whole phrase, in order, and reported with count, density, first-100-words check and guidance band.
Highlight in textOffShows a read-only copy of the text with every target occurrence marked, so you can see where the repeats cluster.

Common Mistakes the Tool Helps You Catch

Chasing a percentageWriting to hit "exactly 2%" produces copy that readers notice and dislike. Use the band as a warning light, not a goal.
Missing from the openingIf the first 100 words never mention the subject, a skimming reader (and any preview or summary built from the page) will miss the point.
Only counting one word"Loan" at 3% looks high until you see it is spread across "home loan", "loan tenure" and "loan EMI". The phrase tables show the real picture.
Counting the templatePasting a full page without stripping HTML counts menu labels, cookie notices and footer text along with your article. Strip tags, or paste only the article body.
Ignoring synonymsReaders and search engines both understand "cheap", "affordable" and "low-cost" as related. A low count for one phrasing may be fine if the idea is covered.
Forgetting the places that matterThe body text is only one place. Title tag, headings, image alt text and the URL slug matter more than one extra repeat in paragraph nine.

Frequently Asked Questions

How is keyword density calculated here?

Density is the number of times a word or phrase appears divided by the total number of words in the text, multiplied by 100. A phrase that appears 12 times in a 1,000-word article has a density of 1.2%. Phrases are counted as whole units, so a two-word phrase that appears 12 times still counts as 12, not 24.

Is there a correct keyword density for ranking?

No. Search engines do not publish a target density and modern ranking relies far more on relevance, structure and the overall topic of a page than on how often one phrase is repeated. The 0.5-2.5% band shown by the tool is a commonly cited rule of thumb for natural-sounding copy, not a ranking rule. Treat a reading above it as a prompt to re-read for repetition, not as a score to chase.

What does 'ignore stop words' do?

It drops very common words such as 'the', 'and', 'of' and 'to' from the single-word table, and skips any 2-word or 3-word phrase that begins or ends with one of them. Without this filter the top of every table would be filled with function words that tell you nothing about the topic. The stop-word list is a small English list built into the page.

Can I paste a whole HTML page?

Yes. Tick 'Strip HTML tags' and the tool removes script and style blocks, comments and every tag, decodes common entities and counts only the visible text. Alt text, title attributes and meta descriptions live inside tags, so they are not counted - check those separately.

Why does the 'in first 100 words' column matter?

The opening of a page is what readers see first and what most summaries, snippets and previews are built from. If your main phrase is nowhere in the first 100 words, a reader skimming the page may not be sure it is about what they searched for. It is a readability signal more than a ranking lever.

Is my text uploaded anywhere?

No. Counting, phrase extraction and highlighting all run as JavaScript in your browser. The text is saved only to your own browser's local storage (capped at about 200 KB) so it is still there when you come back, and the Clear button removes it.