Markdown Table to CSV
Convert a Markdown table back to CSV. Handles the alignment marker row, escaped pipes inside cells, and HTML entities. Output is RFC 4180 CSV ready to drop into a spreadsheet.
How to use the Markdown Table to CSV
Paste a Markdown table. The tool finds the table boundaries (rows of | cell | cell |), strips the alignment marker row, and emits CSV. For mixed Markdown documents with non-table prose, only the table portion is converted.
Markdown tables back into data
Sometimes the data you need is locked inside a Markdown table in a README or doc, and you want it in a spreadsheet or a script instead. Copying cells out by hand is slow and error-prone, especially when the table has an alignment row, padded pipes, or cells containing escaped pipes and HTML entities.
This converter parses the table — finding the rows of | cell | cell |, dropping the alignment marker row, and unescaping \| and entities inside cells — and emits RFC 4180 CSV with proper quoting. Pick comma, semicolon, or tab as the delimiter and the result drops straight into a spreadsheet.
Common use cases
- Spreadsheet import — pull a table out of a README into Excel or Google Sheets.
- Data extraction — recover tabular data that only exists in a Markdown document.
- Re-processing — convert a table to CSV so a script can read and transform it.
- Content migration — move table data to a system that ingests CSV rather than Markdown.
- Delimiter choice — emit comma, semicolon, or tab-separated output to match the target tool.
Frequently asked questions
What happens to escaped pipes inside cells?
\| in a cell is an escaped pipe, not a column break. The converter unescapes it back to a literal | in the CSV output rather than splitting the cell.