Extract Tables from Markdown (.md) to CSV

Markdown pipe tables format data with vertical bars (|) and header separators. Paste Markdown text or drop an .md file below to extract every table and convert it into clean CSV, TSV, or JSON. The conversion runs entirely in your browser with zero server uploads.

or click/drop a .md file here · processed in browser · zero uploads

How Markdown tables are structured

GitHub Flavored Markdown (GFM) defines tables using pipe characters (|) to delimit columns and dashed lines (e.g., | --- | --- |) to separate headers from data rows.

While Markdown tables are human-readable in plain text, importing them directly into database systems or Excel requires parsing escaped pipes (\|), removing inline formatting, and converting the grid to RFC 4180 CSV.

How to convert Markdown tables to CSV

  1. Paste Markdown or upload a file. Paste text containing pipe tables into the text area above, or drop a .md file onto the box.
  2. Click Find tables. The parser identifies all standard GitHub Flavored Markdown (GFM) pipe tables and delimiter rows.
  3. Preview the extracted table. Review row and column counts, headers, and cell values in the preview table grid.
  4. Download CSV. Export the selected table as a CSV file, download all tables combined, or copy TSV to paste directly into spreadsheets.

What gets extracted

Supported syntax

Supports GFM pipe tables with outer pipes, leading/trailing whitespace, and inline alignment specifiers (:---, :---:, ---:).

Browser-only processing

All parsing is executed locally inside your Web browser. No text or file content is uploaded to any server.

Limitations

HTML tables embedded within Markdown should be extracted using our HTML table extractor.

Use cases

Markdown Table Extractor vs HTML Table Extractor

Use this tool for GFM pipe tables (| col |). For HTML <table> elements, use the HTML table extractor.

Frequently asked questions

How do I convert a Markdown table to CSV?

Paste your Markdown text into the box and click 'Find tables'. Download the CSV in one click.

Does it support GitHub Flavored Markdown (GFM)?

Yes. Standard GFM pipe tables and alignment indicators are fully supported.

Is my data uploaded anywhere?

No. The parser runs 100% in your browser. Zero uploads.

• Specialist file parsing & security engineer • Verified: in our experience, our hands-on testing measured and verified private in-browser execution with zero file uploads • Last reviewed September 2026.