Skip to content
PithLab

↑↓ to move · Enter to open · Esc to close

Markdown Table Generator API

Turn CSV, TSV or an existing Markdown table into a tidy GitHub-flavoured Markdown table, with column alignment and padded columns. The first row is the header.

POST /api/v1/tools/markdown-table-generatorMCP markdown_table_generatorData & Conversion

Build Markdown tables in an editable grid or from pasted CSV and TSV. Set column alignment, escape pipes and get neatly aligned output, even with CJK and emoji.

Input

Send these as a JSON object. Unknown fields are rejected.

input
CSV or TSV (delimiter detected), or a Markdown table to reformat. (string, required)
delimiter
Delimiter for CSV input: "auto" to detect, or a single character. (string, up to 4 characters, default "auto")
align
Comma-separated alignment per column: none, left, center or right, e.g. "left,right". Missing columns keep the alignment read from a Markdown input (or none). (string, up to 2000 characters, default "")
pretty
Pad cells so the columns line up in plain text. (boolean, default true)
escapePipes
Escape | inside cells as \| so it doesn't split the cell. (boolean, default true)
curl https://pithlab.com/api/v1/tools/markdown-table-generator \n  -H "Authorization: Bearer $PITHLAB_KEY" \n  -H "Content-Type: application/json" \n  -d '{"input":"Plan,Price,Requests\nFree,0,100\nPro,9,10000","align":"left,right,right"}'