Convert CSV to Markdown
Paste CSV and get Markdown back. Free, no signup, and nothing you paste is stored. The same conversion is available as an API call and to AI agents over MCP.
Input
Result
Fill in the input and press Run.
Your input is processed in memory and then discarded. It is not stored or logged. Even so, don't paste live passwords or keys into any online tool.
How to convert CSV to Markdown
- Paste your CSV into the input box.
- Press Run.
- Copy the Markdown or download it as a file.
This page runs the csv to markdown table tool. Open the tool itself for every option.
What happens in this conversion
- What you get
- A table you can paste into a README, an issue or a chat message. The first row becomes the header.
- Details
- A pipe character inside a value is escaped so it does not break the table. You can align columns left, right or centre.
CSV and Markdown compared
| Format | What it is | Best for | Watch out for |
|---|---|---|---|
| CSV CSV table | CSV is a plain table: one row per line, values separated by commas. Every spreadsheet and database reads and writes it. | Tables moved between spreadsheets, databases and scripts. | It is flat: one table, no nesting, and every value is text. |
| Markdown Markdown text | Markdown is plain text with light marks for headings, lists, links and tables. GitHub, documentation sites, note apps and chat tools show it formatted, and it is the form AI models read most reliably. | Readmes, notes, documentation and text handed to an ai model. | It has no page layout: fonts, colours, columns and exact positions cannot be expressed. |
Use it from code or an agent
curl -s https://setget.net/v1/tools/csv-to-markdown-table \
-H 'Content-Type: application/json' \
-d '{"input":{"text":"name,age\nSam,31"}}'
import json, urllib.request
body = {'input': {'text': 'name,age\nSam,31'}}
request = urllib.request.Request("https://setget.net/v1/tools/csv-to-markdown-table", json.dumps(body).encode(),
{"Content-Type": "application/json"})
print(json.load(urllib.request.urlopen(request))["result"])
const response = await fetch("https://setget.net/v1/tools/csv-to-markdown-table", {
method: "POST",
headers: {"Content-Type": "application/json"},
body: JSON.stringify({"input":{"text":"name,age\nSam,31"}}),
});
console.log((await response.json()).result);
Tool: run_tool
Arguments:
{
"slug": "csv-to-markdown-table",
"input": {
"text": "name,age\nSam,31"
}
}
{
"input": {
"text": "name,age\nSam,31"
}
}
Endpoint: POST /v1/tools/csv-to-markdown-table. Over MCP: run_tool with slug: "csv-to-markdown-table".
Machine-readable: input schema, Markdown. Connect an agent.
Inputs
| Name | Type | Required | What it does |
|---|---|---|---|
text |
string | yes | The CSV to convert. |
delimiter |
string | no | Column separator. "auto" detects it from the first line. One of: auto, comma, tab, semicolon, pipe. Default: "auto". |
align |
string | no | Column alignment. One of: none, left, center, right. Default: "none". |
Questions
- Is my CSV stored anywhere?
- No. It is converted in memory and discarded. It is not saved or logged.
- How much CSV can I convert at once?
- Up to 1 MiB in a single request.
- Can a script or an AI agent convert CSV to Markdown?
- Yes. Call POST https://setget.net/v1/tools/csv-to-markdown-table with JSON, or use the run_tool tool of the SetGet MCP server with slug "csv-to-markdown-table". The code samples on this page are ready to copy.
More conversions
Related tools
- CSV to JSONTurn CSV rows into a JSON array of objects, detecting numbers, booleans and blanks.
csv-to-json - JSON to CSVTurn a JSON array of objects into CSV. Nested objects become dotted column names.
json-to-csv - .env to JSONParse a .env file into a JSON object, handling quotes, comments and "export" prefixes.
env-to-json - CSV profilerSummarise each CSV column: type, blanks, distinct values, min, max, mean and top values.
csv-profile - CSV sort, filter and dedupeSort CSV by a column, keep rows containing some text, pick columns and remove duplicate rows.
csv-sort-filter-dedupe - CSV transposeSwap the rows and columns of a CSV table.
csv-transpose