Maaz Zindani

Loading the index…

↑↓ move↵ openesc close4791 pages

Free tool · SEO and webmaster

Keyword density checker

Paste an article or the HTML of a page, add the keywords you are writing for, and see how often each appears, what share of the words it takes and where it sits: title, headings, the first 100 words. It runs on your device.

  • Free
  • No sign-up
  • Runs in your browser

By Maaz Zindani · Updated

Top terms to list
Density of "rain gutters"

3.05%rain gutters appears 2 times in 131 words

  • HTML page read
  • 67 different words
  • Title found
  • 1 H1
KeywordCountShareFirst at
rain gutters23.05%4
Where it appearsrain gutters
TitleYes (1×)
Meta descriptionYes (1×)
H1Yes (1×)
H2sNo
First 100 wordsYes (2×)
Last 100 wordsNo
Longest gap (words)124

Top words in the body (common words skipped)

#WordCountShare
1water44.88%
2gutters33.66%
3blocked22.44%
4clean22.44%
5downspout22.44%
6hose22.44%
7how22.44%
8ladder22.44%
Words in the body
131
Different words
67
Title
How to clean rain gutters in an afternoon
H2 headings
2

How to use the Keyword Density Checker

  1. Paste the text, or the HTML of the page, into Your text, or the HTML of a page. The page tells which one it got from the tags it finds.
  2. Type the words you want to check under Target keywords, one phrase per line, up to five.
  3. Read the density, the table of counts and the table of places. Choose Top terms to list to switch the list between words and 2 or 3-word phrases.
  4. Press Download CSV or Copy keyword table to take the keyword rows into a sheet.

What is keyword density and how do I calculate it?

Keyword density is the share of the words in a text that a keyword takes up. The formula is occurrences × words in the keyword ÷ total words × 100. In the example page the phrase "rain gutters" appears 2 times in a body of 131 words. It is a two-word phrase, so it covers 2 × 2 = 4 words, and 4 ÷ 131 × 100 = 3.05%.

Matching is by whole words, ignoring capital letters. The keyword "gutter" does not count "gutters", because they are different words as written, and a phrase counts only when its words sit next to each other in that order. Matches do not overlap, so "a a" in "a a a" is found once.

For HTML, the count uses the visible body text: headings and paragraphs, with scripts, styles and comments left out. The page title and the meta description are read separately and are not part of the word total. The example body is 131 words, of which 67 are different.

The example page, keyword by keyword
KeywordCountShare of wordsFirst atLongest gap
rain gutters23.05%word 4124 words
gutter10.76%word 18113 words
wall21.53%word 23106 words
water43.05%word 2072 words

Is there an ideal keyword density?

The same count means a different density in a longer or shorter text, so a bare number of repeats says little. This page does not give a target percentage, on purpose. A figure like 1% or 2% is a rule of thumb that circulates between SEO articles, and this tool has no way to check it against how a search engine ranks pages. What it can measure is what is on your page, so use the density as a mirror: it shows when a word shows up far more often than you meant.

Repetition that is there for a search engine instead of the reader is what Google's spam policies target. They define keyword stuffing as filling a page with keywords or numbers in an attempt to manipulate rankings in search results. The policy points at repetition that reads as forced or unnatural. A density number cannot tell the difference, but reading the text aloud usually can.

So write for the person first. Use the keyword where it fits, with synonyms and related words around it, and check the result here. A 600-word article with a two-word phrase used 3 times comes to 1.00%, and the same three uses in a 300-word text come to 2.00%. Neither number says whether the writing is good.

What a one-word keyword comes to: occurrences against text length
Text length3 times6 times10 times
300 words1.00%2.00%3.33%
600 words0.50%1.00%1.67%
1,000 words0.30%0.60%1.00%
2,000 words0.15%0.30%0.50%

Where does my keyword appear: title, H1 and the first 100 words?

When you paste HTML, the second table shows each keyword by place: the title, the meta description, the H1, the H2 headings, the first 100 words of the body and the last 100. In the example "rain gutters" is in the title (yes), the meta description (yes), the H1 (yes) and the first 100 words (yes), but not in any H2 (no). The word "wall" is not in the title or the H1, and it appears in both the first and the last 100 words.

These rows are a checklist, not a score. A keyword that is missing from the H1 may be fine if the H1 says the same thing in other words. The first-100-words window is the tool's own way of asking whether the topic is stated early, and the number 100 is not a ranking rule.

Two more figures help with reading flow. First at is the word position of the first match, and Longest gap is the longest run of words with no match: 124 words for "rain gutters" in the example, because both uses sit near the top. A long gap in a long article can mean the topic drifted, or it can be perfectly normal.

Plain text has no title or headings, so only the two word-window rows are shown. Pasting two sentences with the phrase used twice gives 57.1%, a share that looks large only because the text is so short.

How do I find the words I overuse, and check 2 and 3-word phrases?

Under the tables the page lists the most used terms of the body text. For the example the top word is "water", used 4 times, followed by "gutters" at 3. Switch Top terms to list to 2-word or 3-word phrases and the same body is counted in runs of two or three words: the top 2-word phrase is "rain gutters", used 2 times.

Very common words are skipped, using the same short fixed list as the word frequency counter, which is the better tool when you need to count every word, set a minimum length or download the whole list. This page lists the top eight terms and concentrates on the keywords you name. Water at 4 uses in 131 words shows how a topic word you never targeted can still lead the list.

For length, reading time and sentence counts, use the word counter. To tidy a list of phrases first, the duplicate line remover helps.

How do I check the HTML of a page, and is my text sent anywhere?

To check a live page, open it in your browser, use the browser's view-source command, copy everything, and paste it here. This page does not fetch addresses itself, so it never contacts the site you are checking.

The text and the keywords are processed in your browser and are not sent anywhere. HTML is read with plain pattern matching, so very unusual markup may leave a stray word or two in the count. For text from a document or an editor, paste it as plain text and the tag reading is skipped.

Large pastes are fine up to about 1.5 million characters. Keywords longer than six words are skipped and the page tells you how many were.

Use it with

Questions

What is keyword density and how do I calculate it?

Divide the words the keyword takes up by the total words and multiply by 100. "rain gutters" twice in 131 words is 2 × 2 ÷ 131 × 100 = 3.05%.

Is there an ideal keyword density?

This tool does not set one. Google defines keyword stuffing as filling a page with keywords to manipulate rankings. Use the number to spot unnatural repetition, then judge by reading the text.

Does keyword stuffing hurt SEO?

Google's spam policies list keyword stuffing as a spam practice. Stuffing means repeating words or numbers in a way that reads as forced.

How do I find which words I overuse?

Look at the top terms under the tables. In the example, "water" leads with 4 uses even though it was not a target.

Can I check two and three-word phrases?

Yes. Type a phrase of up to six words as a keyword, or switch Top terms to list to 2-word or 3-word phrases for the whole text.

Does it check a URL?

No. Paste the text or the page source. The page does not contact any website, so nothing you check is sent anywhere.

The tool's results are computed in your browser by the code on this page, using the sources listed above; the explanations are checked against the tool's own output.