UnQTools
SEO Runs in your browser

Keyword Density Analyzer

Analyze pasted text or HTML for word and n-gram (1/2/3-word) frequency and density, with configurable stop-word lists, stemming, position weighting (title/H1/H2/body/anchor), and over-optimization flags — not magic % targets. 100% client-side.

100% Private Works Offline Instant

About Keyword Density Analyzer

Analyze pasted text or HTML for word and n-gram (1/2/3-word) frequency and density, with configurable stop-word lists, stemming, position weighting (title/H1/H2/body/anchor), and over-optimization flags — not magic % targets. 100% client-side. Everything runs locally in your browser — your data never leaves your device.

How to use

  1. Enter your input in the tool above.
  2. Adjust any options to your preference.
  3. Use the Copy or Download buttons to save the result.
  4. Everything happens locally — your data never leaves your browser.

FAQ

What is the ideal keyword density?

There is no ideal percentage. Google rewards relevance, not ratios. This tool flags potential stuffing (e.g., density above ~3–4% on a single term) but never prescribes a magic number. Aim for natural usage with related terms and synonyms.

How is density calculated?

Density = (term count / total non-stop-word tokens) × 100. For n-grams, the denominator is total n-gram slots. We use Intl.Segmenter where available (CJK-friendly) and fall back to whitespace tokenization.

What extras does this tool include?

Extras: (1) 1/2/3-gram frequency tables with count + density %, (2) Stop-word toggle + language presets (en/es/fr/de/it), (3) Porter stemmer toggle for grouping inflections, (4) Position weighting (title/H1/H2/body/anchor), (5) HTML element breakdown, (6) Over-optimization flags, (7) Reading-level (Flesch) + word/char count, (8) Highlight occurrences in source text, (9) CSV export, (10) CJK/Thai support via Intl.Segmenter, (11) HTML entity decoding, (12) Stop-word editor, (13) Sortable tables, (14) Sample comparison.

Does the tool fetch URLs?

No. Paste text or HTML only — no network. We strip HTML server-side-free using DOMParser-free regex; everything runs locally.

Search tools and actions

Search across all 1670 tools, categories, and quick actions.