Markdown Table Formatter

Realign messy Markdown tables into evenly padded columns; the rest of the text is kept.

Runs in your browser Free
Processed locally in your browser.

Readable Markdown source

Unaligned Markdown tables render fine, but messy tables in the source make reading and editing hard. Neatly aligned tables help a lot in code reviews and docs edited by many people.

How it works

Paste a whole document: the tool finds every table and realigns the columns to equal widths. Text outside tables stays exactly as it is.

Accurate measurement

  • Alignment colons (:--, :-:, --:) are respected
  • Wide characters such as emoji and Chinese, Japanese or Korean text are measured at the correct width
  • The rendered table looks the same; only the source changes

How to use Markdown Table Formatter

  1. Paste your Markdown document or table.
  2. All tables are aligned automatically.
  3. Check the result.
  4. Copy the formatted text.

Why use this tool?

Keeps the source of documentation repositories consistent and readable.

FAQ

Does formatting change how the table looks?

No. Only spaces and dashes change; the table looks the same but the source becomes readable.

Are documents with several tables supported?

Yes, every table in the document is formatted in one go.

Are tables inside code blocks affected?

The tool looks for table syntax; check the result if code blocks contain table-like text.

Related tools