HohoTools
中文

Markdown Table to CSV

This free online markdown table to CSV converter pulls tabular data out of READMEs, wikis, issue threads and AI chat answers and turns it into CSV a spreadsheet can open.

How to use

  1. Paste one complete markdown table — header row, alignment row, then data rows.
  2. The CSV appears instantly; cells with commas or quotes are properly quoted.
  3. Copy the CSV or download it as data.csv for Excel, Numbers or Google Sheets.
ADAdvertisement — this space keeps HohoTools free

Frequently asked questions

Does the input have to be exactly one table?

Yes. Every line must belong to the table: header first, the --- alignment row second, data after that. Surrounding prose, headings or blank lines produce an explicit error naming the line — nothing is silently skipped. In a single-column table, lines without a pipe are treated as data rows.

How are cells with commas or quotes converted?

Standard CSV quoting: a cell containing a comma, double quote or line break is wrapped in double quotes, and embedded double quotes are doubled, so Excel, Numbers and Google Sheets parse it back into the right cells.

What happens to an escaped pipe (\|) in a cell?

It is restored to a literal | character in the CSV. The escape exists only to protect the markdown table structure; the underlying data should keep the real character.

Why do some cells gain a leading apostrophe?

Cells starting with =, +, - or @ would be executed or misparsed as formulas by spreadsheet software. A leading apostrophe forces them to display as plain text — the same mitigation this site applies to every CSV download.

Is any data uploaded?

No. The conversion is plain JavaScript running on your device; nothing leaves the browser, so internal tables and private data are safe to paste.

Related tools

About this tool

This free online markdown table to CSV converter pulls tabular data out of READMEs, wikis, issue threads and AI chat answers and turns it into CSV a spreadsheet can open. Paste one complete table: the first line is the header, the second line must be the --- alignment row, and every following line is a data row. The parser follows markdown table rules — outer pipes are optional, surrounding cell whitespace is ignored, and an escaped backslash-pipe inside a cell is restored to a literal pipe so escaped content survives the conversion. The CSV output quotes any cell that contains a comma, a double quote or a line break, doubling embedded quotes the way spreadsheet software expects. One deliberate strictness: the whole input must be one table. Stray prose, headings or blank lines between rows stop the conversion with an error that names the offending line (in a single-column table, lines without a pipe are treated as data rows) — quietly dropping rows is how data gets lost. Cells starting with =, +, - or @ receive a leading apostrophe so spreadsheet applications treat them as text instead of formulas. Everything runs in your browser; nothing is uploaded. Copy the CSV or download it as data.csv.