Tool guide
About this tool.
A table has a header row and data rows. Markdown (GitHub flavor) writes it with pipes and a rule row under the header: :--- aligns left, :---: centers and ---: aligns right. HTML uses table, thead, tbody, tr, th and td. The two text styles draw the grid with + - | or with Unicode box characters.
This tool reads CSV or JSON and writes any of the four. Columns are padded to the widest cell so the source stays readable.
Auto treats input starting with [ or { as JSON and everything else as CSV. In CSV the first record is the header unless you turn that off; then the columns are named Column 1, Column 2 and so on. Short rows are padded with empty cells.
JSON is an array of objects, whose keys in first-seen order become the columns, or an array of arrays, whose first array is the header. Strings are written as they decode; numbers, null, booleans, arrays and objects are written as compact JSON, keeping number spelling such as 1.50.
Paste CSV or JSON as the main input.
Choose the input type, or keep Auto, and the output: Markdown, HTML, ASCII or Unicode.
Pick one alignment for all columns. For CSV, say whether the first row is the header.
Run the tool, then copy the result or save it as table.md, table.html or table.txt.
- name,age and Ada,36 → a two-column Markdown table with a :--- rule row.
- [{"a":1},{"b":2}] → columns a and b, with an empty cell where a key is missing.
- A cell x|y in Markdown → x|y, so the pipe does not split the column.
- A cell <b> in HTML → <b>.
- A cell with a line break → x<br>y in Markdown and HTML, and x y in the text tables.
- Processing is local; nothing is uploaded.
- Limits: 5,000,000 characters of input, 100,000 rows, 1,000 columns, 1,000,000 cells and 20,000,000 characters of output.
- Text table widths count code points, so wide CJK and emoji characters misalign.
- The delimiter is a comma; use CSV Delimiter Converter first for semicolon or tab files. There are no spreadsheet formulas or Markdown to HTML table import.
- A duplicate JSON object key keeps its last value, as JSON.parse does, and the summary names the key and line.