Skip to main content

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​

  1. Set dimensions β€” Pick rows Γ— columns (2Γ—2 to 50Γ—50). Or paste tab-separated text and the tool infers dimensions.
  2. Enter data β€” Spreadsheet-style cell editor. Header row optional. Per-column alignment (left, centre, right).
  3. Pick output format β€” HTML, Markdown, CSV, TSV, ASCII boxed, LaTeX, BBCode, JSON array of arrays / objects.
  4. 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.

Open the tool β†—


Last updated: 2026-05-06 Β· Author: Ahsan Mahmood Β· Edit this page on GitHub