Publish Helper logo

Keyword Density Checker — Free SEO Tool

Analyze keyword density and word frequency in your content. Free SEO tool for bloggers, content writers, and SEO professionals to optimize content.

I

Keyword Density Analyzer

II

How It Works

1.Paste Your Content

Paste your article, blog post, or web page content into the text area.

2.Analyze Keywords

Click Analyze to see word frequency, keyword density percentages, and a ranked list of the most common terms.

3.Optimize Your Content

Use the data to adjust keyword usage for better SEO. Toggle stop word filtering for cleaner results.

III

Why Keyword Density Matters

Keyword density analysis helps you optimize content for search engines while maintaining natural readability for your audience.

  • Optimize for SEO without keyword stuffing — maintain 1-3% keyword density for best search engine rankings.
  • Identify overused and underused terms to balance your content and improve readability.
  • Analyze competitor content and refine your keyword strategy with data-driven insights.
IV

A Worked Example

Take this 96-word paragraph about sourdough, pasted into the analyzer with stop words hidden:

Sourdough rewards patience. A sourdough starter is flour and water, colonised by wild yeast and bacteria. Feed the sourdough starter daily and it doubles within six hours. When the sourdough starter smells of yoghurt it is ready. Shape the dough, rest it, then bake hot. Good sourdough needs time, not tricks.
KeywordCountDensity
sourdough44.17%
starter33.13%
feed11.04%
doubles11.04%

The paragraph reads naturally, yet “sourdough” already sits at 4.17% — near the point where readers start noticing repetition and where automated stuffing checks begin to fire. The fix is not to delete the word but to replace two of the four mentions with “the starter” or “it”, because the surrounding sentences already make the subject clear.

This analyzer counts single words. For a two-word phrase such as “sourdough starter”, read the counts of both words as an upper bound rather than the phrase's real frequency — a phrase counter would give three here, while “sourdough” alone shows four.

V

Edge Cases Worth Knowing

Hyphenated and apostrophe words

“sourdough starter's” is counted as one token, while “sourdough-starter” is counted as two. Both are reasonable, but you should not compare counts across documents that use hyphenation differently.

Chinese and Japanese text

The analyzer tokenises on whitespace for Latin script and on character runs for CJK. A Chinese article therefore reports far fewer “words” than an English article of the same length, and density percentages are only meaningful within one language.

Code and URLs in the sample

A pasted code block inflates the total word count with identifiers, which lowers every keyword's density without changing the prose. Strip code before analysing an article's body copy.

Boilerplate you did not write

A copied CMS editor may include a byline, photo credits and a newsletter signup sentence. Those words count against your density even though you will not keep them in the final draft.

VI

How This Compares to SEO Plugins

This analyzer

Counts words and shows the full frequency table with a stop-word toggle. No content is uploaded, no account is needed, and the percentage is a plain count divided by total words.

Yoast SEO (WordPress)

Shows a keyphrase density assessment against a preferred range, but only for the single keyphrase you entered and only inside the post editor. It is a checklist item, not a full frequency table.

Rank Math (WordPress)

Similar in spirit: a keyword density score for the focus keyword, with a suggested range. Useful while writing, less useful for auditing an existing article's whole vocabulary.

Suite tools (Semrush, Ahrefs)

Offer term frequency and TF-IDF against a competitor corpus, which is a different question — how your vocabulary compares to pages already ranking, not how often you repeat a word.

Use this tool to find accidental repetition; use a corpus tool to decide which terms to include in the first place.

VII

Frequently Asked Questions

What is a good keyword density?

+

A keyword density of 1-3% is generally considered optimal for SEO. Higher than 5% may be flagged as keyword stuffing by search engines.

Does this work with Chinese content?

+

Yes, the analyzer supports Chinese text with proper word boundary detection. It handles CJK characters, English mixed content, and multilingual text.

Can I export the results?

+

Yes, you can copy the keyword frequency table as tab-separated data for use in spreadsheets or SEO tools.

Should I aim for a specific keyword density number?

+

No single number is correct, and modern ranking systems do not score density directly. Treat 1–2% for a primary term as a sanity check that the page is actually about that topic, and treat anything above roughly 4% as a signal to rewrite a sentence rather than delete a word.

Why does hiding stop words not change the percentages?

+

Density is calculated as count divided by total words, and the total includes stop words either way. Hiding them only removes clutter from the table, so the percentages stay comparable between the two views.

Does the tool count words inside HTML tags?

+

If you paste HTML source, tag names and attribute values are included in the token stream. Paste the rendered text instead, or clean the markup first, so the analysis reflects what readers see.

