Markdown Table Formatter
Format messy Markdown tables online for free. Re-align columns with consistent padding, preserve center and right alignment markers, trim cell whitespace, and repair missing pipes - all in your browser.
Loading tool...
What is Markdown Table Formatter?
The Markdown Table Formatter cleans up ragged Markdown tables directly in your browser. It measures every column, pads cells so all pipes line up, preserves left, center and right alignment markers, trims stray whitespace inside cells, and repairs rows with missing outer pipes, producing a clean GitHub-flavored table ready to paste into docs and READMEs.
Key Benefits
- Perfectly aligned columns without manual space counting
- Alignment markers survive reformatting, including center and right
- Handles missing pipes and uneven rows gracefully
- Choose padded or minimal single-space output
- Private and instant - everything runs in the browser
Common Use Cases
- •Tidying tables pasted from spreadsheets into Markdown docs
- •Normalizing contributor tables in README files and wikis
- •Cleaning generated tables before committing them to a repo
- •Re-aligning hand-edited tables after rows or columns changed
How to Format a Markdown Table
- Paste the messy table: Paste your ragged Markdown table into the left input box, or load the example.
- Pick output options: Choose padded or minimal column spacing and whether to trim whitespace inside cells.
- Review the formatted table: The aligned table with preserved alignment markers appears instantly on the right.
- Copy or download: Copy the clean table to your clipboard or download it as a Markdown file.
Key Features
- Re-align ragged columns into perfectly padded Markdown tables
- Preserve left, center and right alignment markers exactly
- Repair rows with missing leading or trailing pipes
- Trim stray whitespace inside cells with one option
- Padded or minimal single-space output styles
- Copy or download the result - all client-side, no upload