ToolBook
Support us on Ko-fi
Help us keep this free, forever

Keyword Density Checker

How to use the Keyword Density Checker

Paste your article, switch between 1, 2, 3, and 4-gram views, scan the density table.

  1. Paste the article or page copy

    Drop the full draft into the text box. The longer the text, the more reliable the density signal.

  2. Pick the n-gram size

    Use 1-gram for single keywords, 2-gram for two-word phrases, 3-gram for long-tail, and 4-gram to find ultra-specific phrase patterns.

  3. Read the density table

    Top phrases are sorted by frequency. The bar visualizes density relative to the most-used phrase. Aim for 1–2% on your primary keyword.

  4. Adjust your draft

    If your target keyword is below 1%, work it in more naturally. If it's above 3%, vary the phrasing — synonyms count as the same topic to modern search engines.

  5. Benchmark against a competitor

    Paste a competitor's page text and run the same check. Compare their top 1-gram and 2-gram phrases against yours to identify keyword gaps worth closing.

Frequently asked questions

What is keyword density?

Keyword density is the percentage of times a word or phrase appears relative to the total word count. For a 1,000-word article that mentions "React" 25 times, the density is 2.5%. SEO writers use density to check whether an article emphasizes the right keywords without crossing into keyword stuffing.

What is a good keyword density?

1–2% for the primary keyword is the widely-cited safe range. Below 1% and search engines may not understand the page topic. Above 3% looks unnaturally repetitive, and modern search algorithms penalize obvious stuffing. For long-tail and multi-word phrases, density is typically lower (0.3–1%).

What's the difference between 1-gram, 2-gram, 3-gram, and 4-gram density?

1-grams are single words ("react"). 2-grams are two-word phrases ("react component"). 3-grams are three-word phrases ("react server component"). 4-grams capture even more specific long-tail phrases ("react server component tutorial"). Long-tail SEO often targets 3- and 4-gram phrases because they match higher-intent search queries. Switch the size with the segmented selector at the top of the table.

Are stop words included?

By default, no. Common English stop words ("the", "a", "and", "of") would dominate any density count and tell you nothing useful. Toggle them back in if you're analyzing very short text or if you specifically need to know how often "the" appears.

Why is the density calculation different from a simple word-count percentage?

For 1-grams, density equals (count / total words) — the standard definition. For 2-, 3-, and 4-grams, the denominator is the number of n-grams of that size, not the total word count. This produces percentages that sum to a meaningful 100% within each n-size.

Should I aim for higher density or more variety?

Variety. Modern search engines understand synonyms and related terms ("car", "vehicle", "automobile") as the same topic. Repeating the exact same keyword 30 times tells the algorithm "this might be spam." Repeating the topic with varied phrasing tells it "this is comprehensive."

What is keyword stuffing and how do I avoid it?

Keyword stuffing is the practice of cramming a target keyword into content far beyond what reads naturally — typically above 3–4% density. Google's spam policies explicitly penalize it. The fix is simple: if your top keyword appears above 3%, rewrite some instances with synonyms or related phrases. The 2-, 3-, and 4-gram views often reveal stuffing patterns that the 1-gram view misses.

Does keyword density affect Google ranking?

Less than it used to, but it still matters. Google uses semantic embeddings rather than literal keyword counts, so it understands synonyms and context. That said, a page that never mentions its target keyword will struggle to rank for it. The goal is natural coverage — the keyword appears enough for search engines to understand the topic, but not so often it looks manufactured.

How do I use this tool to analyze competitor content?

Open your competitor's page, select all text (Ctrl+A), copy it, and paste it here. The 1-gram view shows which single keywords they emphasize most. The 2-, 3-, and 4-gram views reveal the exact multi-word phrases they are targeting. Compare the output against your own content to find keyword gaps you should close.

Can I check keyword density for a specific keyword only?

The tool shows all phrases ranked by frequency, so your target keyword will appear in the table if it is present in the text. To find it quickly, use your browser's find (Ctrl+F) on the results table. If the keyword does not appear, it means either the text contains no occurrences or the minimum token length filter is excluding it.

Keyword density, demystified

The 1–2% rule, why multi-gram analysis matters, and why variety beats repetition in modern search.

What keyword density actually tells you

Keyword density is the percentage of times a word or phrase appears relative to the total word count. For a 1,000-word article that mentions "React" 25 times, the density is 2.5%.

The number was useful in 2005, when search engines literally counted keywords to score relevance. It's still useful in 2026, but for a different reason: it catches your unconscious habits. The phrases you over-use, the keywords you under-use, the synonym you keep forgetting to swap in. Density is a signal of your writing, not a hack for ranking.

The 1–2% rule (and why it's a guideline, not a law)

Most SEO writers aim for 1–2% density on the primary keyword. Below 1%, search engines struggle to identify the page topic. Above 3%, the article reads as obviously stuffed and modern algorithms penalize it. Between those bounds is the comfortable zone where the keyword shows up enough to register but not enough to look forced.

The reason this is a guideline, not a law, is that modern search engines use semantic embeddings rather than literal keyword counts. They understand "automobile" and "car" as the same topic, and they read context as well as repetition. So a 3% density of one literal word is worse than a 1% density of the same word plus a 1% density of three related synonyms.

Why multi-gram analysis matters more than it used to

Long-tail SEO targets multi-word phrases. "Email marketing tool" gets fewer searches than "email," but the searches it gets are higher-intent — someone typing the long phrase has a clearer goal. Most ranking opportunity in 2026 lives in the 2-, 3-, and 4-gram tail.

This tool surfaces 1, 2, 3, and 4-grams in separate views. Look at the 1-gram view to see the topic skeleton. Switch to 2-gram for the natural phrasing. Switch to 3-gram to find long-tail variations. Use 4-gram to uncover ultra-specific phrase patterns your competitors are hitting that you have missed.

Why stop-words are excluded by default

"The," "of," "and," "to," "a" — these dominate any density count. A typical English page is 5–8% "the" by token. Including stop-words drowns the signal in noise. Strip them, and you see the actual topic.

The toggle exists for the rare case where stop-words matter — analyzing very short text (where every word counts) or auditing for filler-word overuse in spoken-word transcripts.

Density vs variety: prefer variety

The biggest mistake in keyword-driven writing is hammering the same exact phrase. Modern search engines reward semantic comprehensiveness. If your topic is "React server components," your article should also touch "RSC," "server-rendered React," "React 19," "Next.js App Router," "streaming SSR" — phrases that map to the same topic from different angles.

Use this tool inversely. If your primary phrase is at 4% but the related synonyms are at 0%, the article is keyword-stuffed without being topically broad. Spread the density across the whole topic vocabulary.

What the numbers in this tool mean

For 1-grams, density is (occurrences of word) / (total words). Standard definition.

For 2-, 3-, and 4-grams, density is (occurrences of phrase) / (total phrases of that size). The denominator changes because there are roughly N words but only N–1 two-grams, N–2 three-grams, and N–3 four-grams in a document of N words. Using the right denominator means percentages within each n-size sum to a meaningful 100%.

The bar in each row visualizes density relative to the most-frequent phrase, not relative to 100%. This makes the visual ranking more useful — the gap between #1 and #2 matters more than the absolute density of either.