Skip to content
My Tiny Utils

Search tools

Type to find a tool, then press Enter to open it.

Keyword Density Checker

Paste text or a page's HTML to see its most-used words and two- and three-word phrases with counts and density, plus how often your target keywords appear.

Processed locally in your browser — nothing is uploaded.

Keyword Density Checker

0 characters

Comma-separated words or phrases to count, even if they aren't in the top lists.

Paste some text or HTML to see its keywords and their density.

About Keyword Density Checker

Paste an article or a page's HTML and see which words and phrases it leans on most: the top single words, two-word phrases, and three-word phrases, each with how many times it appears and its density — occurrences per 100 words. Add target keywords to count them specifically, along with where in the text each first appears. Copy the whole table as CSV for a spreadsheet or a content brief.

Paste the HTML if that's what you have. Markup is detected automatically: tags are removed, along with scripts, styles, the <head>, and comments, so only the words a reader sees are counted. Inline tags like <b> and <a> don't split the words they wrap, and block tags like <p> and <h2> end a phrase so a heading doesn't run into the paragraph below it.

Phrases that mean something. With stop-word filtering on, words like "the", "and", and "of" — along with bare numbers and single letters — are left out of the lists, and a phrase that starts or ends with one is skipped as a fragment. They still count toward the total, so densities stay honest. Phrases never join words across a full stop, comma, or line break, and two- and three-word phrases are listed only when they repeat. Words are matched in any language that separates them with spaces: accents, apostrophes (curly or straight), and hyphenated words like "e-commerce" are handled.

Common uses

  • Check that a draft actually covers its target keyword before publishing
  • Spot accidental keyword stuffing — one phrase repeated far more than natural writing would
  • Find the phrases a competitor's page emphasises by pasting its HTML source
  • Build a content brief from the recurring phrases in top-ranking articles

Example

Input

Waterproof hiking boots keep your feet dry. The best waterproof hiking boots breathe, too. Our hiking boots guide compares waterproof hiking boots on wet trails.

Output

25 words
hiking boots — 4 × — 16%
waterproof hiking boots — 3 × — 12%
waterproof — 3 × — 12%

Limitations

  • Languages written without spaces between words — Chinese, Japanese, Thai — aren't split into words, so a whole run counts as one
  • Variants are counted separately: "boot" and "boots" or "run" and "running" are different words
  • The stop-word list is English; for other languages, switch filtering off in Options
  • There is no ideal density. Search engines don't reward a particular percentage, so use the numbers to catch over- or under-use, not as a target

Frequently asked questions

What is keyword density?

The share of a text made up of a particular word or phrase: occurrences divided by the total number of words, times 100. A 500-word article that uses “hiking boots” 5 times has a density of 1% for that phrase. This tool uses the same formula for single words and longer phrases, as Yoast and most SEO plugins do.

What is a good keyword density for SEO?

There isn't a target number — Google has said for years that it doesn't use a keyword-density formula. As a sanity check, a main keyword typically lands around 0.5–2% in naturally written copy. Much higher usually reads as keyword stuffing, which can hurt rankings and certainly hurts readers.

Can I check the keyword density of a web page?

Yes. Open the page, view its source (Ctrl+U or Cmd+Option+U), copy it all, and paste it here. The HTML is detected automatically and stripped down to the visible text — scripts, styles, the head, and comments are ignored — before counting.

What are stop words and why are they ignored?

Stop words are very common words like “the”, “and”, “of”, and “is”. They top every frequency list without saying anything about the topic, so they're left out of the lists by default, together with bare numbers and single letters. They still count toward the total words, and you can switch filtering off in Options.

Why doesn't a phrase show up in the two- or three-word list?

Multi-word phrases are listed only when they appear at least twice, never cross a full stop, comma, or line break, and — with stop words filtered — can't start or end with a stop word. To count a specific phrase regardless, add it as a target keyword.

Is my text uploaded anywhere?

No. Counting runs in your browser, so drafts, client copy, and unpublished pages never leave your device.