Markdown & Convert

Markdown Table Generator

Paste CSV / TSV and get a properly aligned Markdown table.

Input (CSV / TSV)

Column alignment

Col 1

Col 2

Markdown table

| name  | role |
| ----- | ---- |
| Ada   | math |
| Linus | code |

About this tool

Paste CSV (commas) or TSV (tabs) data - one row per line, first row treated as headers - and the tool emits a clean Markdown table with even column widths and alignment markers. Pick left / center / right alignment per column. Pipes inside cells are escaped automatically.

FAQs

What's the alignment syntax in a Markdown table?

The separator row controls alignment: |:---| is left, |:---:| is center, |---:| is right. The default unmarked is left in most renderers.

Will it handle commas inside cells?

Yes - if your data is properly quoted per RFC 4180 (e.g. "Smith, John"). Switch to TSV mode if your data has commas without quoting; tabs almost never appear naturally in text.

What about pipes (|) inside cells?

Pipes are escaped to \| in the output so the renderer doesn't interpret them as column separators. The renderer renders them as plain |.

Does the output need monospaced alignment?

Visual alignment in the source isn't required - GFM ignores extra spaces. The tool aligns columns anyway because it's easier to read and edit by hand.

Can I paste directly from Google Sheets?

Yes - copying a sheet range gives you TSV. Switch the input mode to TSV and paste; the first row becomes the header.

Other tools