|β€”|

Markdown Table Generator markdown

Turn tab or comma separated data into an aligned Markdown table.

input
align
INPUTtabular data (first row = header)
0 lines 0 chars
1
OUTPUTmarkdown table
0 lines 0 chars
1
Tool Guide

What this tool does

Hand-writing Markdown tables is tedious. Pipes and dashes have to line up, and aligning column widths means counting spaces by hand. Moving data across from a spreadsheet makes it worse.

Paste tab separated data copied from a spreadsheet, or CSV, and this tool converts it into a Markdown table. The first row becomes the header, the delimiter is detected automatically, and column widths are padded so the raw source stays readable.

Several details are handled for you. Pipe characters inside a value would split the cell, so they are escaped; commas inside quoted CSV values are not treated as delimiters; and characters that occupy two columns on screen, such as CJK text and emoji, are measured as double width so the padding does not drift.

When to use it

Use it to move a spreadsheet into a README or documentation page, to write up a list of API response fields, to add a comparison table to an issue or wiki, or to share query results with a team.

Input and output examples

Input name age city alice 30 seoul
Output | name | age | city | | :---- | :-- | :---- | | alice | 30 | seoul |

Spreadsheet copies arrive tab separated and paste in directly.

Input a,"b,c",d
Output | a | b,c | d |

A comma inside a quoted value is not treated as a delimiter.

Notes and limitations

Markdown tables cannot contain line breaks inside a cell. For long content use a br tag or switch to a list. The alignment option applies to the whole table, so per-column alignment requires editing the divider row by hand. Renderer support also varies: tables were never part of original Markdown and come from extensions such as GitHub Flavored Markdown, so confirm your target tool supports them.

Frequently asked questions

Can a cell contain a line break?

Markdown table syntax does not support it. Insert a br tag or use a list instead.

Do wide characters break the alignment?

CJK characters and emoji are measured as two columns so the source stays aligned. Exact display still depends on the font, and rendered output is unaffected either way.

Copied