1. Home
  2. Tools
  3. Word and Keyword Density Counter

Word and Keyword Density Counter

Paste text to count words, characters, sentences and paragraphs, estimate reading time and see the most repeated phrases. It runs in your browser.

One word

PhraseCountDensity

Two words

PhraseCountDensity

Three words

PhraseCountDensity

Keyword density is a descriptive measure of how often a phrase appears, not a target to aim for and not a ranking factor you can rely on. Your text is processed in your browser and is not sent anywhere.

How to use it

  1. Paste or type text into the box. The numbers and phrase tables update as you go.
  2. Read the counts at the top: words, characters (with and without spaces), sentences, paragraphs and an estimated reading time.
  3. Look at the tables of the most frequent one-, two- and three-word phrases. Turn on Ignore common English stop words to leave out phrases that begin or end with filler words such as “the” or “and”, and raise the minimum count to hide phrases that appear only once.

How it counts

  • Words are runs of letters and digits, and a word may contain an apostrophe or hyphen inside it (so “don’t” and “well-known” each count once).
  • Characters are counted with and without spaces and line breaks.
  • Sentences are counted by their ending marks (. ! ?), plus a final sentence with no mark. Abbreviations such as “e.g.” can make this slightly high, so treat it as an estimate.
  • Paragraphs are blocks of text separated by one or more blank lines.
  • Reading time assumes about 230 words per minute, a commonly used figure for silent reading. Real speeds vary a lot by person and text.
  • Phrases are runs of two or three neighbouring words, counted within a sentence or line, never across the end of one, and ignoring capitals. Density is the phrase’s count divided by the total number of phrases of that length in the text, shown as a percentage.

Keyword density is not a ranking target

Density only describes the text you give it. There is no ideal percentage, and search engines do not publish a figure you should hit. Repeating a phrase to raise the number tends to make writing worse for readers. A more useful way to use the tables is as a check: do the phrases you expect to see actually appear, and does something unintended repeat too often? Write for the reader first.

Related guides

More SEO and marketing tools: search snippet preview, meta and Open Graph tag generator and UTM link builder. For help with content and search, see our marketing expertise.

Frequently asked questions

No. Counting happens in your browser’s own JavaScript. Nothing you type is sent to CodeROG or anyone else.

There is no good or bad number. Density is descriptive only, and search engines do not publish a target. Focus on clear, useful writing that covers the topic naturally.

Very common words such as “the”, “and”, “of” and “to”. With the option on, single stop words are hidden, and so are two- and three-word phrases that start or end with one. The list is a short English list, so other languages are not filtered.

Programs disagree on edge cases such as hyphenated words, numbers with punctuation, and symbols standing alone. This tool counts runs of letters and digits, with apostrophes and hyphens kept inside a word.

It counts letters and digits in many alphabets, but it separates words using spaces and punctuation, so languages written without spaces, such as Chinese or Japanese, are not counted well. The stop word list is English only.

Need a hand with this?

Let our engineers take it from here