CSV to Markdown Table Converter
Converts delimited rows into a GitHub-flavoured Markdown table.
Loading the tool…
How to use this tool
- Paste the CSV.
- Choose a column alignment if you want one.
- Convert, then copy the table into your document.
What csv to markdown table does
Markdown tables are the standard way to put tabular data into a README, a pull request description or a documentation page, and typing the pipes by hand is tedious for anything past three rows. This converter takes the delimited file you already have and writes the pipe-and-dash form, including the alignment row that tells the renderer which columns are which.
Pipe characters inside a value would otherwise break the table, so they are escaped, and any line break inside a quoted field is replaced with a space because Markdown tables cannot contain one. The result renders identically on GitHub, GitLab and most static site generators, and stays readable as plain text if it is never rendered at all.