Keyword Density Checker
Tokenises any text and produces 1-gram, 2-gram and 3-gram frequency tables with density percentages. Each keyword is banded against an ideal 1-3% range — easy spotting of under- and over-optimisation. Stopword filter, TSV export. 100% offline.
What is the Keyword Density Checker?
Keyword Density Checker tokenises any block of prose into Unicode-aware words and produces three frequency tables side-by-side: 1-grams (single words), 2-grams (consecutive word pairs), and 3-grams (triples). For each keyword we report the raw count, the density percentage (count ÷ total tokens × 100), and a band — 'optimal' (within the configured ideal range, default 1-3% for primary keywords), 'high' (above the ideal range — possible over-optimisation), and 'low' (below the ideal range). Tunables include the optimal range bounds (most SEO guidelines settle on 1-3% for primary keywords; longer-tail or supporting terms can go lower), case-insensitive comparison, stopword filtering (drops the/and/of/to/… for 1-grams), and a minimum word length threshold. A live filter narrows the tables by substring when your text is long. Export the full report as TSV (paste into a spreadsheet) or copy a per-table snippet. The same engine powers our internal SEO writing review.
How to use it
- Paste your content — a blog post, landing page, essay, or marketing copy.
- Inspect the 1/2/3-gram tables side-by-side; band colour = optimal / high / low.
- Tune the optimal range (default 1.0–3.0%) and stopword/min-length toggles if needed.
- Filter by substring to drill into a candidate keyword, then export TSV or copy the full report.
Benefits
- 1-gram (single word), 2-gram (pair) and 3-gram (triple) density tables — see phrasing-level density, not just word density.
- Density bands: 'optimal' (1-3%), 'high' (>3% — over-optimisation risk), 'low' (<1%).
- Configurable ideal range — adjust to your SEO guideline.
- Stopword filter for 1-grams (the/and/of/to/…) so the report focuses on real keywords.
- Min-length threshold filters out very short tokens (default 3 chars).
- Live substring filter for hunting specific candidate keywords.
- Lexical diversity (unique ÷ total) — one-number quality proxy.
- TSV export ready for paste into Google Sheets / Excel.
- Runs 100% in your browser — your text never leaves the device.
Frequently asked questions
What's a good keyword density?
Most modern SEO guidelines settle on 1-3% for primary keywords. Below 1% suggests the keyword isn't prominent enough; above 3% looks like keyword stuffing to search engines and reads worse to humans. Long-tail and supporting keywords typically sit lower (0.5-1.5%).
Why 1/2/3-gram tables?
Search intent is often phrasal. A page about 'project management software' isn't well-served by a single-word density check on 'project' or 'software' — you need the bigram and trigram densities to spot whether the phrase as a whole carries the right weight.
What's a stopword?
Extremely common glue words — the, and, of, to, in — that you can't avoid in English prose. Filtering them out makes the report focus on the words you're actually choosing. Turn the filter off if you're analysing very technical or specialised text.
Does it work on non-English text?
Tokenisation is Unicode-aware so French, Spanish, German, Hindi etc. parse correctly. The stopword list is English-only — turn the toggle off when analysing other languages.
How are bigrams counted?
We slide a 2-word window over the tokens and count each pair. Pairs containing a stopword are excluded when 'ignore stopwords' is on. The denominator is (total tokens − 1).
Why is my keyword in 'high' band?
Its density is above the configured ideal range (3% by default). Either the keyword genuinely appears too often (consider rewriting with synonyms — see the Sentence Rewriter), or your ideal range is too strict for the text length.
Will the same word in different cases count together?
Yes when 'ignore case' is on (default). 'Toollyz' and 'toollyz' both count toward the same density. Turn off for case-sensitive analysis.
Can I export the report?
Yes — Copy TSV or Download TSV. The TSV has columns for gram size, keyword, count, density and band, ready to paste into Excel/Sheets/Numbers.
Does it scrape URLs?
Not in this version — paste the text yourself. We may add URL fetching in a future version (with CORS caveats; not all sites allow it).
How is this different from Word Counter?
Word Counter focuses on overall text stats (word count, reading time, readability, repeated-word warnings). This tool is specifically about keyword density and gram-level frequency — the SEO writer's view.
Is anything uploaded?
No. Tokenisation, frequency counting and density calculation all run in your browser.