Markdown table
to CSV
Convert Markdown tables to CSV format instantly. Perfect for importing into Excel, Google Sheets, or any spreadsheet application.
Managing the source tables behind this data?
md0 CMS connects to your GitHub repo, so the markdown tables you're exporting stay editable in a visual editor instead of being retyped by hand.
Markdown table to CSV
Input format
- Paste a GitHub Flavored Markdown table with | pipe separators
- The divider row (| --- | --- |) is detected and skipped automatically
Output format
- Generates standard CSV with a header row
- Fields containing commas are quoted automatically
Use cases
- Import markdown tables into Excel, Google Sheets, or any tool that reads CSV
- Convert documentation tables to spreadsheet data
When to use this tool
Exporting data from a wiki or README
Your team tracks sprint velocity, dependencies, or feature flags in a GitHub README table. Someone on the business side needs that data in a spreadsheet for a report. Paste the markdown table here and hand over a clean CSV in seconds instead of retyping every row.
Migrating documentation to a CMS or database
You have product specs, pricing tiers, or comparison data written as markdown tables across dozens of docs, and you need to import that content into Notion, Airtable, or a database. CSV is the format they all accept, and this converter gets you there without a custom script.
Sharing data with non-technical teammates
You maintain a markdown file with benchmark results, test data, or a roster of API endpoints. Your colleague needs to filter or sort it in Excel, and markdown pipes mean nothing to them. Convert it to CSV so they can open it directly, no conversion step on their end.
How the conversion works
Parsing the pipe table
The converter reads your markdown line by line. The first row becomes your CSV header. The separator row (the one with dashes like | --- |) is detected and discarded, and every remaining row becomes a data row in the output.
Handling commas and special characters
If a cell value contains a comma, the converter wraps it in double quotes so spreadsheet apps read it as a single field rather than two separate columns. This follows the RFC 4180 CSV standard, so the output works correctly in Excel, Google Sheets, and LibreOffice Calc.
Download or copy
Once converted, copy the CSV text to paste directly into a tool, or download it as a .csv file that opens in your default spreadsheet app.
Frequently asked questions
Does it work with GitHub Flavored Markdown tables?
Yes. The tool is built specifically for GFM pipe tables, the format used in GitHub READMEs, GitLab wikis, and most static site generators. If your table uses | to separate columns and has a divider row with dashes, it converts correctly.
What happens if a cell contains a comma?
The converter quotes any field that contains a comma, so the CSV stays valid. A cell value like New York, NY becomes "New York, NY" in the output. Spreadsheet apps handle this correctly without extra steps from you.
Can I convert multiple tables at once?
The tool is designed for one table at a time. If you have multiple tables in a document, paste each one separately to get a clean CSV for each. This avoids ambiguity in the output when tables have different column counts.
Is my data sent to a server?
No. The entire conversion runs in your browser. Your table data never leaves your machine, so it is safe to use with internal data, credentials tables, or anything confidential.