Markdown Table Formatter

Paste a messy Markdown table and get a clean, perfectly aligned version. Preserves left, right, and center alignment markers.

Results

Markdown table will be rendered here

How it works

Paste any Markdown table — even one with inconsistent spacing, missing padding, or columns crammed together — and this tool outputs a clean, aligned version. Column widths are calculated from the widest cell in each column, so every row lines up perfectly in your source file.

Example

Before:

| Name|Age |City|
|---|---|---|
| Alice|28|New York|
|Bob|31|San Francisco|

After:

| Name  | Age | City          |
|-------|-----|---------------|
| Alice | 28  | New York      |
| Bob   | 31  | San Francisco |

Alignment markers are preserved

Left (:---), right (---:), and center (:---:) alignment markers in the separator row are kept intact and resized to match the new column widths.

Related tools