Paste any article and instantly see how often every word and phrase appears, with its keyword density as a percentage. Catch over-used terms that risk Google's keyword-stuffing penalty and check that your focus keyphrase sits in the healthy 0.5%–3% range. Runs entirely in your browser — no upload, no signup.
By Induwara Ashinsana— Executive Director, Ryzera TechnologiesUpdated Jun 24, 2026
How it works
Keyword density measures how often a term appears relative to the total number of words on a page. The counting model is raw term frequency— the literal number of times a token occurs — defined in Manning, Raghavan & Schütze's Introduction to Information Retrieval (Cambridge, 2008). The density percentage itself uses the formula documented by Yoast SEO:
density = (keyphrase count ÷ total words) × 100
The tool runs entirely client-side in four deterministic steps:
Normalise.The text is lowercased and every run of non-alphanumeric characters is replaced with a single space, keeping intra-word apostrophes and hyphens so “co-op” and “don't” stay intact.
Tokenise. The normalised text is split on spaces into a word array. Its length is the total words — the denominator for every density figure.
Count. For single words, each unique token is tallied. For 2- and 3-word phrases, a sliding window walks every contiguous sequence and counts exact matches. Density is each count divided by total words.
Grade the focus keyphrase. If you enter one, its exact occurrences are counted and mapped to a band: under 0.5% (under-used), 0.5%–3% (healthy), or above 3% (stuffing risk).
The healthy 0.5%–3% band comes from Yoast's keyphrase-density guidance; the upper warning aligns with Google Search Central's keyword-stuffing policy, which treats cramming a page with keywords to manipulate rankings as spam. When “ignore common words” is on, stop words (the, a, of, to, and…) are hidden from the table, but they are never removed from the total-word denominator — so densities stay comparable to what a search engine actually measures.
For credibility the focus keyphrase is counted two independent ways: a sliding token window and a separate text scan. If the two ever disagree, the tool shows a warning instead of a silent number — the same dual-method check the site's tax calculator uses against the IRD formula.
Worked examples
Frequently asked questions
What is a good keyword density percentage for SEO?
How do you calculate keyword density?
What keyword density is considered keyword stuffing?
How many times should a keyword appear in a 1000-word article?
Does keyword density still matter for Google rankings in 2026?
Does this tool send my content to a server?
Why does the density use the full word count, including common words?
Can it check 2-word and 3-word phrases, not just single words?
The keyphrase-density formula and the healthy 0.5%–3% band on this page were last reconciled against the Yoast and Google Search Central sources on 2026-06-24.