CSV to Markdown Table Converter

Convert CSV to a Markdown table in your browser. Quoted commas, line breaks and pipes come out right. Markdown table to CSV too.

Loading tool…

How it works

Paste or open a file

Paste CSV, open a file up to 5 MB, or drop one on the box. It is read in this tab and never uploaded.

Check the table

The preview shows each cell as read. Click a column heading to change its alignment.

Copy or download

Copy the Markdown or download a .md file. Markdown to CSV goes the other way.

How are line breaks and pipes kept?

A Markdown table cell is one line, so a line break becomes the HTML tag <br>, which GFM allows in a cell. A pipe would end the cell, so it is written as \|, and backslashes right before it are doubled outside `code` so they still show.

Source: GFM tables · GFM raw HTML · CommonMark backslash escapes

How is the CSV read?

As RFC 4180 describes: a field in double quotes can hold the delimiter, line breaks and "" for a quote. Comma, semicolon or tab is picked from the first 50 rows. A row with more cells than the header gets empty header cells, so nothing is dropped.

Source: RFC 4180

How are Chinese text and emoji padded?

By display width, not by character count: CJK characters and most emoji count as two columns, as Unicode's East Asian Width property gives them.

Source: Unicode East Asian Width (UAX #11)

Can I turn a Markdown table back into CSV?

Yes. Pick Markdown to CSV and paste a table. The first table in the text is read; escapes are removed and <br> becomes a line break. Cells past the header's count are dropped, as GitHub does.

Source: GFM tables

Need a table from a website first?

Browser Use agents open pages in a real browser, including dynamic ones, and return structured data.