Markdown Formatter
Format, beautify, and align your Markdown files, including headers, list bullets, and visually aligned tables.
Formatting
List Bullet:
Input Markdown
Formatted Markdown
What is a Markdown Formatter?
A Markdown Formatter is a developer utility that parses Markdown (.md) documents and reformats them for maximum readability. It standardizes heading spacing, organizes lists, wraps long paragraphs, and vertically aligns markdown table columns.
Features
- Custom List Bullets: Standardize all unordered list bullets using
-,*, or+. - Table Visual Alignment: Automatically calculates column widths and aligns table columns and dividers vertically so they look neat in code.
- Header Spacing: Ensures a clean space exists between the
#hashes and the header text (e.g.## Headerinstead of##Header). - Word Wrapping: Toggles word wrapping at 80 columns for clean documentation structures.
- Code Block Retention: Automatically preserves lines within code blocks (
```or~~~) so they are not modified.
Example Input
#My Header
Here is a list:
*Item 1
* Item 2
|Name|Age|Role|
|---|---|---|
|Alice|24|Developer|
|Bob|30|Designer|
Example Output
# My Header
Here is a list:
- Item 1
- Item 2
| Name | Age | Role |
| ----- | --- | --------- |
| Alice | 24 | Developer |
| Bob | 30 | Designer |