Markdown Table to CSV and CSV to Markdown Table

Convert GitHub-style Markdown tables to CSV for spreadsheets, or turn CSV into a Markdown table for a README or document. Your data stays in your browser.

Conversion direction
CSV export options

How to convert between Markdown tables and CSV

  1. Choose Markdown → CSV or CSV → Markdown.
  2. Paste the Markdown with its header separator row, or paste CSV with column names in the first row.
  3. Select Convert, then copy the output or download it as a .csv or .md file.

FAQ

What if I paste several Markdown tables? The converter counts the tables and converts the first one. It fills missing cells in shorter rows with empty values.

Which CSV separators are supported? The converter detects commas, semicolons, and tabs. It handles quoted fields with embedded separators or line breaks and writes cell line breaks as <br> in Markdown.

What happens to column alignment? CSV has no alignment field. Paste the most recent CSV export back into this page to restore the Markdown alignment. Other CSV input uses the default left alignment.

What do the CSV export options do? The UTF-8 BOM helps Excel detect the encoding. Formula guard prefixes formula-like cells with an apostrophe so spreadsheets can treat them as text.

For tables on web pages, see TableGrab or the HTML table to CSV converter.