Keyword Density Analyzer - Check Word Frequency & TF
SEO & Marketing
Analyze pasted text for word frequency, keyword density, and 1–3-gram patterns. Filter stop words, sort results, and compare phrases in a visual bar chart.
How to use this tool
- Paste your text. Copy the body text of your page and paste it into the input.
- Toggle stop words. Remove common words like "the" and "and" for cleaner results.
- Review the bar chart. See which words and phrases are most prominent.
The 1–3% rule is outdated
Keyword density can describe how often a word or phrase appears, but it is not a target or a ranking score. The old idea that a "correct" density of 1–3% would help rankings turned a rough observation into a rule. This analyzer divides a term count by the analyzed token count and expresses the result as a percentage; filtering stop words changes which terms appear, not the denominator. The number alone cannot tell whether a passage reads naturally or answers a reader's question.
TF-IDF as a conceptual model
TF-IDF (Term Frequency – Inverse Document Frequency) is a statistical method for comparing a term's frequency in one document with how common it is across a collection of documents. It is useful background for thinking about word frequency, but this tool does not calculate TF-IDF or compare your text with a document corpus; it reports word and phrase counts.
- TF: how often the term appears in this document
- IDF: how uncommon the term is across the chosen document collection. A term that appears in fewer documents receives more weight in this model.
- The product (TF × IDF) combines within-document frequency with collection-level rarity.
For example, "the" may occur often in one document but is common across many documents, while a specialized term may be less frequent and less common in the collection. This is an explanation of the model, not a score produced by this analyzer.
Content optimization tips
- Cover the topic clearly, using related terms when they help explain it
- Use key phrases where they fit the page, then review the wording in context
- Avoid repeating exact phrases solely to increase their count
- Match search intent: informational queries need explanations; transactional queries need conversion-focused content
What is keyword density?
Keyword density is the number of times a word or phrase appears divided by the analyzed token count, multiplied by 100. It is a descriptive measurement, not a recommended range, quality grade, or prediction of search performance. A high percentage by itself does not establish a problem; look at whether repeated wording sounds forced or distracts from the meaning. Google's spam policies describe keyword stuffing as repeating words or phrases so often that the text sounds unnatural, without setting a density percentage threshold.
How to use this tool
Paste the body text of your page (not the HTML source) into the text area. The tool strips stop words - high-frequency words like "the", "and", "of" that add no topical signal - so you can focus on the meaningful terms. Toggle to include them if you need a full frequency picture.
N-grams: single words vs phrases
Switching to 2-gram or 3-gram mode shows you multi-word phrases instead of single words. This is useful for spotting repeated phrases such as "running shoes" or "coffee maker" in a draft. Use them to review wording and coverage in context, rather than as a measure of ranking relevance.
Frequently asked questions
What is keyword density?
Keyword density is the share of analyzed tokens represented by a word or phrase, shown as a percentage. It is a descriptive diagnostic; this tool does not label any percentage healthy or predict rankings.
Should I optimise for exact keyword density?
No. Treat the result as a descriptive diagnostic, not a ranking score or target percentage. Review repeated words and phrases in context and keep the writing natural and useful to readers.
What are n-grams?
N-grams are sequences of N consecutive words. A 2-gram (bigram) like "running shoes" or "coffee maker" shows you which multi-word phrases appear most often in your content.
More seo & marketing
- Heading AnalyzerPaste any HTML to extract and visualize the H1–H6 heading outline. Flags multiple H1s, skipped levels, and empty headings for SEO review.
- Meta Tag GeneratorGenerate complete HTML <head> meta tags: title, description, canonical, Open Graph, and Twitter Card. Preview and copy the ready-to-paste code block. All processing is local.
- OG PreviewPreview five social cards from pasted HTML or tags. Inputs stay in your browser; page URLs aren't fetched, but preview images load from supplied URLs.
- Schema MarkupBuild copy-ready JSON-LD for seven page types with live previews, basic completeness checks, and blank-value cleanup.
- SERP PreviewPreview Google search snippets with approximate desktop and mobile pixel widths for titles and descriptions. Measure truncation as you edit, locally.
- Title Tag CheckerPaste multiple page titles (one per line) to instantly see their pixel widths, pass/fail against Google thresholds, and optionally append a brand suffix.