Loona Automation logoLoona Developer Tools
Home › Data Converters

Markdown Table to CSV Converter

In short: paste a Markdown table from a README or document and get clean CSV — the separator row removed, cells trimmed, fields quoted where CSV requires it.
🔒 Private by design: everything runs in your browser on this device. Your input is never uploaded to a server.

Example

Input:

| name | age |
| --- | --- |
| Ali | 30 |

Output:

name,age
Ali,30

About this converter

Markdown tables live in READMEs, docs and issue comments; the data inside them regularly needs to escape into a spreadsheet. The converter splits rows on pipes (handling the optional outer pipes), recognizes and discards the --- alignment row (including :--- and ---: variants), trims cell padding, and writes proper CSV with quoting where a cell contains a comma or quote. Its honest limitation is Markdown's own: a literal pipe inside a cell must be escaped as \| in the source, and merged/multi-line cells do not exist in Markdown tables, so nothing is lost that was ever there.

Frequently Asked Questions

What happens to the |---|---| row?

It is the alignment definition, not data, and is removed.

Can a cell contain a comma?

Yes — the CSV writer quotes it ("a, b") so spreadsheet tools keep it in one cell.

Related Developer Tools

Embed this tool on your website — free

Add this tool to your own website or blog — it is completely free, needs no sign-up, and always shows the latest version. Copy the code below and paste it into your page where you want the tool to appear. Keeping the small “Powered by Loona Automation” credit line under the embed helps keep this tool free — but you are free to style or remove it; the tool works either way.