What is keyword density — share of a phrase in text
Keyword density: how the share of hits is counted, why a phrase beats a single token, online counter.
Keyword density is the share of hits for a word or phrase among all words in the text. 12 hits in 400 words is 3%. It is a hint, not a ranking rule.
An old “whole word only” count misses a two-word key. The ToolsHelper counter uses a sliding window of tokens, so “color picker” is found as a phrase.
Words are split with Intl.Segmenter for the page language. Chinese without spaces still yields tokens. For SEO, read the meaning and the snippet, not the density figure alone.
Keyword density is how often a term appears, divided by the length of the text. 3 uses of a word in 100 words is 3%. Repeating the term to raise the figure does not make the page clearer, and search systems have treated that pattern as a negative for years. This page defines the ratio. The word counter is where you see it on a draft.
FAQ
What density is “correct”?
There is no fixed percent. Keyword stuffing reads worse than “too little key”.
Does case matter?
No. Matches ignore case.
