Skip to main content
Preparing workspace

Keyword Density Checker

Paste text or HTML to count 1, 2 and 3-word phrases, see each one's density, and check keywords in the title, H1, meta description and first paragraph.

Still loading. If the tool doesn’t appear, reload this page.

Planned features and workflows

Upcoming additions related to this tool. Open a plan to see its scope. These features are coming soon.

About this tool

Keyword Density Checker (1–3 Word Phrases)

Count 1, 2 and 3-word phrases in a draft or pasted HTML, see each one's density, and check whether your keywords appear in the title, H1, meta description and first paragraph.

A keyword density checker counts how often each word and phrase appears in a text and what share of all words it makes up. This one counts 1-, 2- and 3-word phrases, computes density as times used (non-overlapping) × words in the phrase ÷ total words × 100, and, for pasted HTML, shows whether each phrase appears in the title, H1, meta description and first paragraph. Words are split with the browser's Unicode word segmentation (Intl.Segmenter), phrases never cross a sentence break, and common English words can be ignored at the edges of a phrase. There is no 'ideal density' score: Google names keyword stuffing as spam rather than publishing a target.

How to use Keyword Density Checker

  1. 1

    Paste your article or a page's HTML source into the Text or HTML box; Auto-detect reads HTML when it sees tags such as title, h1 or p, or choose Plain text or HTML yourself.

  2. 2

    Type the phrases you are targeting in the Target phrases box, separated by commas, to see each one's count, density and whether it is in the Title, H1, Meta description and 1st paragraph.

  3. 3

    Switch the Most repeated phrases table between 1 word, 2 words and 3 words to find repetition, then use Copy table to copy the counts and density percentages as tab-separated rows.

Why use Keyword Density Checker

  • Phrases, not just words

    Two- and three-word phrases such as 'cost of living' are counted as units, with stop words kept in the middle and dropped only at the edges.

  • Placement for HTML

    Title, meta description, first H1 and first paragraph are read from the markup, and each phrase is marked present or absent in each one.

  • No made-up target

    The page shows counts and percentages only. It cites Google's spam policy on keyword stuffing instead of grading you against an invented 'ideal' percentage.

Common use cases

  • Before publishing a blog post, you check that the phrase you are targeting appears in the title, the H1 and the first paragraph, and that no other phrase accidentally repeats twenty times.
  • You paste a competitor page's HTML source to see which 2- and 3-word phrases it actually repeats in the body, with scripts, styles and comments stripped out.
  • An editor returns a draft as 'keyword-stuffed'; you sort the 3-word phrases by count to find the exact phrase that repeats and rewrite those sentences.

Frequently asked questions

How is keyword density calculated?

Density = number of times the phrase appears × number of words in the phrase ÷ total words × 100. A 2-word phrase used 5 times in a 1,000-word article is 5 × 2 ÷ 1,000 × 100 = 1%. Some tools leave out the 'words in the phrase' factor, so their figures for multi-word phrases come out lower.

What is the ideal keyword density for SEO?

There is no ideal keyword density. Google has never published a target percentage, and its spam policies list keyword stuffing — filling a page with keywords or numbers to manipulate rankings — as a violation. Write for the reader and use the counts to catch accidental repetition.

Can I check keyword density of a web page?

Yes. Open the page, view its source (Ctrl+U or Cmd+Option+U in most browsers), copy all of it and paste it here. The checker ignores scripts, styles and HTML comments, counts the text inside the body (navigation and footer included; text hidden with CSS is still counted), and reads the title, meta description, H1 and first paragraph separately.

Does it count words like 'the' and 'of'?

They are counted in the total, but by default a single stop word is not listed, and a 2- or 3-word phrase that starts or ends with one ('of the', 'the tool') is skipped. Phrases with a stop word in the middle, like 'cost of living', are kept. Untick the option to see every phrase.

How is this different from a word frequency counter?

A word frequency counter lists single words for any text. This checker adds 2- and 3-word phrases, density percentages, stop-word handling, target phrases and title/H1/first-paragraph placement for HTML pages.

Is my text uploaded anywhere?

No. The analysis runs in your browser with JavaScript; the text and HTML you paste are not sent to a server or stored.