By · Updated

Keyword Density Checker

Most Frequent Words and Two- or Three-Word Phrases in Your Article

No ratings yet

OneTask is free, with no sign-up, and built by one person.
If this tool saved you time, a coffee helps keep new ones coming.

How the Keyword Density Checker works

This keyword density checker shows which words and phrases dominate. Paste an article and see what it is actually about: the words and phrases that appear most often, how many times each occurs, and what share of the text each one accounts for. Stop words are filtered out by default and the table exports as CSV.

Keyword density checker: a diagnostic, not a target

Keyword density is a diagnostic, not a target. It tells you what a piece of writing repeats, which is genuinely useful — and it has been misread for two decades as a number to optimise.

Density is not a ranking factor

There is no threshold that helps and no percentage to aim for. Search engines moved to statistical language models long ago and have penalised keyword-stuffed text since the Panda update in 2011. Anyone quoting a target of "1 to 2 percent" is repeating advice that was obsolete before most of today's web was written.

Content keyword analysis: what the table is actually good for

Three things. First, catching accidental repetition — a word used forty times in a thousand is a tic, and reading it aloud confirms it. Second, checking that the subject you think you wrote about is the subject the text repeats; if a page about invoice templates never says "invoice" outside the heading, that is worth knowing. Third, spotting vocabulary you have missed entirely: the phrases a reader would search for that appear nowhere.

N-gram frequency counter: phrases beat single words

A single-word count of a technical article is mostly noise, because the words that carry meaning are compounds. Two- and three-word phrases surface the actual subject matter — "reading time", "style guide", "zero-width space" — and they are far closer to how people phrase a search. Start at two words and drop to one only when you want the raw vocabulary profile.

Stop words dominate everything

In English, the, of, and, to and a make up roughly a quarter of any text. Leaving them in produces a table that tells you nothing about the document and everything about the language, which is why they are filtered out by default. For phrase counting, a phrase is dropped when any of its words is a stop word — that removes "of the" and "in a" but also legitimate phrases like "out of stock", so turn the filter off if you are hunting for something specific.

How the density percentage is calculated

Density is the count divided by the number of positions a phrase of that length could occupy. For single words that is simply the word count; for three-word phrases it is two fewer. The denominators therefore differ between phrase lengths, and comparing a one-word density against a three-word one is meaningless.

Word frequency analyser: counting rules

Everything is lowercased before counting, so Invoice and invoice are the same entry. A word is a run of letters and digits, with apostrophes kept inside a word, so don't counts once. Phrases are counted across all positions including overlaps, and they are not stopped by punctuation — a phrase can span a full stop, which occasionally produces an odd-looking entry in the table.

A worked example: the same text at three phrase lengths

A 1,000-word article about invoice templates, counted with stop words excluded.

Phrase Length Count Positions Density
invoice 1 word 24 1,000 2.4%
template 1 word 18 1,000 1.8%
invoice template 2 words 11 999 1.1%
free invoice template 3 words 4 998 0.4%
payment terms 2 words 6 999 0.6%

"invoice" at 2.4% is fine for a page about invoices; the useful finding is that "payment terms" appears six times while "due date", the phrase readers search for, appears nowhere. The three-word density looks tiny only because the denominator is almost the whole document.

FAQ

What is a good keyword density percentage?

There isn't one. Density has not been a ranking factor for many years, and deliberately hitting a target percentage is the stuffing behaviour search engines penalise. Use the numbers to notice unintentional repetition and gaps, not as a goal to write towards.

Why are stop words removed by default?

Because the, of, and and their relatives account for roughly a quarter of English text and would fill the entire table. Removing them leaves the words that actually distinguish this document from any other. Turn the filter off if you need an exact count of a common word.

What is an n-gram?

A phrase of n consecutive words. Two-word and three-word n-grams are far more informative than single words because meaning in English is usually carried by compounds, and they match how people actually type searches.

How is the density percentage calculated?

Count divided by the number of positions a phrase of that length can occupy in the text — the word count for single words, slightly fewer for longer phrases. That means densities are only comparable within the same phrase length, not across them.

Are capitals and punctuation counted separately?

No. Everything is lowercased before counting, so Invoice and invoice are one entry. Punctuation is not part of a word, though apostrophes inside words are kept, so don't is counted as a single word rather than two.

How many times should a keyword appear on a page?

Often enough that the page is unmistakably about it and no more: in the title, the first paragraph, a heading or two and wherever it reads naturally. On a 1,000-word page that is usually five to fifteen mentions. Beyond that you are writing for a formula that search engines abandoned years ago.

How do I check keyword density for a whole website?

One page at a time. Density only makes sense within a single document because the denominator is that document's length, so paste each page's body text separately. For a site-wide view of vocabulary, paste the pages in turn and compare the top two-word phrases rather than the percentages.

See also: all Writing & Editing tools, Lists & Lines, Markdown & HTML, Ciphers & Alphabets.

Related tools