Is a high density always bad?

+

Not necessarily — a short page about one narrow product will repeat its name naturally. What matters is whether the repetition reads as carelessness. Read the paragraph aloud; if a synonym fits, use it.

Last updated: May 2026|Built by content editors for content editors|Used by 10,000+ bloggers
VIII

Related Guides

Working on an imported draft? Clean the source before you analyse it — bloated paste inflates the word count and hides your real keyword density.

IX

All Tools

Or start with the main HTML cleanup tool

Open Publish Helper

Changelog

v3.5.02026-11-08
  • NewWarm dark mode — switch it from the header; your choice is remembered
  • ImprovedWith no saved choice, the theme follows your system's light/dark preference from the first frame, without a flash
  • FixThe browser's theme colour now always matches the current theme — one meta tag instead of two
  • FixDark mode rebuilt on the current page architecture, so it applies consistently to every page
  • ImprovedEvery pull request now runs type checks, unit tests and a production build automatically — same features, steadier quality
v3.4.02026-11-05
  • New4 new platform guides — ChatGPT, PDF, beehiiv and Mailchimp
  • ImprovedAll 16 platform guides rewritten with platform-specific content; Keyword Density, Readability and HTML Diff guides expanded ~3×
  • FixAd banners no longer push content down the page — stable layout from first paint
  • FixStructured Data tool's date field no longer stuck at the build date
  • ImprovedMobile: compact cookie banner, larger touch targets, AA-compliant text contrast
  • ImprovedRelated-page links now stay in your language
  • FixInternal fixes — sitemap coverage, canonical URLs, security headers and legacy URL handling
v3.3.12026-06-17
  • FixSlug generator updated to latest AI model for better reliability
  • FixHeading conversion now supports U+FE30 colon separator (︰) used in vertical CJK text
  • FixHeading conversion no longer includes leading   in the extracted title
  • FixOG image generator now wraps long CJK text and prevents overflow with ellipsis truncation
  • ImprovedUpdated sharp to 0.35.1 for better image processing
v3.3.02026-05-30
  • FixSEO & a11y: <html lang> attribute, theme-color meta, OG image alt text i18n
  • FixGA scripts properly removed on consent decline
  • FixContent Stats i18n + link count regex fix
  • FixTool page section numbering corrected (all 14 pages)
  • ImprovedSimplified cleanup options — removed 10 checkboxes Tiptap already handles, kept only 4 useful ones
  • ImprovedAuto-clean only triggers on paste, not every content change
v3.2.12026-05-26
  • FixHeading converter now correctly splits paragraphs containing MULTIPLE heading-strong elements
  • FixHeading converter now places extracted headings BEFORE their body paragraph instead of after
  • FixEditor toolbar no longer causes React hydration mismatch on first paint
  • FixMissing @tiptap/extension-drag-handle-react dependency added
v3.2.02026-05-23
  • New6 new SEO content editing tools — Case Converter, Text Extractor, Text Diff Checker, Keyword Density Analyzer, SERP Preview Generator, Readability Checker
  • NewHeading dropdown expanded to H5-H6 (was H1-H4 only)
  • NewTable toolbar — insert/delete rows & columns, merge/split cells, toggle header row
  • NewDrag Handle React — drag and reorder blocks in the editor
  • NewCase Converter — 11 case formats including camelCase, PascalCase, snake_case, kebab-case
  • ImprovedSERP Preview — accurate Google-style preview with desktop/mobile views
  • ImprovedText Diff — word-level highlighting within changed lines
  • ImprovedAll new tools linked from the main page TOOLS & GUIDES section and related pages
  • Improvedzh-TW FAQ alignment fixed across all tools
v3.1.12026-05-23
  • FixEditor draft restore — saved content now correctly loads into the Tiptap editor on page reload
  • ImprovedDependency updates for better performance and stability
v3.1.02026-05-14
  • NewBold List Labels — auto-bold label prefixes (e.g. "Name: John" → "<strong>Name:</strong> John") in list items
  • NewFormatting Add-ons group — Heading Conversion, CJK Auto-Spacing, and Bold List Labels now grouped under a collapsible section
  • FixCJK Auto-Spacing now works across HTML tag boundaries
v3.0.22026-05-08
  • FixHeading converter now correctly splits multiple H2/H3 prefixes inside a single <strong> element separated by <br> tags
v3.0.12026-05-07
  • FixHTML cleaner now properly strips orphaned <strong><br><br></strong> tags left behind by Google Docs
  • FixHeading converter now detects H2/H3 prefixes inside <strong> tags embedded at the end of a paragraph
  • FixTrailing <br> tags at the end of paragraphs are now stripped — no more pointless line breaks before headings
