CSV and Markdown Table Converter

Live

CSV and Markdown Table Converter turns CSV into a Markdown table, or a Markdown table back into CSV.

Runs in your browser: what you enter is processed on your device and not uploaded to MyToolDock.

What is CSV and Markdown Table Converter?

CSV and Markdown Table Converter turns CSV into a Markdown table, or a Markdown table back into CSV. Pipes inside cells are escaped and line breaks become <br>. Markdown tables cannot merge cells.

How It Works

  1. Enter pasted CSV or a Markdown table, or a file in the input fields on this page.
  2. Press the button to run CSV and Markdown Table Converter.
  3. Read a Markdown table you can paste into GitHub, a wiki or a README, or a CSV in the result area, and copy or download it.

Common Uses

Good to Know

Choose Line up the columns to make the table readable in a text editor.

How it works

To make a Markdown table, paste CSV or choose a file. Pick the alignment, whether to line the columns up so the table is readable as plain text, and whether the first row is the header. Copy the table or download it as a .md file.

To go back, switch to Markdown table to CSV and paste a table. Escaped pipes become pipes again, <br> becomes a line break, and the line of dashes under the header is removed.

Worked example

120 random tables with pipes, backslashes, quotes, commas, accents, Japanese text, empty cells and line breaks were converted to Markdown and rendered with markdown-it. The rendered cells matched the CSV, and the alignment matched each option. Converting the Markdown back to CSV gave the original table every time. Hand-written tables with no outer pipes, ragged rows and escaped pipes were checked too.

Limits

Pipes and backslashes inside cells are escaped, and line breaks become <br>. Characters that Markdown treats as formatting, such as * and _, are left alone, so they may show as italics or bold where the table is displayed. Markdown tables cannot merge cells. Up to 5 million characters.

Frequently Asked Questions

How do I get a table I can paste into GitHub?

Paste your CSV, leave the options as they are and press Copy result.

Why did a row with one empty cell disappear?

Blank lines at the end of a CSV are ignored, so a last row with a single empty cell is not kept.

Is my data uploaded?

No. It is converted in your browser.

What does CSV and Markdown Table Converter do?

CSV and Markdown Table Converter turns CSV into a Markdown table, or a Markdown table back into CSV. Pipes inside cells are escaped and line breaks become <br>. Markdown tables cannot merge cells.

What do I need to enter in CSV and Markdown Table Converter?

Pasted CSV or a Markdown table, or a file.

Is my data private in CSV and Markdown Table Converter?

Nothing is uploaded.

Is MyToolDock CSV and Markdown Table Converter free to use?

Yes, MyToolDock CSV and Markdown Table Converter is 100% free with no registration, subscriptions, or limits. All features are fully unlocked.

Where can I learn more about CSV and Markdown Table Converter and related workflows?

MyToolDock publishes written guides on the topic: CSV to JSON: Simplifying Web Data Imports; Markdown to HTML: Speeding Up Publishing. Each guide links back to the tools it covers.

Related Tools

CSV to HTML Table Converter HTML Table to CSV Converter Markdown Table Generator CSV to Excel Converter Celsius to Fahrenheit Converter CSV to JSON

Guides

More in Converter Tools · Browse all tools

Developer Scratchpad

Copied to clipboard!