Home · Tools · Keyword Density Analyzer

SEO Tool

RGM° · Tools

Keyword Density Analyzer

Compute keyword density (term frequency) for any text. Paste a block of content or fetch a URL. Filter stopwords, set custom exclusions, get the percentage breakdown of every term — single words and phrases. Export to CSV, Excel, or Word.

Note: URL fetching only works for CORS-permitting URLs. For most third-party pages, paste the body text directly.

How to use

  1. Paste your content (or fetch from URL for same-origin pages).
  2. Configure filters — stopword removal cleans up the most common signal-less words.
  3. Click Analyze. The tool computes density (% of total filtered words) for every unique term.
  4. Export the top-N density list to CSV, Excel, or Word.
What is keyword density? Keyword density is the percentage of your text that consists of a given term. If your 1,000-word article uses "growth marketing" 15 times, the density of that phrase is 1.5%. Density was once a heavy ranking signal in SEO; modern search engines have moved past it but the metric remains useful for surface-level content auditing, ensuring topical balance, and avoiding accidental keyword stuffing. There is no "magic" target density — most well-optimized content lands at 1–3% for primary terms.

What density actually tells you

Modern SEO doesn't reward keyword density mechanically. Google's algorithms have been semantic-aware since at least 2013 (Hummingbird) and have only become more sophisticated since. But density is still useful as a diagnostic for three things: topical balance (are you mentioning your primary topic enough that the page is unambiguously about it?), over-optimization risk (are you mentioning a single term so often that you're triggering spam filters?), and semantic spread (are you discussing the topic with enough vocabulary variety to look like a real piece of content rather than a thin shell?).

For most articles targeting commercial-intent queries, you want your primary keyword at 1–2.5% density with strong LSI vocabulary spread. Below 0.5% and the page may not signal clearly that it's about that topic. Above 4% and you're risking thin-content patterns even if the writing is good.

Density vs the alternatives

For competitor analysis, pair density with the N-gram analyzer (phrase patterns), the proximity analyzer (how close target terms appear to each other), and the prominence analyzer (whether terms appear in high-visibility positions like title and H1).

Done
'; downloadBlob(h,'density-'+Date.now()+'.doc','application/msword');showToast('Downloaded .doc'); } function copyClipboard(){ var lines = ['Rank\tTerm\tCount\tDensity']; currentResults.forEach(function(r,i){lines.push((i+1)+'\t'+r.term+'\t'+r.count+'\t'+r.density.toFixed(2)+'%')}); navigator.clipboard.writeText(lines.join('\n')).then(function(){showToast('Copied')},function(){var t=document.createElement('textarea');t.value=lines.join('\n');document.body.appendChild(t);t.select();document.execCommand('copy');document.body.removeChild(t);showToast('Copied')}); } document.querySelectorAll('.tab-btn').forEach(function(b){b.addEventListener('click',function(){ document.querySelectorAll('.tab-btn').forEach(function(x){x.classList.remove('active')}); document.querySelectorAll('.tab-panel').forEach(function(x){x.classList.remove('active')}); b.classList.add('active');document.querySelector('.tab-panel[data-tab="'+b.dataset.tab+'"]').classList.add('active'); })}); document.getElementById('analyze-btn').addEventListener('click', analyze); document.getElementById('fetch-btn').addEventListener('click', async function(){ var u = document.getElementById('url-input').value.trim(); if(!u){showToast('Enter URL');return} try{showToast('Fetching...');var r=await fetch(u);var h=await r.text();var doc=new DOMParser().parseFromString(h,'text/html');var text=doc.body?doc.body.textContent:h;document.getElementById('text-input').value=text;document.querySelector('.tab-btn[data-tab="paste"]').click();showToast('Fetched. Click Analyze.');}catch(e){showToast('Fetch failed (CORS) — paste text instead')} }); document.getElementById('example-btn').addEventListener('click',function(){ document.getElementById('text-input').value = 'Growth marketing is the discipline of finding scalable, repeatable ways to acquire, retain, and monetize customers. Where traditional marketing focused on brand-building and broad awareness, growth marketing focuses on measurable outcomes — customer acquisition cost, lifetime value, payback period, and the unit economics that make a business sustainable. Modern growth marketing combines paid acquisition across channels like Meta, TikTok, Google Search, and LinkedIn with lifecycle marketing through email and SMS, with the analytical rigor to measure what actually drives revenue. The best growth marketers think in systems — growth loops, not funnels. They build self-reinforcing cycles where each new customer produces signals (content, referrals, transactions, data) that bring in more customers. They invest in measurement infrastructure that survives the death of pixel-based attribution. They blend brand-building with performance marketing, knowing that brand-touched customers convert at higher rates than cold prospects. This is the operating model of serious growth.'; document.getElementById('customstop').value = 'growth, marketing'; });