md2 converter · Runs in your browser

Markdown tables to CSV

Standard CSV (RFC 4180) in UTF-8 with a BOM, which Excel opens directly with the right characters.

Open the studio

How it works

  1. Write or paste Markdown in the studio, or send it from a terminal or your agent.
  2. The md2 engine reads the document once and detects each paragraph's direction.
  3. A CSV file is built and downloads right away.

When to use it

  • Import tables into a database
  • Feed an analysis script with data from a document
  • Move a table into Google Sheets

Right-to-left Arabic

Arabic text is kept as written; the BOM stops Excel from guessing the wrong encoding.

Try it now

curl
curl -X POST https://md2.dev/v1/convert \
  -H "Content-Type: application/json" \
  -d '{"markdown":"# Report\n\nHello from md2","format":"csv"}' \
  -o document.csv
MCP tool
{
  "tool": "convert",
  "arguments": {
    "markdown": "# Report\n\nHello from md2",
    "format": "csv"
  }
}

Common questions

Why does Arabic sometimes break in CSV?
Excel assumes a legacy encoding without a BOM; our files always start with one.
What if the document has several tables?
They all come out in order with a blank line between them; for a file per table, use Excel.
Are cells starting with = safe?
Yes, they get a leading apostrophe so Excel never treats them as formulas.