Markdown Formatter
Clean up and normalise Markdown documents. Fixes heading spacing, normalises list markers, aligns tables, and ensures consistent blank lines around fenced code blocks and headings.
What is Markdown?
Markdown is a lightweight markup language created by John Gruber in 2004. It converts plain text with simple formatting syntax to HTML. Markdown is used extensively for README files (GitHub, GitLab), documentation (MkDocs, Docusaurus), blog posts (Hugo, Jekyll), and note-taking apps (Obsidian, Notion). CommonMark is the standardised specification that resolves ambiguities in the original Markdown.
Frequently Asked Questions
# signs (# H1, ## H2) and are preferred by most style guides because they're explicit, consistent, and work for all six heading levels. Setext headings use underlines (=== and ---) and only work for H1 and H2. Stick with ATX for all headings.<br>). However, trailing spaces are invisible and often stripped by editors. The more reliable alternative is a backslash at the end of a line, or simply using a blank line to start a new paragraph.Enjoying this tool?
Every tool here is free, forever — no signup, no paywall. If this one just saved you real time, a small tip keeps them free and ad-light.
☕ Support This Tool →Need something built, not just formatted?
This toolbox is free. If your business needs custom software, AI integration, or a system built around this kind of tooling, that's what I do for a living.