How to Count Keywords in WordPress (Free Methods)

If you have ever wondered how to count keywords in WordPress, the short answer is that WordPress does not count them for you. The editor will tell you how many words your post has, but it has no button that says “this keyword appears 12 times”. That leaves you with three honest ways to get the number: count by hand with Find, paste the text into a free online counter, or let an SEO plugin check the density for you. This guide walks through all three, explains where the two editors differ, and shows what counts and what does not.

WordPress Has No Built-in Keyword Counter

WordPress has a word counter, not a keyword counter. In the block editor, the document information panel shows the word count, and the classic editor shows it in the bar at the bottom of the editing area. Both give you the total number of words. Neither tells you how many times a particular word or phrase appears.

That word count is still useful — you need it for the density formula later (keyword count ÷ total words × 100). But for the keyword count itself, you need your own method. The three below suit different situations: by hand for one phrase, an online counter for the full picture, and a plugin for a check inside the editor every time you write.

How to Count Keywords in WordPress by Hand

The simplest method needs no tool at all: your browser’s Find function. Open the post in the editor, press Ctrl+F on Windows or Cmd+F on a Mac, type the keyword, and step through the matches. The browser shows how many matches there are, and you can jump to each one to check it is a real use of the phrase.

The advantage is context: you see every match, so if your keyword is “dog food” and one match sits inside “dog food bowl”, you decide whether to count it. A counter would just add it. The disadvantage is speed — stepping through thirty matches on a 2,000-word post takes a while, and it is easy to lose count.

In the block editor

In the block editor, your post is split into blocks — paragraphs, headings, lists, images — but the browser’s Find still searches the whole editing page, so it finds matches across all blocks. One thing to watch: Find also matches text in the editor interface itself, such as a block’s placeholder text or a word in the sidebar. If the match count looks higher than you expected, open the matches and check where they sit. Matches inside your actual paragraphs and headings are the ones that count; matches in the editor’s own labels are not part of your post.

In the classic editor

The classic editor is one big text area, which makes hand-counting simpler. Press Ctrl+F or Cmd+F and the browser searches the whole post at once, including the title field if it is on the same page. There is no block structure to confuse the count and no sidebar text mixed in with the matches, because the editing area is just your text.

The classic editor also shows the word count at the bottom of the editing area, updating as you type. Note it down, do your Find count, and you have both numbers for density. The one catch is the same as in the block editor: Find counts partial matches, so “dogs” matches inside “dog food” if you search for “dog”. Search for the full phrase to keep the count honest.

How to Count Keywords in WordPress with a Free Online Counter

For anything longer than a short page, pasting your text into an online counter is faster and more consistent than counting by hand. Copy the text of your post — just the article itself, not the menu, the sidebar, or the footer — and paste it into our free keyword counter. Type in the keywords you want to check, up to fifty of them, and press Check. The tool counts each one, shows the density for each, and lists the most-used terms on the page, so you can see at a glance which words are doing the heavy lifting.

The counter has a few options worth knowing. Whole-word matching counts only the exact word on its own, so “dog” does not match inside “dogs” or “doghouse”. Partial matching counts every appearance of the letters, including inside other words. Case-sensitive matching treats “Dog” and “dog” as different words. For a normal check, whole-word matching with case turned off is the setting you want.

If you want the full picture rather than one keyword, the word density checker lists every word on the page with its count and percentage, and the most common two-word phrases too. That is the fastest way to spot a word you are repeating without realising it. A word that shows up far more often than the rest is usually the one making the page feel repetitive, even if it is not your target keyword.

One practical point: paste the body text only. Paste the whole page — navigation, footer, author box — and the word count rises, the density falls, and the most-used list fills with menu words like “home” and “contact”. Copy from the first paragraph to the last, headings included, and nothing else.

How to Count Keywords in WordPress with a Plugin

If you would rather have the check inside the editor, an SEO plugin can do part of the job. Two well-known free plugins, Yoast SEO and Rank Math, both include a keyphrase density check in their editor analysis. You type your focus keyphrase into the plugin’s box, and the analysis tells you whether the keyphrase density looks too high, too low, or about right, alongside its other checks for the title, meta description, and headings.

