Markdown
Markdown Heading Counter
Count the headings in a Markdown document.
Headings
3
Paragraphs
1
Words
39
Lines
20
How it works
- 1Paste your Markdown.
- 2Headings of every level are counted.
- 3See paragraphs, words, and lines too.
Use cases
- Check a document’s section count.
- Audit structure before a TOC.
- Compare outline depth across drafts.
Frequently asked questions
Which heading styles are counted?
Both ATX (#) and setext (underlined) headings, across levels H1–H6.
Can I see the heading text?
Yes — use the Markdown Heading Extractor or Outline Generator to list them.
Is it private?
No. Everything is counted locally in your browser — counting is local.
Related tools
See all →Markdown Editor
A fast, free online Markdown editor with live side-by-side preview.
Live Markdown Preview
Paste Markdown and see it rendered live, side by side, as you edit.
Split View Markdown Editor
A two-pane Markdown editor with the source and live preview side by side.
Fullscreen Markdown Editor
An immersive, full-window Markdown editor with live preview.