HTML table generator
Copy the spreadsheet cells and paste them here. The first row becomes the header. Choose the style, check the preview and copy the code.
How to useSpreadsheet to HTML table
HTML table generator: what it is for
Paste cells copied from a spreadsheet (tab-separated) or a CSV with commas or semicolons, with support for quotes. The first row can be the header, and columns with only numbers or prices are right-aligned.
Choose the style (striped, bordered, minimal or HTML only), the header color and a caption. The table comes inside a horizontally scrolling block for phones, with thead and th scope=col.
How to use
- Copy the spreadsheet cells and paste them.
- Choose style, color and caption.
- Copy the code and paste it into the page.
When to use it
- Pricing and plan tables.
- Schedules, menus and product lists.
- Comparisons in blog posts.
Frequently asked questions
How do I paste from Excel or Google Sheets?
Select the cells, copy (Ctrl+C) and paste into the field. The columns come separated by tabs and the tool detects that on its own. It also accepts CSV with commas or semicolons.
Does the table work on phones?
Yes. The code wraps the table in a horizontally scrolling block, so wide tables scroll sideways without breaking the page layout.
Is the table accessible?
The header uses <thead> and <th scope="col">, and you can add a caption (<caption>), which helps screen readers and search engines understand the content.
Is it really free?
Yes, 100% free. No sign-up, no subscription and no usage limits. All Tools123 tools are free and run right in your browser.