Markdown Word & Character Counter
Paste Markdown to estimate prose length and reading time with common syntax removed from the totals.
Counts are calculated after stripping Markdown syntax: heading markers, list bullets, link URLs (kept visible text), images, and inline formatting. Fenced code blocks are excluded by default so prose counts stay realistic.
265Estimate the readable length of Markdown
The Markdown Word Counter removes common heading, list, link, image, emphasis, quote, and code markers before estimating document length. Visible link text and image alt text remain part of the count.
Along with words and characters, the tool estimates sentences, paragraphs, and reading time at 200 words per minute. Code blocks can be included or excluded depending on the purpose of the document.
Counting happens in your browser. mdkit does not upload the text to a counting service or save it to an account.
Markdown count example
Heading markers and bold markers are removed, while the visible words remain.
# Release notes
Added **dark mode** and fixed login errors.Words: 9 · Heading text: counted · Markdown markers: excludedHow to use the Markdown Word & Character Counter
- 1
Paste your Markdown
Drop Markdown text into the input area. The tool handles everything from a single paragraph to a full-length document.
- 2
Review the counts
Word count, character count (with and without spaces), sentence count, paragraph count, and reading time update live as you type or edit.
- 3
Toggle code block inclusion
Decide whether fenced code blocks count toward totals. For prose-focused work (blogs, essays), exclude them. For technical docs where code is part of the length target, include them.
Limits to know before you publish
- Counts are estimates produced by pattern-based cleanup, not a full Markdown abstract syntax tree.
- Tables, reference definitions, embedded HTML, unusual nesting, and renderer-specific syntax can affect totals.
- Whitespace-based word counts are less meaningful for languages that do not separate words with spaces.
Common use cases
- Hitting a word-count target for a blog post, article, or newsletter
- Estimating reading time to add to a blog post's header
- Measuring the length of README sections while keeping them scannable
- Comparing drafts against an editorial length target without counting common Markdown markers
- Verifying that an essay or academic submission fits a word-limit requirement
Frequently Asked Questions
Does the word count exclude Markdown syntax?+
How is reading time calculated?+
Can I include or exclude code blocks from the count?+
Does it count characters with or without spaces?+
Is my text uploaded anywhere?+
Related tools
Learn more
How to Blog with Markdown: A Publishing Workflow
Build a Markdown blogging workflow for capturing ideas, drafting, editing, previewing, publishing, distributing, and maintaining posts you control.
Technical Writing in Markdown: Structure & Workflow
Structure tutorials, how-to guides, reference, and explanation in Markdown, with practical style, review, examples, linking, and maintenance workflows.
Markdown Cheat Sheet: Syntax, Examples & GFM Reference
Copy Markdown syntax for headings, lists, links, images, code, tables, and task lists, with clear CommonMark and GitHub Flavored Markdown labels.