Keyword Density Checker
Keyword density is the percentage of times a target keyword appears in a piece of content relative to the total word count. It is one of the oldest SEO metrics, and one of the most misunderstood. In the early 2000s, search engines used it as a primary ranking signal, and SEO writers chased specific densities (often "2-3%") as a magic number. Modern search engines barely use density as a direct signal, they use it to detect spam, not to reward optimisation, but the metric remains useful as a sanity check on your writing.
The ToolzPedia Keyword Density Checker analyses any text or URL and reports the frequency and density of single words, two-word phrases (bigrams), and three-word phrases (trigrams). It excludes common stop-words by default ("the," "and," "of," etc.) and runs entirely in your browser.
Use the tool to check that your primary keyword appears naturally in your content (target 0.5-2.0%), to spot accidental keyword stuffing, to see what topics your content actually covers (sometimes surprising), and to compare your draft against competing content.
Use the tool edit
How to use Keyword Density Checker edit
Follow these steps to use the tool:
-
Paste your text or enter a URL
Either works, paste a draft, or enter a URL to analyse a published page.
-
Choose stop-word filter
Default English stop-words are excluded; you can disable this for raw frequency.
-
Click Analyze
Results appear within a second.
-
Review the rankings
Single words, bigrams, and trigrams are shown with their counts and densities. Look for your target keyword in the top 5; verify nothing unintended dominates.
Details edit
- 1-3%, ideal for primary keyword
- 0.5-1%, secondary keywords
- 3-5%, borderline, watch out
- 5%+, keyword stuffing, hurts SEO
Frequently asked questions edit
Use cases edit
Confirming your primary keyword appears 5-10 times in a 1500-word post without dominating.
A density above 4-5% looks like spam to modern algorithms.
Run a top-ranking competitor through the tool to see what natural density looks like for the topic.
If your content barely mentions related terms (e.g., a pizza recipe with no mention of cheese, dough, or oven), it may not cover the topic deeply enough for search.
Confirming that your competitor's name doesn't accidentally outrank yours within your own post.
How it works edit
The tool tokenises the input text, removes punctuation, lowercases everything for case-insensitive matching, and removes a configurable list of stop-words (the, and, of, in, etc.). It then counts single-word, bigram, and trigram frequencies and computes density as (count / total_word_count) * 100.
For URL inputs, the tool fetches the page (server-side, since browsers cannot fetch arbitrary URLs due to CORS), strips HTML tags, and runs the same analysis on the visible text. This lets you check competing pages quickly without copy-pasting.
Tips and best practices edit
- For most posts, the primary keyword should appear 0.5-2.0% of the time. Higher than 3% looks unnatural; lower than 0.3% may signal weak topical focus.
- Bigrams and trigrams are often more revealing than single words, a post about "machine learning" should show that exact phrase, not just "machine" and "learning" separately.
- Modern SEO is about topical depth, not keyword density. Coverage of related concepts (which the tool shows in the top 20 phrases) often matters more than primary-keyword frequency.
- Use the tool to compare your draft against the current top-ranking pages for your target keyword. Match the natural pattern, do not aim for a specific number.
Common mistakes edit
The "2-3% rule" is from 2008. Modern algorithms care about natural language, not density.
Stuffing is detected and penalised by every modern algorithm. Write naturally and aim for topical coverage.
Single-word density is less informative than phrase density. A post about "best running shoes" needs that phrase, not just "shoes."
Related tools edit
Other free seo tools available on ToolzPedia:
Meta Tag Generator
Generate perfect SEO meta tags, Open Graph and Twitter Card tags for any page.
Robots.txt Generator
Create a proper robots.txt file to control search engine crawling of your site.
Sitemap Generator
Generate an XML sitemap for your website to help Google index all your pages.
See also edit
- All seo tools on ToolzPedia
- All tools, every utility in the encyclopedia
- Tutorials and guides related to seo tools
- Report a bug or request a feature