Markdown Table Generator
Type into the grid, add or remove rows and columns, or paste CSV or TSV to fill it at once. Choose an alignment for each column, then copy the Markdown. Pasting an existing Markdown table loads it into the grid so you can edit it.
Markdown Table Generator runs entirely in your browser: the text you paste is never sent to a server. It is free and needs no sign-up.
How to use it
- Edit the grid or import data In the Markdown Table Generator, type into the grid, then use Add row, Remove row, Add column or Remove column. The grid holds up to 50 rows and 20 columns, header included.
- Set the header and alignment Tick The first row is a header to treat it as column titles, and choose Left, Center, Right or None for each column. Pad columns to equal width lines up the output so it is easier to read.
- Copy the Markdown or CSV Pick the Markdown or CSV tab under Output, then press Copy. The output updates as you type. Turn off padding if you want shorter text.
Questions
How do I put a pipe character inside a cell?
A vertical bar inside a cell would end the column, so the generator writes it as an escaped pipe. A line break inside a cell becomes a br tag, because each row of a Markdown table must stay on one line.
Why does the table look different in my editor?
Padding changes only the spaces inside each row, so the table renders the same. Wide characters such as Chinese or Japanese count as two columns, so alignment is approximate in some fonts.
Can I edit a table I already have?
Yes. Paste the Markdown table into Read a Markdown table and press Read table. The delimiter line, a row of dashes with optional colons, sets the alignment. A table without that line is not recognised.