Markup Word Counter count readable text, not syntax
Rendered text counter

Count words after removing markup

Strip formats
Cleaned text preview
Text metrics
Rendered characters0

0 without spaces

Paragraphs0

Based on blank-line separation after cleanup

Why markup needs its own counter

Source code is not reader copy

HTML tags, Markdown syntax, template references and LaTeX commands can inflate a source word count. This page focuses on the words a reader is likely to see.

Use it before publishing

This is useful for CMS exports, README files, docs, articles, localization files and templates where the source format is mixed with readable content.

Markup word counter questions

How do I count words in HTML or Markdown?

Paste the source into the editor, then enable the matching strippers above. The page strips tags, attributes and syntax, then counts words in the readable text.

Why does HTML inflate a word count?

Tags, attributes, classnames, alt text, comments and template fragments contain words a reader does not see. A simple word counter treats them as content, which can double or triple the result.

Which markup formats can this counter strip?

Markdown, HTML, XHTML, XML, LaTeX, BBCode and wikitext. You can enable any combination at once for mixed content like CMS exports.

Does it preserve link text and headings?

Yes. Strippers remove syntax but keep the readable content, so heading text, link labels, list items and inline formatting remain in the count.