Contact

Tools  /  Generators  /  Markdown Table Generator

Markdown Table Generator

Turn CSV, TSV, JSON or a pasted table into a clean Markdown table — with per-column alignment, aligned padding, escaping, sort, transpose, a live rendered preview and copy / download.

What this tool does

It reads tabular data in several formats and writes a Markdown table, aligned so the raw text lines up in a monospaced editor. A live preview shows how the table renders.

Input it understands

CSV and TSV (with quoted fields), a delimiter it auto-detects, a JSON array of objects (keys become the header), a JSON array of arrays, and an existing Markdown or HTML table pasted straight back in — so you can reformat or re-align a table you already have.

Alignment

Each column can be left, centre or right aligned, which is written into the separator row as :---, :--: or ---:. Click a column in the preview to cycle its alignment.

Options

Pad cells so columns line up in source (or compact |a|b|), keep or drop the outer pipes, bold the header row, escape literal | inside cells, sort by any column, and transpose rows and columns.

Privacy

Everything runs in your browser. Nothing is uploaded.

Frequently asked questions

Is my data sent anywhere?
No. Parsing and formatting happen entirely in your browser.
Can I paste a table I already have?
Yes. Paste an existing Markdown table or an HTML and it is parsed back into rows, so you can re-align or reformat it.
How do I set column alignment?
Use the per-column alignment control, or click a column header in the live preview to cycle left → centre → right.
What does compact mode do?
It removes the padding spaces, producing the smallest valid Markdown table. GitHub renders it identically to the padded version.
Does it handle commas inside quoted CSV fields?
Yes. The CSV parser honours double-quoted fields and escaped "" quotes.
Theme Accent