Markdown Formatter
Tidy Markdown — normalise headings, lists, tables and emphasis markers.
To format Markdown, paste your document and heading spacing, list markers, emphasis characters and table alignment are all normalised. Tables are padded so the source is readable even before rendering, which matters for files reviewed in pull requests.
Runs in your browser- Privacy
- Runs entirely in your browser — nothing is uploaded
- Cost
- Free, unlimited, no sign-up
Frequently asked questions
Is there one correct Markdown style?
How to use the markdown formatter
- 1Enter or paste your markdown.
- 2Choose the wrap prose.
- 3Set the line width.
- 4Set the indent size.
- 5Turn "Indent with tabs" on or off as needed.
- 6The result appears immediately — copy or download it.
Embed this tool
Put the working markdown formatter on your own site. It runs in your visitors' browsers exactly as it does here — free, no account, nothing uploaded.
Share this tool
Related tools
Markdown to HTML ConverterConvert Markdown to clean HTML, or turn existing HTML back into Markdown.CSS, SCSS & Less FormatterFormat stylesheets with consistent indentation, spacing and property ordering.HTML FormatterFormat and indent HTML properly, preserving inline elements and whitespace sensitivity.JavaScript & TypeScript FormatterFormat JavaScript, TypeScript, JSX and TSX properly with Prettier.Markdown Editor & ViewerWrite markdown with a live preview, outline, formatting toolbar and one-click HTML, PDF or .md export.Markdown to DOCX ConverterExport Markdown as a DOCX with Word heading styles, lists and grid tables.
Last updated
More data & format tools