v3.0.02026-05-03
  • NewHTML Diff Viewer — compare before and after HTML with a visual diff (green/red)
  • NewContent Stats Calculator — word count, reading time, heading, image, and link counts
  • NewHTML Accessibility Checker — detect missing alt text, empty headings, skipped levels, and more
  • NewOG Image Generator — create 1200×630 social share images from your blog post title
  • NewMarkdown ↔ HTML Converter — bidirectional conversion between Markdown and HTML
  • NewTable of Contents Generator — auto-generate nested TOC from heading tags in HTML or Markdown
  • NewJSON-LD Structured Data Builder — generate Article, BlogPosting, and FAQPage schema markup
  • NewAuto-clean on paste — optional toggle that auto-triggers cleanup when content is pasted
  • NewTable cleanup options — strip cell widths and remove empty table cells
  • NewAuto-save draft — content is saved to localStorage and restored on accidental refresh
  • NewAll new tools linked from the main page TOOLS & GUIDES section and related pages
v2.4.12026-04-27
  • NewParagraph option added to heading dropdown — convert headings back to normal text
  • FixH1–H6 heading prefixes now convert correctly even when pasted with leading line breaks
  • FixFixed page crash on load — cookie consent now renders reliably
  • ImprovedDependency updates for better performance and stability
v2.4.02026-04-17
  • NewClear button — quickly wipe all editor content and reset the HTML panel from the left panel header
  • FixEmpty <p></p> placeholder no longer appears in the HTML panel after clearing the editor
  • NewImage insert via URL — paste any image URL into the editor with a new toolbar popover
v2.3.22026-04-14
  • FixHeading conversion rewritten with DOM parsing — now works with any wrapper tag, split headings, and safely preserves <li> inside lists
  • FixEmpty heading tags left behind by Google Docs are now automatically removed
v2.3.12026-03-25
  • FixHeading conversion now handles spaces before the colon (e.g. "H2 : Title")
  • FixRight-to-left content (Arabic, Hebrew) no longer inverts embedded English text in the editor
  • FixSpacer paragraphs (&nbsp;) are now preserved in the HTML output instead of being stripped
v2.3.02026-03-20
  • NewCJK auto-spacing — automatically insert spaces between CJK characters and English letters or numbers (powered by pangu.js)
  • NewStandalone CJK Auto-Spacing tool page with before/after examples, FAQ, and SEO-optimized bilingual content
  • NewChinese UI text auto-spacing — zh-TW interface text now has proper CJK–Latin spacing
  • FixMobile toolbar no longer floats and follows scrolling — stays pinned at the bottom of the editor
  • FixMobile toolbar buttons now scroll horizontally instead of overflowing
  • FixFind & Replace inputs no longer break out of the container on narrow screens
v2.2.12026-03-20
  • FixHeading conversion now uses the text prefix (e.g. H3:) to set the heading level, even when the content is already inside a different heading tag
v2.2.02026-03-18
  • NewAI-Powered Title to SEO Slug — Convert blog titles in any language to SEO-friendly English slugs in under 10 seconds
  • NewSlug generator toggle on the main page — generate slugs right after editing, above the fold
  • NewTable support — pasted tables from Google Docs now render correctly
  • NewRemove <br> after headings cleanup option (on by default)
  • NewPartial text selection copy in the HTML code view
  • NewSticky Clean HTML button at the bottom of the page
  • ImprovedHeading conversion now strips prefixes from existing heading tags and supports Chinese full-width colon (:)
  • ImprovedShared footer across all pages
v2.1.22026-03-17
  • FixBug fixes and improvements
v2.1.12026-03-16
  • FixBug fixes and improvements
v2.1.02026-03-16
  • NewFormatted/Raw toggle for the HTML code view
  • ImprovedCopying from the code panel now always gives clean, unformatted HTML
v2.0.02026-03-16
  • NewWelcome to Publish Helper — free online tools for content editors
  • ImprovedImproved search engine visibility
v1.1.02026-03-16
  • ImprovedClipboard copy — clean HTML output matches the code view
v1.0.02026-03-16
  • NewRich text editor with Google Docs paste support
  • NewHTML cleanup: strip styles, classes, empty tags, and Google Docs artifacts
  • NewHeading conversion from text prefixes to proper HTML tags
  • NewFind & replace with regex support and saveable presets
  • NewSyntax-highlighted HTML preview with one-click copy