Converter Tools
Markdown Table to CSV Converter
Convert Markdown pipe tables to RFC-4180 CSV (or TSV) in your browser. Handles multiple tables, escaped pipes, <br>, HTML entities, and inline code.
Delimiter
Output uses RFC-4180 quoting for fields with the delimiter, quotes, or newlines.
Line endings
Scope
Conversions run entirely in your browser. Your Markdown is not uploaded.
Detected tables
Preview the rows that will be written to the CSV. Each table is shown in input order.
| Tool | Category | Free | Monthly users |
|---|---|---|---|
| Word Counter | Text | Yes | 12,500 |
| JSON Formatter | Developer | Yes | 9,800 |
| QR Code Generator | Generator | Yes | 7,400 |
| Color Contrast | SEO | Yes | 4,100 |
| Field | Value |
|---|---|
| Name | Ada | Lovelace |
| Bio | Mathematician Engineer |
How to use
- Paste any Markdown text into the input. It can be a whole README, a GitHub issue body, an Obsidian or Notion export, an MkDocs page, or just a single pipe table.
- Pick a delimiter: Comma for standard CSV, Tab for TSV (best for direct paste into Excel or Google Sheets), Semicolon for European locales, or Pipe for niche pipelines.
- Choose First table to convert only the first table found, or All tables to convert every table in the document, separated by a blank line.
- Toggle First row is the header on or off depending on whether the first parsed row contains column titles. Turn it off if your Markdown table has no --- separator row.
- Optional: Include header row in CSV, Always quote every field, switch line endings between LF and CRLF, or add a UTF-8 BOM so Excel for Windows reads the file as UTF-8.
- Click Copy CSV (or Copy TSV) to grab the output, or Download to save it as tables.csv or tables.tsv. The preview panel below shows every detected table with the source line numbers.
About this tool
Markdown Table to CSV Converter pulls every GitHub-Flavored Markdown pipe table out of a document and writes the rows as clean RFC-4180 CSV (or TSV, SCSV, PSV depending on the chosen delimiter). It is the inverse of the CSV to Markdown converter on this site and is built to survive real-world pasted Markdown rather than the pristine output of a single editor. The parser handles backslash-escaped pipes inside cell content (\|), decodes <br>, <br/>, and <br /> back into actual newlines (which are then RFC-4180 quoted in the CSV), decodes the five standard XML entities and numeric character references (so <, >, &, ', — come through as their source characters), keeps inline backtick code spans intact so code samples containing pipes stay in one cell, and tolerates tables with or without leading and trailing pipes. Mixed input is fine: headings, paragraphs, lists, blockquotes, and fenced code blocks between tables are ignored, and a table-shaped line inside a triple backtick code block will not be picked up by mistake. Multiple tables in one document are detected separately and you can choose to convert just the first or every table at once (concatenated with a blank line between). The first parsed row is treated as the header by default, with an option to turn that off for tables that have no separator row. The CSV emitter follows RFC 4180: fields containing the delimiter, a double quote, CR, or LF are wrapped in double quotes and inner quotes are doubled; an Always quote toggle wraps every cell for strict consumers; line endings can be LF or CRLF; and a UTF-8 BOM can be prepended so Excel for Windows opens the file cleanly without mojibake. A preview pane below the output renders every detected table with line numbers from the source so you can verify the conversion before copying or downloading the file. Everything runs locally in your browser, so the Markdown you paste, including any private data, never leaves your device.
Free to use. Works in your browser. No signup, no login.
Related tools
You may also like
CSV to Markdown Table Converter
Turn CSV or TSV into a clean Markdown pipe table with alignment and a live preview.
Open tool
GeneratorMarkdown Table Generator
Editable grid, column alignment, paste from spreadsheet, live preview.
Open tool
ConverterHTML Table to CSV Converter
Extract HTML tables to RFC-4180 CSV with colspan, rowspan, and link handling.
Open tool
ConverterJSON to Markdown Table Converter
Turn JSON arrays and envelopes into a clean GFM markdown table.
Open tool
ConverterCSV to JSON Converter
Two-way CSV and JSON converter with delimiter and header controls.
Open tool
ConverterCSV Viewer
View any CSV as a sortable, filterable, paginated table.
Open tool