HTML table generator
Processed in your browser · nothing is uploaded
Turns pasted CSV into a proper HTML table with `thead` and `tbody`, every cell escaped, and an optional wrapper that scrolls sideways when the table is wider than its column.
How to use the html table generator
Escaping is the reason to generate rather than hand-write. A cell containing <, & or a quote produces broken markup when pasted straight in, and the failure is silent: the browser recovers, the page renders, and one cell has quietly eaten the rest of the row.
The thead and tbody split is not decoration. A screen reader uses th elements to announce which column a cell belongs to as the user moves through the table, so a table built entirely from td is navigable only by someone who can see it. thead also lets the browser repeat the header when a table breaks across printed pages.
The scrolling wrapper solves the layout problem every wide table has: a table will not shrink below the width of its content, so a wide one pushes the whole page sideways. Wrapping it in a block with overflow-x: auto confines the scroll to the table, which is what this site does with its own article tables.
Questions
A cell containing <, & or a quote produces broken markup by hand, and the failure is silent.
Screen readers use th elements to announce the column for each cell, and browsers repeat thead when printing across pages.
Wraps the table in a block with overflow-x: auto, so a wide table scrolls itself instead of pushing the page sideways.
Yes; copy the range and paste. The tab separator is handled.
No. Everything runs in your browser, which matters when the file holds credentials or customer data.