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.
Live preview
Exactly what your visitors will seeUnder the widget on your page: Powered by A2Z Tools
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.
<div data-a2z-widget="keyword-density-checker" data-height="880"></div> <script async src="https://a2z.tools/embed.js"></script>
Adds a small script (what it does) that sizes the widget to fit its content, loads it lazily and keeps it isolated from your page's CSS.
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
<a href="https://a2z.tools/keyword-density-checker">A2Z Tools Keyword Density Checker</a>
[A2Z Tools Keyword Density Checker](https://a2z.tools/keyword-density-checker)
Keyword Density Checker by A2Z Tools - https://a2z.tools/keyword-density-checker
Related widgets
-
Words, characters, sentences, paragraphs, reading time and social-media character limits.
-
Flesch, Flesch-Kincaid, Gunning Fog, SMOG, Coleman-Liau and ARI scores for English text.
-
Preview a title, URL and meta description as a Google-style result, with pixel-width estimates.
-
Preview Facebook, LinkedIn and X link cards and generate the Open Graph meta tags.
-
Turn a title into a clean URL slug: accents transliterated, optional stop-word removal and length cap.
-
Check whether a robots.txt allows a crawler to fetch a URL, and which rule decides it (RFC 9309).