What the plugin gives you is a density verdict, not a raw count. It will say the density is fine or that the keyphrase appears too often; it will not list every word on the page with its count, and it only checks the one focus keyphrase you set. That is enough if you write with one main keyword per post, which is how most people work. It is not enough if you want to check several keywords, or to find out which words you repeat most.

The cost is not money — both plugins have free versions that include the density check. The cost is weight: every plugin adds code to your site, and one installed only to count keywords is doing a job a free web page does in seconds. If you already use Yoast or Rank Math, use the density check that comes with it. If not, do not install one just for counting.

What Counts and What Does Not

A keyword count is only useful if you and the tool agree on what is being counted: the visible text of the article, and nothing else.

Headings count — they are part of the page a reader sees, so a keyword in an H2 is a real mention. Image alt text usually does not count in a paste-in counter, because you paste visible text, not image tags — but it is a mention on the published page, so keep it in mind. Navigation menus, footers, sidebars, author boxes, and related-posts lists do not count: they appear on every page, so including them would make every page look as if it mentioned the same words.

Two matching details matter. First, whole word versus partial: “dog” inside “doghouse” is not a mention of “dog” on its own, and a careful count leaves it out. Second, case: “WordPress” and “wordpress” are the same word to a reader, so count them together. Our keyword counter lets you set both, so the count matches what you mean.

From a Count to a Density

Once you know how to count keywords in WordPress, the next question is what the number means. The count on its own is just a raw figure — twelve mentions sounds like a lot until you know the page is 2,000 words long. Density puts the count in context: divide the number of times the keyword appears by the total words on the page, then multiply by 100. Twelve mentions in a 1,000-word post is a density of 1.2%.

Most guides suggest around 1% to 2% as a rule of thumb, not a rule from Google — Google has never published an ideal number. A page that reads naturally usually lands in that range on its own. If your count works out far above it, the text probably reads badly too: fix the writing, not the number.

What to Do After You Have the Count

The count is a starting point, not a verdict. Read the page out loud: if the keyword turns up in almost every paragraph, or sentences twist to fit it in, the density is too high whatever the number says. If a stranger reading the first screen could not tell you what the page is about, the keyword is not where it belongs — in the title, the first paragraph, and one or two headings.

When the count looks right, run the page through our free on-page SEO checker for the rest of the checklist: title length, meta description, headings, images without alt text, and links. A keyword count covers one phrase; the audit covers the page as a whole. That is the real payoff of learning how to count keywords in WordPress: the number stops being a guess.

Common Mistakes to Avoid

Most mistakes in how to count keywords in WordPress come from counting the wrong text. The usual ones are:

  • Counting the menu, footer, and sidebar. Only the article itself counts — the rest appears on every page and drags the numbers down.
  • Counting image alt text as body text. Alt text is a real mention on the published page, but a paste-in counter does not see it, so mixing the two gives a number no tool will reproduce.
  • Counting only part of a long post. If you copy half the article, the word total is wrong and the density comes out too high.
  • Trusting a plugin’s density verdict on its own. It checks one keyphrase, not every word, so it cannot tell you which other words you repeat most.
  • Counting partial matches as full mentions. Searching for “dog” and counting every “doghouse” inflates the number and hides the real count.
  • Forgetting to set the focus keyphrase in the plugin. With no keyphrase set, there is nothing for the density check to measure.

Frequently Asked Questions

Does WordPress have a built-in keyword counter?

No. The editor shows a word count for the post, but nothing that counts how many times a particular keyword appears. You need Find, an online counter, or a plugin’s density check.

How do I count keywords in WordPress without a plugin?

Copy the post text into a free online keyword counter, or use your browser’s Find function (Ctrl+F or Cmd+F) in the editor and step through the matches. Both work without installing anything.

Do Yoast and Rank Math count keywords?

They check keyphrase density for the focus keyphrase you set, in the editor’s analysis panel. They give a density verdict, not a raw count, and they only check the one keyphrase, not every word on the page.

Does the count include headings?

Yes. Headings are part of the visible text of the article, so a keyword in a heading is a real mention. Navigation, footers, and sidebars are not counted, and image alt text is normally not included in a paste-in count.

How many times should a keyword appear?

There is no fixed number. Check the density instead: around 1% to 2% is the range most guides suggest, and a page that reads naturally usually lands there on its own. Read the page out loud — if it sounds forced, the count is too high.

Leave a Comment