EN
My tools

Markdown Table Generator

Turn CSV, TSV or cells pasted from Excel into a GitHub-flavored Markdown table, or tidy an existing one: alignment, padding, escaped pipes.

One letter per column: l, c, r or - (none). Overrides the setting above.
Korean, Chinese and Japanese characters count as two columns.
My tools →
Advertisement

Markdown tables are tedious to type by hand: every row needs pipes, the second row needs dashes and colons, and lining the columns up takes forever. Paste CSV, TSV or cells copied straight from Excel or Google Sheets and get a GitHub-flavored Markdown (GFM) table, ready for a README, issue, wiki or docs page. Paste an existing messy table instead and it comes back tidied, with its alignment kept.

How to use this tool

  1. Paste your data — CSV, tab-separated cells from a spreadsheet, or a Markdown table.
  2. Leave the input on Detect or choose the format.
  3. Pick the alignment, or give one letter per column (l c r).
  4. Keep padding on so the columns line up in plain text.
  5. Copy the table.

Formula

| header | header | · | :--- | ---: | · | cell | cell |

The second line sets alignment: :--- left, :---: centre, ---: right, --- default. Padding fills each cell to the widest entry in its column (at least 3), counting Korean, Chinese and Japanese characters as two columns, so the source lines up in a monospace editor. A | inside a cell is written \| and a line break as <br>.

Example

The CSV Name,Qty,Price / Apple,3,1.20 / Banana,12,0.5 gives three columns 6, 3 and 5 characters wide: | Name | Qty | Price |, then | ------ | --- | ----- |, then | Apple | 3 | 1.20 | and | Banana | 12 | 0.5 |. With Numbers right, text left the separator becomes | :----- | --: | ----: | and the numbers are padded on the left.

Frequently asked questions

Does padding change how the table renders?

No. Markdown ignores the extra spaces; they only make the source easier to read and edit.

Can a cell contain a line break or a pipe?

GFM tables are one line per row, so line breaks become <br>. A | must be escaped as \| or it starts a new cell.

Why is there an empty header row?

GitHub-flavored Markdown requires a header. If your data has none, untick "First row is the header" and an empty header row is added.

How do I paste from Excel?

Select the cells, copy, and paste here. Excel and Sheets copy tab-separated text, which is detected automatically.

Sources

Last updated:

Cite or embed this tool
APA

kakaoCalc. (2026, November 8). Markdown Table Generator. https://kakao.mobile/tools/markdown-table-generator/

MLA

“Markdown Table Generator.” kakaoCalc, 8 Nov. 2026, kakao.mobile/tools/markdown-table-generator/.

Paste this code into your page. The widget runs in your visitors' browsers, shows no ads and keeps a link back to this page. Embedding terms

Advertisement