Markdown Table to CSV Converter
Convert a Markdown table (`| col1 | col2 |`) into CSV or TSV. Handy for pulling tables exported from GitHub Wiki, Notion, or Confluence into Excel or a spreadsheet. Conversion runs entirely in your browser; no data is sent to a server.
| Output delimiter |
|
|---|---|
| Include the header row in the output |
Enter a Markdown table to see the generated CSV here.
How a Markdown table row maps to a CSV row
| One Markdown row | | name | age | city | |
|---|---|
| Resulting CSV row | name,age,city |
The delimiter row right after the header (`---`, `:---`, `:---:`, or `---:`) is skipped rather than treated as data. Any escaped pipe (`\|`) inside a cell is restored to a plain "|" character.
Tips
- The delimiter row right after the header is detected and skipped automatically, so `---`, `:---` (left), `:---:` (center), and `---:` (right) all convert without issue regardless of alignment.
- Disabling "Include the header row in the output" produces a CSV containing only the data rows, without the header — handy when you want to manage the header separately.
- If a cell value contains a comma or a double quote, it is automatically wrapped in double quotes per CSV rules, with any internal `"` escaped as `""`.
- Pair this with the CSV-to-Markdown-table converter to convert between CSV and Markdown tables as many times as you need.
Frequently Asked Questions
Side Note — what actually differs between a Markdown table and a CSV
CSV and Markdown tables are both text-based ways of representing tabular data, but they serve different purposes. CSV is a machine-readable format meant to be read and written by programs — spreadsheets, databases, and the like — while a Markdown table is a documentation-oriented notation that prioritizes letting a human glance at the raw source and still make out roughly what the table looks like.
That's why a Markdown table has concepts CSV lacks: a header row and a delimiter row (`---`). Visually this delimiter row renders as a rule line, but in the source it's nothing more than a run of hyphens — a piece of Markdown-specific notation that exists purely to tell the parser "everything above this is the header, everything below is data."
Wanting to move a table authored in a documentation tool like GitHub Wiki, Notion, or Confluence into a spreadsheet comes up often when tidying up team meeting notes or a README. Having this tool alongside its counterpart — CSV to Markdown table — means you can start from either format and convert without hesitation.