Skip to content

Keyword density checker for English and Arabic text

Paste an article or the HTML of a page to see which words and phrases it repeats most, how often your target keyword appears and where it first shows up. It counts single words and 2- and 3-word phrases, can hide common stop words in English and Arabic, and treats Arabic spellings such as أ and ا or ة and ه as the same word. Nothing you paste leaves your browser.

Quick answer

Paste your text or HTML below and type the keyword you are targeting. The checker shows how many times the keyword appears, its density (the share of all words it takes up), whether it sits in the first 100 words, the title and the headings, and the most repeated 1-, 2- and 3-word phrases. There is no ideal density: use the numbers to find repetition, not to hit a target.

Text never leaves your device

Based on Google Search Central, Spam policies for Google web search: keyword stuffing (page last updated 28 August 2026) · Page updated 22 October 2026

Try an example:

Plain text. Paste HTML to also check the title, meta description and headings. Nothing leaves your browser. Only need counts? Use the word counter.

Total words
0
Different words
0
Repeated 2-word phrases
0
Repeated 3-word phrases
0

Paste some text to see its most repeated words and phrases.

Density = times used × words in the phrase ÷ total words. Phrases never run across a full stop, comma or line break, and 2- and 3-word phrases are listed when they appear at least twice.

How to use the Keyword Density Checker

  1. Paste your text, or the HTML source of the page, into the box. You can also open a .txt or .html file.
  2. Type the keyword or phrase you want the page to be found for. The panel shows its count, density and where it appears.
  3. Switch between single words and 2- or 3-word phrases to see what the text really repeats. Tick or untick "Hide stop words" to include words such as "the" or "في".
  4. Rewrite where a phrase sounds forced, then download the CSV if you want to keep the counts or compare versions.

How the density is counted

The checker splits the text into words, in any script, and leaves out emoji, symbols and punctuation. A phrase is two or three words in a row inside the same sentence: it never runs across a full stop, comma, bracket or line break, so "today. Gold" is not counted as a phrase. Density is the number of times a phrase is used, multiplied by the number of words in it, divided by all the words in the text. A 2-word phrase used 5 times in a 500-word article therefore takes up 2% of the text. Numbers on their own are left out of the single-word list, and 2- and 3-word phrases are listed once they appear at least twice.

There is no ideal keyword density

Many tools still promise a perfect percentage, such as 1 to 2%. Google has never published one. Its spam policies, last updated on 28 August 2026, describe keyword stuffing as filling a page with keywords or numbers to manipulate rankings, for example repeating the same words or phrases so often that the text sounds unnatural, or listing cities a page hopes to rank for. Google's SEO Starter Guide, last updated on 10 December 2025, adds that repeating the same words over and over, even in variations, is tiring for readers. We read both pages on 22 October 2026. So treat the numbers as a mirror, not a target: they show when a word is overused, or when the main topic barely appears at all.

Arabic text: letter forms, tashkeel and stop words

Arabic writers spell the same word in more than one way, and a simple counter would split them. With grouping switched on, أ, إ, آ and ٱ count as ا, ة counts as ه and ى as ي, and tashkeel and the tatweel stretch are ignored, so مدرسة, مدرسه and مَدْرَسَة are one word; the table shows how many spellings were merged. The Arabic stop-word list covers prepositions, pronouns and particles such as في، من، على، إلى، التي and الذي. The checker does not cut off prefixes or find word roots, so الذهب and ذهب are still counted as two different words. Mixed Arabic and English text works in the same box.

Where the keyword appears: opening, title and headings

Readers who skim a page look at its title, headings and first lines, so the main topic should be clear there. When you paste HTML, the checker reads the title tag, the meta description and the H1 to H6 headings, and leaves out scripts, styles, comments and the head section from the word counts. It then reports whether your keyword appears in each place and in the first 100 words, and lists the headings that contain it. This is a writing check, not a ranking formula. To write the title and description themselves, use the meta tag generator.

Word frequency and phrases in a CSV

The same tables work as a word frequency counter and an n-gram list: switch between single words, 2-word and 3-word phrases, show up to 500 of each, or download all of them as a CSV with the phrase, the count and the density. The file is UTF-8 with a byte order mark, so Arabic opens correctly in Excel. For word, character, sentence and reading-time counts, use the word counter.

Frequently asked questions

What is a good keyword density?

There is no number Google recommends. Write for the reader, make the topic clear in the title, headings and opening, and cut repetitions that sound forced. Google treats keyword stuffing as spam.

How does this keyword density checker calculate density?

It multiplies how many times a word or phrase appears by the number of words in it, divides by the total number of words and shows the result as a percentage.

Does the checker understand Arabic spellings?

Yes. It can group أ, إ, آ with ا, ة with ه and ى with ي, ignores tashkeel and tatweel, and hides common Arabic stop words when you ask it to.

Can I check a live web page by its URL?

Not by URL: the tool runs only in your browser. Open the page, view its source (Ctrl+U or Cmd+Option+U), copy it and paste it here to check the title and headings too.

Does the checker send my text anywhere?

No. The counting happens in your browser and nothing you paste is uploaded, stored or logged.