CSV to Markdown Table

Paste CSV and get a tidy Markdown table for GitHub, READMEs and docs.

Add CSV and click Convert to see the Markdown here.

How CSV to Markdown Table works

Turns CSV data into a Markdown table for GitHub, README files and docs. The first row becomes the header, followed by a divider line of dashes. Click the preview button to see the table.

Pipe characters in your data are escaped as \| so they do not break the table. Line breaks inside a cell become <br>.

Input to CSV to Markdown Table

  • Paste or type CSV into the input box, or upload or drop a .csv or .txt file. The separator is found for you.
  • Align sets the alignment of every column: Default, Left, Center or Right. It adds colons to the divider line, like :---: for center.
  • Line up columns pads cells with spaces, so the table is easy to read as plain text. Turn it off for shorter output.
  • Turn off "First row is the header" when your data has no header. The header is then Column 1, Column 2 and so on.

Output from CSV to Markdown Table

  • Markdown table in GitHub style, with a pipe at the start and end of each row.
  • Short rows get empty cells, so every row has the same number of columns.
  • Copy it or download it as table.md. Preview shows the first 300 rows.