Markdown

Markdown Formatter

Normalize Markdown headings, lists, block spacing, and GFM tables locally.

Markdown formatting runs locally in your browser. Source and output are not uploaded or saved.
Quick startThree steps to your result
  1. 1

    Add your inputPaste or type your content in the input area.

  2. 2

    Set any optionsUse the controls below if you want to customize the result.

  3. 3

    Get your resultYour result appears below or updates as you work. Copy or download it when available.

Formatting runs locally from the shared CommonMark/GFM syntax tree. The tool does not render, save, or upload your Markdown.

Markdown input

0 B UTF-8

0 B of 1.0 MB maximum

Formatted Markdown

Output
Your formatted Markdown will appear here

Format a document to see normalized syntax and spacing.

Style: ATX headings, hyphen bullets, period ordered markers, two-space list nesting, backtick code fences, spaced GFM tables, and blank lines between blocks. Prose wrapping is preserved. Fenced code contents, inline code values, Markdown destinations, raw HTML text, and math notation are not intentionally rewritten. Unsafe link destinations are rejected.

Quick answers

Frequently asked questions

What does the formatter change?

It normalizes supported Markdown heading, list, spacing, and GitHub Flavored Markdown table formatting.

Does it rewrite my wording?

No. The formatter is for Markdown structure and spacing, not prose editing.

Will it preserve raw HTML?

Raw HTML handling follows the app's Markdown parser and formatter behavior; review the output before using it in another renderer.

Why did the output change my table or list spacing?

Consistent spacing is part of formatting. The content is normalized to make the Markdown easier to read and maintain.