Free tool
Keyword Density Checker
Paste text to see its word count, the density of a keyword or phrase, and the most repeated words and two- and three-word phrases. Runs in your browser.
Words
-
Unique words
-
Keyword count
-
Keyword density
-
Runs entirely in your browser. Nothing you type or upload is sent to our servers.
How to check keyword density
- Paste your text, plain text without HTML tags.
- Optionally type the keyword or phrase you are writing about.
- Read the word count, the keyword's count and density, and the most repeated words and phrases.
Worked example
The text The cat sat on the mat. The end! has 8 words. The word "the" appears 3 times, so its density is 3 / 8 x 100 = 37.5%. The phrase "the cat" appears once and has two words, so its density is 1 x 2 / 8 x 100 = 25%.
With common words hidden, the one-word table for that text lists cat, end, mat, sat, each at 12.5%, while the total stays at 8 words.
How it counts
- Words are runs of letters or digits; apostrophes inside a word are kept; case is ignored.
- Density = occurrences x words in the phrase / total words x 100, rounded to two decimals.
- Phrases of two and three words are listed when they appear at least twice.
- Limit: up to 1,000,000 characters. The common-word list has 50 English words and affects only the tables.
The number only measures repetition and gives no target. Write the page for readers, then use it as a check. Next, write the snippet with the SEO meta tag generator, check length with the word counter, or build a tracked link with the UTM link builder.
Frequently asked questions
How is keyword density calculated?
Density is the number of times your keyword or phrase appears, multiplied by the number of words in that phrase, divided by the total number of words in the text, times 100. In "The cat sat on the mat. The end!" there are 8 words and "the" appears 3 times, so the density is 3 / 8 x 100 = 37.5 percent.
What counts as a word?
A word is a run of letters or digits, and apostrophes inside a word are kept, so "don't" is one word. Punctuation, spaces and symbols separate words. Everything is compared in lower case, so "SEO" and "seo" are the same word. Numbers such as 2026 count as words. HTML tags are not removed, so paste plain text.
What keyword density should I aim for?
This tool does not recommend a target percentage. It measures how often a word or phrase repeats, so you can see whether the text leans on it more than a reader would expect. The right amount is whatever reads naturally, and writing for the person reading usually matters more than hitting a number.
How are two- and three-word phrases counted?
The tables list repeated sequences of two and of three words, in the order they appear, and show how many times each occurs. Only phrases that appear at least twice are listed. A phrase is counted without overlapping, so "a a a a" contains the phrase "a a" twice, not three times.
What does "hide common words" do?
It removes very common English words from the tables, so words like "the" and "and" do not crowd out the terms you care about. The tool uses its own short list of common English words, and a phrase is hidden if it starts or ends with one. It changes only the tables, never the total word count or your keyword result.
Is my text uploaded or stored?
No. The counting is done by JavaScript in your browser, and nothing is sent to a server or saved. You can paste unpublished drafts. Analytics record only that the tool was used, never the text or the keyword you typed.
Does it work for languages other than English?
The word counting works for any language written with letters and digits separated by spaces or punctuation, including accented letters. It does not segment languages that are written without spaces, such as Chinese or Japanese, and the common-word list is English only, so leave "hide common words" off for other languages.
Link to this tool
Found it useful? Copy a link for your page, newsletter or documentation.
Get new tools and guides by email
Optional. The tool above works without signing up.
More free tools
Browse all seo & marketing or the full list of free tools.
- SEO Meta Tag & Social Preview GeneratorWrite title and description tags with live Google and social-card previews, length guidance, and copy-ready Open Graph and Twitter Card HTML.
- UTM Campaign Link BuilderBuild clean, consistent UTM-tagged campaign links for Google Analytics. Normalises case, keeps existing parameters and warns about common mistakes.
- Fancy Font Generator (Copy and Paste)Turn plain text into bold, italic, script, gothic, circled and other Unicode styles for bios and posts, then copy it with one click. Runs in your browser.
- Username GeneratorGenerate username ideas from built-in word lists in four themes, with optional numbers, length limits and styles. No AI or account, and nothing is sent anywhere.
- Retirement Calculator with 401(k) Employer MatchProject your retirement savings from your own and your employer's monthly contributions, then see the monthly income it could pay until an age you choose, in today's dollars.
- CAGR Calculator (Compound Annual Growth Rate)Find the compound annual growth rate between a starting and ending value, or project an ending value from a growth rate, with the year-by-year path shown.