DataFmt

CSV to Markdown

Turn a CSV table into a GitHub-flavoured Markdown table ready to paste.

Drag & drop a file here, or click to upload
Options:

About this tool

Markdown tables show up everywhere modern technical writing happens: GitHub READMEs, GitLab wikis, Notion pages, product spec documents and knowledge bases. Unlike screenshots, a Markdown table keeps its data searchable, copy-friendly and re-usable.

Hand-writing Markdown tables is, however, surprisingly painful — every column needs the right number of pipes and dashes, and a single misalignment can break the whole block. DataFmt's CSV to Markdown tool turns a pasted CSV (or uploaded .csv file) into a well-formed Markdown table in one click.

Pipe characters, embedded newlines and backslashes inside your data are automatically escaped, so the output renders correctly in every major GFM-compatible viewer.

How to use

  1. Paste CSV text into the input panel or upload a .csv file.
  2. Keep "First row is header" on if your CSV already has a header row.
  3. Click "Convert" to see the Markdown table on the right.
  4. Use "Copy" to drop it into your document, or "Download" to save as .md.

Use cases

Notes

Frequently Asked Questions

Which Markdown flavour is produced?
The output uses the GitHub Flavoured Markdown (GFM) table syntax, which renders correctly on GitHub, GitLab, Notion, Obsidian, VS Code preview and most other platforms.
What if my CSV has no header row?
Turn off "First row is header" and we will generate placeholder headers (Column 1, Column 2, …) to satisfy the Markdown requirement that every table has a header row.
Why are numbers shown as text?
Markdown tables do not track types — every cell is text. Use CSV → JSON if you need typed, queryable data.
How do I right-align a column?
Edit the separator line (for example `| --- |`) and replace the target column's dashes with `---:` for right alignment or `:---:` for centre.
Will wide tables overflow on mobile?
That depends on the platform rendering the Markdown. Most wrap the table in a horizontal scroller; otherwise consider reducing the number of columns.