RichMarkdown › Text tools › Markdown table formatter

Markdown table formatter

Paste a README, a note or a whole document. Every table is lined up into neat columns, missing cells are filled in and the alignment colons are kept; headings, paragraphs and code blocks are not touched.

Runs in your browser. Your text is not uploaded or stored on a server.

How to use it

  1. Paste the Markdown, or open a .md file.
  2. Keep the alignment as written, or set one for every column.
  3. Copy the result or download the .md.

When it helps

Need to write and format, not just clean? The RichMarkdown editor turns rich text into Markdown and Word files.

More text tools

Clean up text

Words and case

Convert formats

Encode and decode

Questions

Does it change anything outside the tables?

No. Only table lines are rewritten. Code blocks, even ones that look like tables, are left alone.

Do Chinese or Japanese tables line up?

Yes. Wide characters count as two columns, so the table looks tidy in a monospaced editor.

What about an escaped pipe \|?

It stays inside its cell. Rows with too few cells get empty ones, so every row has the same number of columns.

I have a spreadsheet, not a table yet.

Use CSV to Markdown table to turn copied cells into a table.