About markdown table generator
Turn CSV, TSV or pipe-separated data into a neat Markdown table.
Markdown table syntax
A header row, a separator row of dashes and then the data rows, with cells separated by pipes. Colons in the separator row set alignment, such as :---: for centred.
A worked example
From the rows 'Item, Price' and 'Pen, 10', you get | Item | Price | on the first line, | --- | --- | on the second and | Pen | 10 | on the third. A colon in the separator row, such as ---:, right-aligns a column, which suits numbers.
Tips
- Use a pipe in a cell by writing \|.
- Keep cells short, since long text is hard to read in raw Markdown.
- For merged cells or lists inside cells, use HTML.
Source formats
Paste text copied from a spreadsheet, which uses tabs, or from a CSV file, which uses commas. Tell the tool which separator you used.
