Skip to content
Categories
Markdown Formatter
Format and normalize Markdown to make it easier to read.
Overview
- Normalizes extra whitespace in headings and inconsistent list markers (a mix of * and -, for example), formatting the Markdown into a clean, readable style.
- Also automatically aligns table separators and column widths, saving you the trouble of adjusting them by hand.
- The content of code blocks is not changed, so it's safe to use on documentation that includes sample code.
Usage
- Enter the Markdown you want to format into the text area.
- Click the "Format" button.
- The result, with headings, lists, and blank lines normalized, is displayed below. Use the "Copy" button to copy it to the clipboard.
Example
Input
# Title * item1 * item2
Output
# Title - item1 - item2
Use Cases
- Unifying the Markdown style of a README or document edited by multiple people
- Formatting a quickly written Markdown memo into a clean appearance before publishing
- Letting automatic formatting handle Markdown table column widths instead of adjusting them by hand
FAQ
Is the Markdown I enter sent anywhere?
No. Formatting is done by running Prettier entirely in your browser, and nothing is sent to an external server.
Is the content of code blocks changed?
No. The text inside code blocks is preserved as-is.
Are table column widths aligned automatically?
Yes. Markdown table separators and column widths are automatically aligned.
Notes
- Text inside code blocks is not formatted and is preserved as-is.
- List markers are unified to "-". Lists written with "*" are converted too.
- Formatting very large Markdown may make browser processing slow.
Related Tools
Preview Markdown in real time.
Convert text to camelCase, snake_case, and other naming conventions.
Count the characters, words, and lines in your text.