table-generator
A table generator turns rows and columns of data into formatted output: HTML <table>, Markdown pipe-tables, CSV, TSV, ASCII / boxed text, LaTeX, and BBCode. Hand-typing markdown tables is tedious; HTML tables for emails are downright cursed. The ZTools Table Generator gives you a spreadsheet-like UI to enter data, then exports to any format with proper alignment, header rows, and (where applicable) styling.
Use casesβ
Markdown tables for README / GitHubβ
Pipe syntax is unforgiving β one missing | breaks the whole table. Generator handles alignment, padding, escaping for you.
HTML tables for emailβ
Email clients require <table>-based layout. Generator emits Outlook-safe markup with inlined styles.
Quick CSV from a listβ
Paste rows separated by tabs (e.g. from a spreadsheet); generator outputs CSV with correct quoting and escaping.
LaTeX for academic papersβ
\begin{tabular}{lcr} ... β the syntax is exacting. Generator produces compileable LaTeX with column alignment.
How it worksβ
- Set dimensions β Pick rows Γ columns (2Γ2 to 50Γ50). Or paste tab-separated text and the tool infers dimensions.
- Enter data β Spreadsheet-style cell editor. Header row optional. Per-column alignment (left, centre, right).
- Pick output format β HTML, Markdown, CSV, TSV, ASCII boxed, LaTeX, BBCode, JSON array of arrays / objects.
- Copy or download β Output ready to paste. CSV downloads as .csv; HTML as .html.
Examplesβ
Input: 3Γ3 with header: Name, Age, City; rows: Alice 30 NYC, Bob 25 LA, Carol 28 SF
Output: Markdown:\n| Name | Age | City |\n|-------|-----|------|\n| Alice | 30 | NYC |\n| Bob | 25 | LA |\n| Carol | 28 | SF |
Input: Same as HTML
Output: <table><thead><tr><th>Name</th>...</tr></thead><tbody><tr><td>Alice</td>...</tr>...</tbody></table>
Input: ASCII boxed
Output: +-------+-----+------+\n| Name | Age | City |\n+-------+-----+------+\n| Alice | 30 | NYC |\n| Bob | 25 | LA |\n+-------+-----+------+
Frequently asked questionsβ
Can I import from CSV?
Yes β paste CSV (any delimiter); tool parses and loads into the editor.
Markdown alignment syntax?
Left :--, centre :-:, right --:. Generator produces correct alignment markers per column.
Does HTML output include styling?
Optional. Toggle "include CSS" for an inline-styled table that renders consistently in email clients.
Max table size?
50Γ50 in the editor; 1000+ rows in CSV-paste mode. Browser memory is the ceiling.
Privacy?
All generation in browser.
Tipsβ
- For Markdown tables, keep cells short β wide tables overflow on mobile READMEs.
- For HTML email tables, always inline styles β most clients strip <style> blocks.
- For LaTeX, use the booktabs package equivalent (\toprule \midrule \bottomrule) for cleaner output. Toggle "booktabs style".
- Paste data from Google Sheets / Excel directly β copy includes tabs that the tool parses correctly.
Try it nowβ
The full table-generator runs in your browser at https://ztools.zaions.com/table-generator β no signup, no upload, no data leaves your device.
Last updated: 2026-05-06 Β· Author: Ahsan Mahmood Β· Edit this page on GitHub