What the Table Generator does
The Table Generator makes clean, accessible HTML tables for websites, emails and blogs. Type into the grid or paste cells from Excel or Google Sheets, add a caption, set each column’s alignment, and pick a style: lines, grid, striped or plain. The preview shows the result, and the code includes header cells marked for screen readers and, if you like, the CSS.
How to use it
- Type or paste your data; resize with the row and column buttons.
- Set the caption and each column’s alignment.
- Choose a style and whether to include the CSS.
- Copy the HTML or download it as a page.
Example
The sample is a pricing table: Plan, Users, Storage and Price a month, with Starter at ₹199, Team at ₹999 and Business at ₹2,999. The numbers are centred and the prices right-aligned, so they line up. The Lines style puts a strong rule under the header and thin rules between rows.
Accessible tables
Use tables for data, not layout. A caption says what the table shows, and header cells with scope="col" let screen readers announce the column name with each value. Right-align numbers so their digits line up.
The CSS is short and inline, so the table looks right when pasted into a blog editor or email that allows a style block. Without the CSS, your site’s own table styles apply.
Questions people ask
Is my data uploaded?
No. Everything is worked out in your browser, and nothing you enter is kept once you close the page.
Can I paste from Excel?
Yes. Copy the cells, open Paste from a spreadsheet, paste and press Use this data.
How many rows can I add?
Up to 50 rows and 12 columns in the editor.
Will it work in emails?
Simple tables do. Some email apps ignore style blocks, so the Plain style or no CSS is safest there.