CSV to Markdown Table
Paste CSV or text copied from a spreadsheet and get a Markdown table you can paste into a README, an issue or a document.
Use the tool
Loading the tool…
About CSV to Markdown Table
Turn CSV data into a Markdown table, which is easy to paste into a README, a wiki or a note. Choose the separator, or let the tool detect it, and set the alignment of each column: left, centre or right.
Worked example
Paste a CSV with a name column and a score column. Align the score column to the right. The output is a Markdown table with that alignment.
Limits
Markdown tables do not allow line breaks inside a cell. Check that every row has the same number of cells.
How to use CSV to Markdown Table
- Paste your CSV text and check the separator that was found.
- Choose whether the first row is the header, and the alignment.
- Copy the table or download it as a .md file.
Good to know
- Quoted values can hold separators, doubled quotes and line breaks. A line break in a value becomes <br>, and a pipe is escaped.
- Rows with fewer values than the widest row are filled with empty cells.
- Other Markdown characters such as * and _ are left as they are, so they may format your text.
- Markdown tables need a header row. If yours has none, the columns are called Column 1, Column 2 and so on.
Frequently asked questions
How is the separator found?
The tool counts commas, semicolons, tabs and pipes on the first line outside quotes and uses the most common one. You can choose one yourself.
Does it work with a spreadsheet?
Yes. Copy the cells from a spreadsheet and paste them. They arrive separated by tabs, which are found automatically.
Is anything I type saved or sent?
No. The work happens in your browser on this page, and nothing is stored or sent to us.