Developer tools
Table generator: HTML, CSV, Markdown and LaTeX
Generate a rectangular table with a caption and download it as HTML, CSV, Markdown or LaTeX text, with the HTML output escaped.
The example values can be changed. Press Calculate to update the result; you can download it as TXT or CSV and collect scenarios in this tab. Nothing is saved or sent automatically.
Result
Method:
Every row has the same number of cells; merged cells are not supported. HTML output is escaped, and the CSV puts every cell in quotes, so commas and quotation marks inside cells are safe.
Decimal results are approximate. Inputs stay in this browser tab.
How it works
Your entries are checked against the allowed ranges and written as ready-to-paste code: CSS keyframes, CSS Grid, an HTML form with labels, or a table as HTML, CSV, Markdown or LaTeX. Every row has the same number of cells; merged cells are not supported. HTML output is escaped, and the CSV puts every cell in quotes, so commas and quotation marks inside cells are safe.
Worked example
Editable example: data=[["Name", "Amount"], ["Example", "12"], ["Another", "8"]], caption=Own table, exportFormat=html
About this calculation
The table generator builds a bounded rectangular table from your data and turns it into text formats you can paste elsewhere. It is aimed at anyone who needs the same table as HTML for a web page, as CSV for a spreadsheet, as Markdown for documentation or as LaTeX for a typeset document. A matching CSS file can also be downloaded.
Data is entered as JSON rows with string values and decimal points. The worked example has a header row with Name and Amount and two rows, Example with 12 and Another with 8, under the caption Own table. A preview lets you check the escaped HTML before any download.
A text-only XLSX download puts the table on one worksheet and keeps every cell as text, including leading zeros, with no formulas, macros or external links. XML-invalid characters and literal _xHHHH_ sequences block only that XLSX file. Nothing is saved or sent automatically.
Frequently asked questions
How do I create an HTML table?
Enter the table data as rows of string values, add a caption and check the preview. The table generator escapes the HTML and lets you download the table as HTML, together with a CSS file.
Can I convert a table to Markdown or LaTeX?
Yes. The table generator downloads the same rectangular table as HTML, CSV, Markdown and LaTeX, so one entry gives four text formats.
Can the table generator export to Excel?
It offers a text-only XLSX with one worksheet, in which every cell is stored as text, including leading zeros and text that starts like a formula. There are no formulas, macros or external links.
How do I enter numbers in the table generator?
Table data is entered as JSON with string values and decimal points, for example a row with Example and 12. Empty strings are written as empty text cells.
Why is my XLSX export from the table generator refused?
Characters that are invalid in XML and literal _xHHHH_ sequences are refused for the XLSX export only. The other formats remain available.