Convert MD to CSV
Turn MD files into CSV files. Each pipe table becomes one CSV file, named after its caption or Table 1, Table 2 and so on, with its header row first.
Converted in an isolated sandbox on our serversDeleted after 24 hours
Drop MD files on the dialor turn it to pick what to do
Every pipe table becomes a CSV file.Each table gets its own file, with its header row first.
What you get
One CSV file for each pipe table in the Markdown file. A file with three tables gives you three CSV files.
Each file is named after the table's caption. A table without a caption is named Table 1, Table 2 and so on. The header row comes first, followed by the rows of the table.
What changes in the cells
Links, emphasis and code keep only their text. The link address, the bold or italic marks and the code marks are not written to the CSV.
A cell that spans several rows or columns keeps its text in its first cell. The other cells it covers are left empty.
A line break inside a cell stays in the file, inside a quoted field. The row does not split.
Going the other way
To turn a CSV file back into a table, use CSV to MD. To join several CSV files into one first, use merge CSV.
MD and CSV.What each format is.
The formats
Markdown
Plain text with light markup for headings, lists, links and code. What agents and developers write in.
- Extensions
- .md .markdown .mdown
- MIME type
- text
/markdown - Kind
- Text and data
CSV
Rows of comma-separated values. The plainest way to move a table between programs.
- Extensions
- .csv
- MIME type
- text
/csv - Kind
- Text and data
In your code.The same MD to CSV conversion through the API, for your app or your agent.
$ cv convert report.md report/ --to csv$ cv convert report.md report/ --to csvQuestions.What people ask about MD to CSV.
Yes. Each pipe table becomes its own CSV file, so the output is one or more files.
A table with a caption is named after the caption. Other tables are named Table 1, Table 2 and so on.
Only the text is kept. The link address and the emphasis or code marks are dropped.
Its text stays in the first cell it covers. The other cells are left empty.