Markdown formatter that tidies your source and lists style suggestions for headings, spaces and the final newline. Review it before you copy.
What is Markdown Formatter?
Markdown Formatter is a free online tool that formats Markdown source in your browser and lists style suggestions beside it. It tidies blank lines and list markers, and it points out heading levels that skip a step, trailing spaces and a missing final newline.
What it supports
- Formatting with consistent blank lines, list markers and spacing, without rewrapping your paragraphs.
- Style suggestions with a line and a column.
- Copy the formatted result or download it.
Good to know
- Suggestions are style hints, not errors. Markdown has no syntax errors, and an unmatched marker is just text. This is not a full markdownlint check.
- Code inside fenced blocks is not reformatted, and HTML is not run or changed.
How do I use Markdown Formatter?
- Paste your Markdown or open an MD file.
- With Auto off, press Format. Read the Style suggestions and review the editable result.
- Copy or Download the result, or press Replace the source with this result to update the source.
Example
Uneven spacing and star bullets.
# Title
Some text
* one
* two
End# Title
Some text
- one
- two
End
Blank lines are added around the blocks, the star bullets become dashes and the text ends with a newline.
Limits and privacy
Limits
- Text: up to 2,000,000 bytes of UTF-8 (about 2 MB). Accented letters and emoji take more than one byte each. Larger input or generated text is rejected.
Is my content sent to a server?
No. Your content and files are processed in your browser and never uploaded. OCR and PDF reading download processing files, including OCR language data and the PDF worker, from this same site only when those tools run; no content goes to third parties. Markdown previews show external images as alt text instead of loading them.
Copying puts a result on your clipboard and downloading saves it as a file, but only when you press the button. The file is created in your browser, so nothing is uploaded.
For the full details, see the Privacy Policy
Related tools and pages
Convert to or from other formats, or work on the same content with these tools.