Table Generator
Fill in a spreadsheet-style grid — or paste from Excel — and get the table as HTML, Markdown, CSV, JSON or LaTeX.
Click any cell and paste from Excel, Numbers or Google Sheets — rows and columns are created automatically. Click a row number or the ✕ above a column to delete it.
Preview
—
How to build a table
- Click a cell and type. Use the buttons to add or remove rows and columns, and the ← ↔ → arrows in the grey bar to set each column's alignment.
- Or copy a block of cells straight out of Excel, Numbers or Google Sheets and paste it into the grid — the rows and columns are created for you.
- Switch between HTML, Markdown, CSV, JSON and LaTeX at the bottom, then copy the code or download it as a file.
FAQ
How does pasting from Excel work?
Spreadsheets put tab-separated text on the clipboard. Paste anywhere in the grid and each tab starts a new column and each line a new row, growing the table if the block is bigger than the current one. Commas are treated as text, so prices and thousands separators survive.
What exactly does the HTML look like?
A plain semantic table: an optional <thead> with <th scope="col"> cells, a <tbody>, per-column text-align only where you set one, and the class name you type in the box. No inline styling beyond that, so your own CSS stays in charge.
Which Markdown flavour is generated?
GitHub Flavored Markdown pipe tables, with the columns padded so the source stays readable and the :--- / :---: / ---: separator reflecting each column's alignment. Pipes inside a cell are escaped automatically.