Markdown Word Counter
Count the words readers will actually see in a Markdown file. Syntax characters, link URLs and optionally code blocks are left out.
Choose files
| File | Words | Characters | No spaces | Pages | Reading time | Open in editor |
|---|
Counted in your browser — nothing is uploaded.
Text analysis
| Keyword | Count | Density |
|---|
Start typing to see the most frequent words.
| Character | Count | Density |
|---|
Add at least 3 sentences and 50 words for a meaningful score.
- Words per sentence
- –
- Syllables per word
- –
| Platform | Limit | Your text | Left |
|---|
Change case
Clean up
- Pages
- 0
Estimate for 12 pt Times New Roman with 2.54 cm (1 in) margins, about 500 words per single-spaced page, scaled for other sizes.
- Messages
- 0
- Left in this message
- 160
- Encoding
- GSM-7
- Characters used
- 0
- Per message
- 160
These characters switch the message to Unicode:
Every character fits the GSM-7 alphabet.
A single SMS holds 160 GSM-7 or 70 Unicode characters. Longer texts are split into parts of 153 or 67.
How to use it
- Drop .md files onto the box, for example blog posts or documentation pages.
- Leave “Ignore code blocks” on to count only prose, or turn it off to include code.
- Open a file in the editor to see the plain text that was counted.
How we count
Front matter, HTML tags, heading and list markers, emphasis characters and table pipes are removed before counting.
Links count as their visible text and images as their alt text; the URLs themselves are not counted.
Fenced and indented code blocks are skipped when “Ignore code blocks” is on; inline code is always counted as text.
Frequently asked questions
Why not just count the raw file?
Raw Markdown contains URLs, symbols and code that readers never see. Counting the rendered text gives the number editors and word limits care about.
Is front matter counted?
No. YAML front matter between --- lines at the top of the file is removed before counting.
Are my files uploaded?
No. Files are opened and read by JavaScript in your browser; nothing is uploaded, and the text is not sent with analytics. If you open a file's text in the editor, it is kept as a draft in this browser until you clear it.
Does it support MDX or other flavours?
Common CommonMark and GitHub-flavoured syntax is handled. JSX components in MDX are removed like HTML tags, but their text content is kept.
Can I paste Markdown instead of uploading?
Use the editor below for pasted text. Pasted Markdown is counted as typed, so symbols that aren't words (like # or *) are ignored but link URLs count as words.
How is reading time calculated?
From the counted words at 238 words per minute, the average silent reading rate for English non-fiction. You can change the speed in the statistics panel.