Keyword Density Checker

Count repeated words and target phrases in supplied page text or HTML.

On-device No sign-up Free to use

Count keyword use controls

Showing an example. Edit to see your own.

?

Paste page text or HTML, up to 200,000 characters. Tags, scripts and comments are dropped before the words are counted.

?

Counts whole-word matches within one sentence. Occurrence share and matched-word coverage use different denominators; neither is a ranking target.

?

Common words such as the and and are counted in the totals but hidden from the single-word rows.

Processed in your browser. Your inputs stay on this device.

Result

Showing an example.

Count cold brew coffee in the supplied 73-word example: three occurrences cover nine of those words.

73 words and 52 unique words. The most used word is "brew" at 3 (4.1% of all words). 4 phrases appear at least twice. Target "cold brew coffee": 3 matches, 4.1% occurrence share and 12.3% matched-word coverage.

Loading the tool. Your result will appear here.

https://usefreetools.net/keyword-density-checker · 20 November 2026

Was this helpful?

How to use Keyword Density Checker

  1. Paste page text or HTML. The reader removes comments, script/style blocks and tags before counting; inspect the cleaned text if literal angle brackets matter.
  2. Enter a target word or phrase if you want its whole-word match count, occurrence share and matched-word coverage. Supplied HTML also permits title, first-H1 and first-paragraph observations.
  3. Leave common words hidden for the single-word list, or include them when useful. This filter does not remove those words from totals.
  4. Use Repeated words where they appear to mark all repeated terms or one selected word in the cleaned text. Read the surrounding sentences before editing.
  5. Download keyword-counts.csv to compare word/phrase counts. Preserve useful terminology and remove repetition only when it makes the writing clearer.

Example: Keyword Density Checker

Count cold brew coffee in the supplied 73-word example: three occurrences cover nine of those words.

You add
Page text or HTML: <h1>Cold brew coffee for a small kitchen</h1> <p>Cold brew coffee needs only a jar, filtered water and coarsely ground beans. Start with a measured ratio so you can repeat the strength you prefer.</p> <p>Keep the covered jar in the refrigerator while it steeps. Strain the cold brew coffee through a clean filter, then taste a small glass before adding water or milk. Write down your ratio and steeping time for the next batch.</p>; Target keyword or phrase (optional): cold brew coffee; Leave common words out of the word list: true
You get
73 words and 52 unique words. The most used word is "brew" at 3 (4.1% of all words). 4 phrases appear at least twice. Target "cold brew coffee": 3 matches, 4.1% occurrence share and 12.3% matched-word coverage.

Options

Common-word filter
On, the single-word rows hide words such as the, and and of so the terms that carry meaning stand out. The totals still count them, so the share column stays a share of every word. Switch it off when a short common word is the point of the check.
Share of words
The share is the number of sightings divided by every word in the sample. A three-word phrase counted five times shows a share of five sightings, not fifteen, so a phrase and a single word are measured the same way.
Page text or HTML
Paste page text or HTML, up to 200,000 characters. Tags, scripts and comments are dropped before the words are counted.
Target keyword or phrase (optional)
Counts whole-word matches within one sentence. Occurrence share and matched-word coverage use different denominators; neither is a ranking target.
Leave common words out of the word list
Common words such as the and and are counted in the totals but hidden from the single-word rows.

Supported inputs and limits

  • Up to 200,000 input characters and 50,000 words.
  • Target input allows 200 characters and 10 words.
  • Phrase/target matches stay within sentence and paragraph boundaries; overlapping matches can overlap word coverage.
  • Top-word and repeated-phrase lists are bounded, while totals describe the supported complete input.
  • Title, first-H1 and first-paragraph presence use supplied markup only.
More details

No page fetch, ranking, keyword-volume estimate or ideal-density score.

Where your input is processed

This tool does not upload your inputs. See the limits for anything saved on your device.

Occurrence share and word coverage answer different questions

If a three-word phrase occurs three times in 73 words, its occurrence share is 3/73, about 4.1%. Its matched-word coverage is 9/73, about 12.3%. Neither tells you whether the sentences are useful, and overlapping matches can cover some of the same words. Use the highlights to spot nearby repetition, inconsistent terminology or a missing explanation. Keep a necessary term when it helps the reader, even if it appears often.

Questions about Keyword Density Checker

What keyword density should I aim for?

Use the percentage as a way to locate repetition, not a writing target. Read whether each occurrence helps the explanation. Google’s people-first guidance focuses on useful content; adding or removing words to hit an arbitrary percentage does not establish that usefulness.

Why is a word I can see on the page missing from the list?

Two reasons are common. The single-word rows show the 15 most frequent words, so a word used once can sit below the cut, and the common-word filter hides words such as the and of while the filter is on. The totals above the table still count every word.

How are the two-word and three-word phrases counted?

Each consecutive two- or three-word window within a sentence/paragraph is counted, including overlapping windows. A repeated phrase appears once in the list with its count; phrases made entirely of the stored common words are omitted. The optional target phrase has its own match and coverage figures.

Does the counter read the words inside HTML tags?

No. Comments, script blocks, style blocks and tags are removed before the words are counted. If your text uses a literal angle bracket, such as in a math expression, the reader can mistake it for a tag, so compare the first lines of the text result with your source when that matters.

Do the highlights show positions in my HTML source?

They show positions in the cleaned text used for counting. Tags, comments and hidden script/style blocks are removed, so those positions differ from source-code offsets. The common-word filter also applies to the marks. Pasted markup is displayed as text, never executed.

Page updated · Project managed by Tony Hines · Report a problem with Keyword Density Checker

Related reading

All guides