Hashdraft
← All free tools
csv ↔ md

CSV to Markdown table

Paste CSV — or copy cells straight from Excel or Google Sheets — and get a clean Markdown table. Switch direction to turn a Markdown table back into CSV. Runs entirely in your browser.

CSV / TSV


Building a table by hand?

Try the Table generator, or edit tables live in the desktop app.

Download Hashdraft

CSV and Markdown tables

Turn spreadsheet data into a clean Markdown table

The CSV to Markdown converter transforms comma-, semicolon-, or tab-separated rows into readable pipe-table syntax. It can also reverse the process, so a table copied from a README can become a CSV file for Excel, Google Sheets, or another data tool.

Recognizes common delimiters

Paste CSV, TSV, or semicolon-separated data. The converter detects the separator and understands quoted fields, including values that contain the delimiter.

Controls the header

Use the first row as column headings or generate neutral column names when the source has no header. Missing cells are padded so the output remains a valid table.

Sets table alignment

Choose left, center, or right alignment and get a neatly padded Markdown source table that is easier to review in version control.

How to convert CSV to Markdown

  1. Paste rows from a CSV file or spreadsheet into the input panel.
  2. Confirm whether the first row contains headings and choose the desired column alignment.
  3. Preview the rendered table, then copy the Markdown or download it as a .md file.

CSV to Markdown questions

What happens to line breaks inside cells?

Cell line breaks are flattened to spaces because standard Markdown tables represent each record on a single source line.

Are pipe characters escaped?

Yes. Literal | characters inside CSV values are escaped so they do not create accidental Markdown columns.

Hashdraft for Windows

Edit tables in context, not in a separate tab

Open the destination Markdown file, see tables render as you type, and keep the source beside the finished document in synchronized Split mode.

  • Native rendering for Markdown tables and task lists
  • Syntax highlighting and document statistics
  • Local PDF and standalone HTML export
Hashdraft desktop Markdown editor showing source and rendered preview in Split mode