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