Monu Tools

CSV ⇄ Markdown Table Converter

Convert CSV to a Markdown table and Markdown tables back to CSV, both directions.

How to use the Markdown Table

  1. 01

    Paste your CSV, with the first row as the header.

  2. 02

    Pick the delimiter and the column alignment.

  3. 03

    Copy the generated Markdown table.

What it does

This tool converts CSV data into a clean Markdown table you can drop into READMEs, issues, wikis and documentation, and converts Markdown tables back into CSV. The first row becomes the header, and you can set the column alignment.

Writing Markdown tables by hand is fiddly: every row needs the right number of pipes and the alignment divider has to line up. Pasting CSV and getting a correct table back removes all of that busywork.

Everything is processed locally in your browser; nothing you paste leaves your device.

The CSV it reads

It reads standard CSV with comma, semicolon or tab delimiters and handles quoted fields, so data exported from a spreadsheet converts without breaking on commas inside values.

The Markdown it produces

The output is a GitHub-Flavored Markdown table: a header row, an alignment divider, then the data rows. It renders in GitHub, GitLab, most wikis and Markdown editors.

Alignment and escaping

Alignment is written into the divider row using colons, :--- for left, :---: for center and ---: for right, which Markdown renderers use to align each column. Pipe characters in the data are escaped and line breaks inside cells are flattened so the table always stays valid.

Frequently asked questions

What format is the output?

A GitHub-flavored Markdown table: a header row, an alignment divider, then the data rows. It renders in GitHub, most wikis and Markdown editors.

How does alignment work?

The alignment you choose is written into the divider row using colons (:--- left, :---: center, ---: right), which Markdown renderers use to align every column.

What about commas or pipes inside cells?

Quoted CSV fields are parsed correctly, and any pipe characters in the data are escaped so the table stays valid. Line breaks inside cells are flattened to spaces.

Can I convert a Markdown table back to CSV?

Yes. The converter works both ways, so you can paste a Markdown table and get clean CSV out, ready for a spreadsheet.

Is my data uploaded?

No. The table is generated entirely in your browser; nothing you paste leaves your device.

Sources

Embed this tool

Add this tool to your own website. Copy the snippet below; it stays up to date automatically.

<iframe src="https://monu.tools/embed/en/markdown-table-converter" width="100%" height="640" style="border:1px solid #e5e5e5;border-radius:12px;max-width:680px" loading="lazy" title="Monu Tools"></iframe>

Learn more

Related tools