Normalize headings, spacing, lists, and copied Markdown.
Workbench
Runs in your browserMarkdown Cleaner
Output
Example input
# Notes - first item - second item
Example output
# Notes - first item - second item
What this tool does
Markdown Cleaner removes trailing spaces and repeated blank lines and can normalize mixed list markers without changing the document hierarchy.
Capabilities
- Whitespace normalization
- List-marker normalization
- Heading and code preservation
- Deterministic output
Known limitations
- It does not rewrite prose
- It does not infer missing document structure
Use cases
- Normalize copied Markdown before review or publishing.
- Clean copied README content
- Normalize AI-generated Markdown
- Prepare stable diffs for review
FAQ
Will it rewrite my text?
No. It changes formatting, not meaning or wording.
Does it preserve code blocks?
Yes. Fenced code content remains part of the document.
What is Markdown Cleaner?
Normalize headings, spacing, lists, and copied Markdown.
Does this tool upload my input?
No. The transformation runs locally in your browser.
Go further
Guides
Beginner Guide
Supporting content for markdown workflows.
Advanced Guide
Supporting content for markdown workflows.
Workflow Guide
Supporting content for markdown workflows.
Continue working