Markdown Formatter
Paste Markdown and normalize headings, list markers, emphasis style, and whitespace in one click.
Last updated: May 28, 2026
Find this tool useful? Support the project to keep it free!
Buy me a coffeeWhat is Markdown Formatter?
This Markdown formatter applies consistent style rules to a Markdown document. It converts Setext-style headings (underlined with === or ---) to ATX style (# prefixed), standardizes list bullet characters, normalizes emphasis markers between * and _, and collapses multiple consecutive blank lines.
How to Use Markdown Formatter
Paste your Markdown into the input panel.
Choose heading style (ATX # or Setext underline).
Choose list marker (-, *, or +) and emphasis style (* or _).
Toggle blank line collapsing and trailing newline.
Copy the formatted output.
Common Use Cases
- Normalizing Markdown from different editors before committing to a repo.
- Standardizing heading style across a documentation site.
- Cleaning AI-generated Markdown that mixes * and _ emphasis.
- Preparing Markdown for linting with markdownlint or remark.
Example Input and Output
Mixed-style Markdown is normalized to a consistent format.
Title
=====
* item one
* item two
_emphasized_ text# Title
- item one
- item two
*emphasized* textTip
For strict Markdown linting, combine this formatter with a tool like markdownlint-cli2 in your CI pipeline.

