Markdown Formatter
runs in your browserno sign-upfree
Format Markdown files: consistent lists and headings, aligned tables and formatted code blocks.
Formatting…
About this tool
This Markdown formatter tidies README files, docs and notes: consistent list markers and headings, aligned tables, even spacing between blocks, and formatted code blocks for JavaScript and CSS. Your text and line breaks are kept as you wrote them.
How to use
- Paste your Markdown into the Input box. It is formatted as you type.
- Choose the indent used for nested lists.
- Copy the result or download it as a .md file.
FAQ
Which formatter is used?
Prettier, the most widely used code formatter for web projects. It runs entirely in your browser, so your code is never uploaded.
Does it re-wrap my paragraphs?
No. Line breaks inside paragraphs are kept, so the diff of your file stays small.
What does it change?
List markers become "-", headings get one space after #, tables are aligned into neat columns, extra blank lines are removed, and JavaScript and CSS code blocks are formatted. The rendered result looks the same.