CSV to Markdown table: convert CSV into a GitHub table
Convert CSV (comma, semicolon, tab or pipe, detected automatically; quoted fields supported) into a GitHub-flavoured Markdown table, with number columns right-aligned, pipes escaped and line breaks kept as <br>. Up to 100 KB. Use to show spreadsheet data in a README, chat reply, issue or report; for JSON use csv_to_json.
Inputs
| Name | Type | Description |
|---|---|---|
csv (required) | string | The CSV text (up to 100 KB) |
header | string | true (default) if the first row holds the column names |
Request
Over HTTP, with a card key from /credits:
curl -H "Authorization: Bearer adt_…" "https://agent-data-tools.revmesh2074.workers.dev/csv/to-markdown?csv=tool%2Cprice%2Ccalls%0Aweather%2C0.01%2C120%0Asearch%2C0.01%2C45"
Or one of your 25 free calls, no key:
curl "https://agent-data-tools.revmesh2074.workers.dev/csv/to-markdown?csv=tool%2Cprice%2Ccalls%0Aweather%2C0.01%2C120%0Asearch%2C0.01%2C45&trial=1"
Without a key, the same URL answers 402 Payment Required with x402 and MPP terms, so an agent with a wallet pays per call in USDC (Base, Polygon, Arbitrum or Solana over x402; Base or Tempo over MPP) and retries.
Example result
{
"markdown": "| tool | price | calls |\n| --- | ---: | ---: |\n| weather | 0.01 | 120 |\n| search | 0.01 | 45 |",
"rows": 2,
"columns": 3
}
From an AI agent (MCP)
Add the MCP server to Claude, Cursor or any MCP client. This tool is csv_to_markdown, and the first 25 successful calls are free:
https://agent-data-tools.revmesh2074.workers.dev/mcp