Markdown Formatter & Linter
Automatically tidy and fix Markdown documents β consistent headings, spacing, lists and more.
What does the Markdown Formatter do?
The Markdown Formatter automatically applies a set of stylistic rules to your document, producing clean, consistent output. Each rule can be toggled on or off. The Diff view shows you exactly what changed β added lines in green, removed lines in red β so nothing is ever changed without you seeing it.
Rules include: enforcing a blank line before and after headings, normalising unordered list markers to a single character (- by default), standardising bold and italic syntax (** and *), removing trailing whitespace, collapsing multiple consecutive blank lines into one, and ensuring the document ends with a single newline. The linter also reports issues like skipped heading levels (e.g. jumping from H1 to H3) without fixing them, so you can address them manually.
How to Use
- Paste your Markdown into the left panel.
- The formatted output appears instantly on the right.
- Toggle individual rules on or off using the buttons above the panels.
- Switch to the Diff tab to see a line-by-line view of every change made.
- Check the Lint issues panel below for warnings that need manual attention.
- Click βΏ» Copy to copy the result, or β¬ Download .md to save as a file.
Frequently Asked Questions
``` or ~~~) and indented code blocks and skips all rules inside them. Code content is passed through completely unchanged. This includes trailing whitespace rules, blank line rules, and emphasis normalisation β none of these apply inside code blocks.