Markdown Preview Calculator
Auditing a Markdown Document Without Rendering It
Before a Markdown file goes into a README, a blog post, or a documentation site, it's useful to know what's actually inside it — how many headings structure the document, how many links and images it references, how much code it contains, and roughly how long it takes to read. This calculator scans raw Markdown text and reports those structural counts alongside a reading-time estimate, without needing to render the file first.
The Formula
200 words per minute is a commonly cited average adult silent-reading speed, used widely by blogging platforms and documentation tools to generate "X min read" labels. Structural elements are detected with pattern matching: headings by leading # characters, links and images by Markdown's [text](url) and  syntax, code by backtick spans and triple-backtick fences, and list items by leading -, *, +, or numbered markers.
Where This Matters
- Setting reader expectations — a visible reading-time estimate helps readers decide whether to dive into a long technical article now or bookmark it for later.
- Documentation review — a heading and list count gives a quick structural sanity check before publishing — a page with zero headings might need better organization.
- Content auditing at scale — when migrating or reviewing a large batch of Markdown files, scanning link and image counts flags documents that might have broken or missing references worth checking manually.
What Gets Counted
| Element | Markdown pattern |
|---|---|
| Headings | Lines starting with 1–6 # characters |
| Bold text | **text** or __text__ |
| Italic text | *text* or _text_ |
| Links | [text](url) |
| Images |  |
| Inline code | `code` |
| Fenced code blocks | Paired ``` markers |
| List items | Lines starting with -, *, +, or 1. |
How to Use This Calculator
- Paste your Markdown text into the input field.
- Select Calculate to see word count, character count, estimated reading time, and counts of headings, links, images, and other elements.
Related Calculations
Check the byte size of a related JSON payload with the JSON Size Calculator, or encode text for safe transmission with the Base64 Encoder/Decoder.