Category: Text tools

Markdown Table Formatter

System ideaMissing a tool?

Align and tidy a Markdown table's columns

Paste an existing Markdown table and re-render it with every column padded to a consistent width, with per-column left, center or right alignment. Runs entirely in your browser.

HTML
| Name            |   Role   |  Team |
| --------------- | :------: | ----: |
| Ada Lovelace    | Engineer |  Blue |
| Grace Hopper    | Admiral  | Green |
| Escaped \| pipe |  Tester  |  Blue |

Everything on this page is processed in your browser. Nothing is uploaded.

What this tool does

A Markdown table renders the same however its source is spaced, but a source that lines up in a plain-text editor is far easier to review in a diff or a pull request. This tool parses a pasted table, including cells with an escaped `\|` pipe, keeps or changes each column's alignment, and reprints it with every column padded to its widest cell.

How to use it

  1. Paste a Markdown table, including its header and separator row.
  2. Choose left, center or right alignment for any column.
  3. Copy the formatted table back into your document.

Privacy

This tool runs entirely in your browser. Your input is never uploaded, stored or shared — closing the tab removes it.

Frequently asked questions

Is my table uploaded anywhere?
No. Parsing and formatting happen in JavaScript running in the page, so the table never leaves your device.
What if a cell needs a literal pipe character?
Escape it as \| in the source, the same way Markdown expects; it is kept as an escaped pipe in the output rather than being read as a column break.
What happens to the alignment row?
It is rebuilt from the alignment you choose for each column, using the standard :---, :---: and ---: colon syntax that Markdown renderers read.