Markdown Formatter
Makes Markdown clean and consistent: a space after #, one bullet style, blank lines around headings, and no trailing whitespace.
Loading tool...
Runs in your browser. Nothing is sent anywhere.
When to use it
Use this when merging Markdown written by several people with different bullet styles, or before committing a README so the Git diff stays clean and easy to review.
Underlined === or --- headings are converted to # style. Exactly two trailing spaces are kept because that is a hard line break in Markdown, while other trailing whitespace is removed.
How to use
- Paste your Markdown.
- Choose the bullet character.
- Click Copy or Download.
Frequently asked questions
Is my text sent to a server?
No. The tool runs entirely in JavaScript in your browser, and the text you paste never leaves your device.
Related tools
Markdown Table of Contents GeneratorGenerates a table of contents linked to each heading using GitHub's anchor rules, with a choice of heading levels and numbering style.Markdown Editor with Live PreviewWrite Markdown with a live preview, with support for tables, task lists and code blocks, and export to HTML or an .md file.
More Text tools
Markdown Diff CheckerCompares two Markdown versions as plain text, line by line, highlighting added lines, removed lines and changed words.Markdown Link ExtractorLists links, images, reference links and bare URLs in a Markdown file, with line numbers.Text CleanerMerges extra spaces, fixes spacing around punctuation, removes blank lines and invisible characters, and normalizes Vietnamese Unicode in one pass.Remove Duplicate LinesRemoves repeated lines and keeps the first one, with an option to ignore case and whitespace.HTML to Markdown ConverterConverts HTML code (blog posts, web pages) into tidy Markdown, keeping headings, lists, links, tables and code blocks.Sort Lines AlphabeticallySorts lines in Vietnamese alphabetical order, in natural order (item 2 before item 10), by number or by length.
See all text tools