CSV to Markdown Table Converter - and Markdown to CSV

AdSense Placeholder
Slot: header_tool

CSV to Markdown Table

Turn spreadsheet data into a tidy Markdown table, or back into CSV

AdSense Placeholder
Slot: tool_mid_article

Paste and Convert

Copy cells straight from a spreadsheet (tab-separated) or paste CSV, and the Markdown table appears as you type.

Alignment Your Way

Left, centre, right or automatic, where number columns are right-aligned. The text columns line up too.

Both Directions

Convert a Markdown table back into CSV, TSV or semicolon-separated data with proper quoting.

Full Privacy

Your data is converted in your browser and never uploaded.

Markdown Tables in Brief

A GitHub-flavoured Markdown table is rows of cells separated by pipes, with a second row of dashes that marks the header and sets alignment: :--- for left, :---: for centre and ---: for right. This tool writes that for you, escaping any pipe inside a cell as \| and turning line breaks in cells into <br>, because a table row must stay on one line.

CSV is read the standard way: fields may be wrapped in double quotes, a doubled quote stands for one quote, and quoted fields may contain the delimiter or line breaks. If rows have different numbers of fields the shorter ones are padded with empty cells. Markdown tables cannot hold block content such as lists inside cells, and column widths in the text do not affect how the table is displayed.

Key Takeaways

  • Auto-detect: Recognises commas, semicolons, tabs and pipes, or set the delimiter yourself.
  • Safe cells: Pipes are escaped and line breaks become <br> so the table never breaks.
  • Related tools: See also CSV to JSON, CSV to TSV and the Markdown Previewer.
AdSense Placeholder
Slot: footer_leaderboard