Markdown table to CSV converter - free online tool
What is a Markdown table to CSV converter?
A Markdown table to CSV converter turns a GitHub Flavored Markdown (GFM) table into CSV text. Use it when a table lives in a README, issue, or docs page, but you need the same data in a spreadsheet, a database import, or a script.
Textavia runs locally in your browser. The table you paste stays on your device.
How to use the Markdown table to CSV converter
- Paste a Markdown table: Paste a pipe table with a header row and a separator row.
- Pick the table number: If your input contains more than one table, choose the one you want.
- Choose CSV output settings: Select delimiter, line breaks, and whether to include the header row.
Why convert Markdown tables to CSV?
- Spreadsheet-ready: CSV is a common import format for Excel, Google Sheets, and data tools.
- Automation-friendly: Scripts can read CSV without needing a Markdown parser.
- Keep docs and data aligned: You can store a table in docs, then export it to CSV when someone needs it.
Use case 1: Import a README table into a spreadsheet
If your README has a table of environments, owners, or plan details, export it to CSV and open it in a spreadsheet for sorting and filtering.
Use case 2: Turn a docs table into a dataset
Many teams keep service catalogs and checklists in Markdown. Export to CSV so you can feed it into scripts or dashboards.
Use case 3: Share data with non-Markdown tools
Some teams do not work in Markdown, but they do accept CSV. Export the table and send the CSV.
Examples
Basic example
Input (Markdown):
| service | owner | tier |
| --- | --- | --- |
| auth | dina | 1 |
| billing | evan | 2 |
Output (CSV):
service,owner,tier
auth,dina,1
billing,evan,2
Advanced example (delimiters and quoting)
If your cells contain commas, standard CSV quoting rules apply. If you pick a different delimiter like semicolon, the tool will still quote fields when needed.
Input (Markdown):
| name | notes |
| --- | --- |
| Jordan | Prefers notes like: "ship, then fix" |
| Ada | Uses commas, semicolons; and quotes "like this" |
Output (CSV, semicolon delimiter):
name;notes
Jordan;"Prefers notes like: ""ship, then fix"""
Ada;"Uses commas, semicolons; and quotes ""like this"""
Common errors
No tables found
The input must be a pipe table with a separator row. Fix: make sure your table includes a line like | --- | --- |.
My delimiter is wrong for Excel
Some Excel setups expect semicolons. Fix: switch the delimiter option to semicolon and export again.
Cells look trimmed
Markdown tables are usually written with extra spacing for readability. The converter trims cells by default so the CSV stays clean. If you need exact spacing, edit the Markdown table first with the Markdown table creator.
I exported the wrong table
If your Markdown contains multiple tables, the tool exports the selected table number. Fix: increase the table number until the previewed CSV matches the table you want.
Tips and proven approaches
- Keep the header row when importing: Many spreadsheet imports treat the first row as column names. Keep
Include header rowon unless you have a reason to drop it. - Pick line breaks for your system: LF works for most workflows. If you are pasting into tools that expect Windows line breaks, switch to CRLF.
- Clean the CSV before sharing: If you need to normalize quoting or remove blank lines, run the output through the CSV cleaner.
- Quote everything for picky importers: If your target tool misreads commas or newlines, turn on
Quote all fieldsso every cell is wrapped consistently.
Related tools
- Turn CSV into tables with CSV to Markdown table.
- Export tables to JSON with Markdown table to JSON.
- Build or fix tables visually with the Markdown table creator.
Privacy and security
Markdown parsing and CSV generation run locally in your browser. Textavia does not upload or store the table you paste.