Markdown Formatter
Tidy Markdown into a consistent style, with normalised list markers, clean spacing around headings, and no changes inside code blocks. Keeps code blocks intact.
How to use
- Paste your Markdown into the box.
- Choose ATX or Setext headings.
- Copy the formatted Markdown.
A Markdown formatter rewrites a Markdown file into a consistent style. It normalises bullet and numbered markers, fixes the spacing around headings, and collapses long runs of blank lines.
Paste or type something above.
Questions about markdown formatter
- What is the difference between ATX and Setext?
- ATX puts hashes before the heading text, while Setext underlines it. ATX is easier to edit.
- Does it change code blocks?
- No, the contents of a fenced code block are left exactly as written.
- Why does it normalise list markers?
- Mixed markers in one file read as inconsistent, and normalising them keeps a diff small when the file is edited later.
Related tools
- Markdown to HTML Convert Markdown into clean HTML with headings, lists, links, code, tables, and blockquote...
- HTML to Markdown Convert HTML into clean Markdown, keeping headings, lists, links, code, and tables readabl...
- Remove Extra Spaces Collapse multiple spaces and tabs into a single space and trim the ends of every line, whi...