Keyword Density Checker Widget

Add a keyword density checker to your SEO or content-writing pages. Readers paste text and see the most frequent words and phrases with their counts and density, and can check how often a focus keyword appears.

SEO & Content Tool Runs in your browser Free · no ads

Customize your widget

Theme
Auto follows the visitor's light/dark setting.
Style
Attribution on your page
Optional and entirely your choice. The exact line is shown in the code below; it links to the tool with rel="nofollow".
More options
Starting values
Leave blank to use the widget's defaults. Visitors can still change every value.

Live preview

Exactly what your visitors will see

Embed code

<iframe src="https://a2z.tools/embed/w/keyword-density-checker" title="Keyword Density Checker by A2Z Tools" width="100%" height="880" style="border:0;width:100%" loading="lazy" allow="clipboard-write"></iframe>

A plain iframe. Works everywhere, including site builders that strip scripts. Adjust height if your content needs more room.

Works with

How it works

The widget uses A2Z's shared text engine and the rules of the A2Z Keyword Density Checker. Words are Unicode-aware and compared without case or accents, so Café and cafe count together. Two- and three-word phrases are only formed inside a sentence, never across a full stop. With stop words ignored, single stop words and phrases that begin or end with one ("of the", "the best") are skipped, as are one-letter words and pure numbers. Density is the number of occurrences divided by the total word count. No search engine publishes an ideal keyword density, so the widget reports the numbers without a target.

Method

  • Density = occurrences / total words x 100
  • Tokens: Unicode words, folded to lowercase without accents
  • N-grams: 1, 2 and 3 words, within one sentence
  • Stop-word filter: drop n-grams that start or end with an English stop word

Limitations

  • No stemming or lemmatising: run, runs and running are three different words here.
  • The stop-word list is English only, so for other languages switch the filter off and read the counts yourself.
  • Phrases longer than three words are not listed, although the focus keyword may have more words (up to 100 characters).
  • It measures one text in isolation; it does not compare against competing pages or estimate rankings.

Where publishers use it

  • SEO writing courses showing how repetition reads to users
  • Editors checking a draft for over-used words
  • Agency blogs explaining why keyword stuffing is outdated
  • Students analysing word frequency in a text

Questions

What is a good keyword density?

There is no official number. Search engines reward text that covers a topic naturally; a keyword that reads as repeated to a human is too frequent.

Are panel and panels counted together?

No. Words are only case- and accent-folded, not reduced to a stem, so singular and plural appear separately.

Why are some common words missing?

Stop words such as the, and and of are ignored by default. Switch the option off to include them.

Is the text sent anywhere?

No. The analysis runs in the browser.

Cite or recommend this tool

If you reference this tool in an article, course or documentation, these formats are ready to copy. They are optional - nothing is added to your site unless you paste it.

A2Z Tools Keyword Density Checker
https://a2z.tools/keyword-density-checker

Preview