---
title: "Keyword density checker"
url: "https://blogautopost.com/tools/keyword-density.md"
canonical_url: "https://blogautopost.com/tools/keyword-density"
last_updated: "2026-10-19"
type: "tool"
summary: "Count how often a phrase appears in your text, see its share of all words, and list your most used words and phrases, in your browser."
related: ["https://blogautopost.com/tools.md", "https://blogautopost.com/tools/content-cost.md", "https://blogautopost.com/docs.md"]
---

# Keyword density checker

> **For AI agents:** the complete index of BlogAutoPost pages is [llms.txt](https://blogautopost.com/llms.txt). Every page is also served as markdown at its URL plus .md.

Count how often a phrase appears in your text, see its share of all words, and list your most used words and phrases, in your browser.

## What this tool shows

Paste text and, if you like, a target phrase. For the phrase the tool reports how many times it appears, what share of all the words it takes up, the word positions where it starts, whether it appears in the first 100 words, and whether it appears in a heading when the text has Markdown or HTML headings. Below that it lists the most used single words, two-word phrases and three-word phrases, with common small words left out. It runs in your browser, so the text is not sent anywhere.

## The formula

```
density (%) = occurrences x words in the phrase / total words x 100
```

Multiplying by the number of words in the phrase makes the share comparable across phrases: a two-word phrase that appears 5 times takes up 10 of the words, not 5. Matching follows four rules. It works on whole words, so "cat" is not found inside "category". It ignores capitals and the accents on Latin letters, so "CAFE" finds "café". It counts matches from left to right without overlap, so "a a" appears once in "a a a". And the words of a phrase must be separated by spaces or line breaks only, so "free, trial" does not match "free trial".

## What the tables leave out

The tables skip small common words such as "the", "and" and "of", using the open stopwords-iso lists for English, Spanish, French, German, Portuguese, Italian, Dutch (MIT license). You can switch the list or leave none out. A word or phrase must appear at least twice to be listed, and a phrase is skipped if it starts or ends with a small word or contains a bare number. The small words are left out of the tables only; they still count toward the total number of words and toward the phrase search.

## What Google says

Google's documentation gives no ideal percentage. Its spam policy defines keyword stuffing as filling a page with keywords or numbers to manipulate rankings, with the example of repeating the same words or phrases so often that the text sounds unnatural, and it names no number. Its SEO starter guide says that excessively repeating the same words, even in variations, is tiring for users, and that it is against the spam policies. For that reason the tool shows counts and shares and never rates a result as high or low.

## Worked example

The sample text, a Markdown heading and one paragraph:

```
# Coffee at home

Good coffee at home starts with fresh beans. Fresh beans, ground just before brewing, make better coffee than beans ground weeks ago. Buy small bags of beans and store them away from light.
```

| Measure | Result |
| --- | --- |
| Total words | 36 |
| Target phrase | "fresh beans" (2 words) |
| Times it appears | 2 |
| Share of all words | 11.11% |
| Starts at word positions | 10, 12 |
| In the first 100 words | Yes |
| In a heading | No |

Read the share by hand to see the formula at work: 2 appearances of a 2-word phrase in 36 words is 2 x 2 / 36 x 100 = 11.11%. The text has 36 words, under the 100 the tool wants for a useful table, so it adds a note that the tables are thin. In the table of words, "beans" leads with 4 appearances.

## Short texts and odd inputs

- Under 100 words, the tables carry a note that they are too short to be useful, and are still shown.
- A phrase longer than the text cannot appear in it, so the result is 0 appearances and a share of 0%.
- An empty text has nothing to measure, so no share is shown.
- If you paste HTML, tags and scripts are removed before counting, so tag names are not counted as words.

## Related tools and guides

- [Word count and reading time](https://blogautopost.com/tools/word-count.md): the same word rules, with reading and speaking time.
- [Readability checker](https://blogautopost.com/tools/readability.md): checks how long the sentences around your phrase are.
- [Title and meta description checker](https://blogautopost.com/tools/seo-title-meta.md): measures the two short fields that go with the post.
- [Search Console](https://blogautopost.com/docs/search-console.md): how BlogAutoPost connects to your Search Console data, the place to see which queries your pages appear for. More in the [docs](https://blogautopost.com/docs.md).

## Frequently asked questions

### What is the right keyword density?

Google's documentation gives no ideal percentage. Its spam policy and SEO starter guide warn against repeating words so often that the text sounds unnatural and name no number. Use the share to spot an overused phrase, and write for the reader first.

### How is the density calculated?

It is the number of times the phrase appears, multiplied by the number of words in the phrase, divided by the total number of words, times 100. Matches are whole words, ignore capitals and Latin accents, and do not overlap.

### Why is a common word missing from the tables?

The tables leave out small words such as "the" and "and" using the stopwords-iso lists, so the table shows the words that carry the subject. Choose "Leave none out" in the language box to see them. They are always part of the total word count.

### Can I check a phrase in another language?

Yes. Matching works on any language the browser can split into words. The small-word list is available for English, Spanish, French, German, Portuguese, Italian and Dutch; for other languages choose "Leave none out".

### Is my text stored or sent anywhere?

No. Everything is computed in your browser. The text box takes up to 100,000 characters and refuses longer text with a message instead of cutting it.

## Sources

- [Google Search Central, Spam policies for Google web search (keyword stuffing)](https://developers.google.com/search/docs/essentials/spam-policies), read 2026-10-19
- [Google Search Central, SEO Starter Guide (keyword stuffing, meta keywords)](https://developers.google.com/search/docs/fundamentals/seo-starter-guide), read 2026-10-19
- [stopwords-iso, stopword lists for 58 languages, MIT License (master commit 6e8e9a2, 2020-09-17)](https://github.com/stopwords-iso/stopwords-iso), read 2026-10-19
- [stopwords-iso, LICENSE file](https://raw.githubusercontent.com/stopwords-iso/stopwords-iso/master/LICENSE), read 2026-10-19

## Related

- [Free tools for blog writers](https://blogautopost.com/tools.md)
- [Content cost and plan chooser](https://blogautopost.com/tools/content-cost.md)
- [BlogAutoPost documentation](https://blogautopost.com/docs.md)
