table).Hand-writing <table> markup row by row is tedious — this generator turns the same data you'd paste into a spreadsheet into a complete, semantic HTML table in one click. The first row becomes <th> headers (or stays as data if you untick the option), striping is applied to alternate rows via inline styles, and the table picks up whatever CSS class you supply so your existing stylesheet can take over the visual design.
Each line of the input is split on commas into cells; the cell text is HTML-escaped (so <, > and & render literally) and wrapped in <th> for the header row or <td> for body rows. Borders and striping are added as inline style attributes so the output looks the same when pasted into any page, regardless of stylesheet.
<th> for header cells, <td> for body cellsOne row per line, columns separated by commas — exactly what Excel or Google Sheets exports as CSV. The first row is treated as the header by default and emitted as <th> cells; toggle "First row as header" off if your data has no header line.
This generator splits on commas with no quoted-field handling, so values containing commas need to be cleaned up first. Replace internal commas with another character (semicolon or pipe) before pasting, or escape them in your spreadsheet export.
Yes — set the CSS class field to whatever your stylesheet uses (e.g. pricing, data-table). The output puts that class on the <table> element so your existing CSS picks it up automatically. Borders and striped rows are emitted as inline styles for portability.
The output uses semantic <table>, <tr>, <th> and <td> tags so screen readers can announce headers and cells correctly. For full accessibility, wrap the result in <thead>/<tbody> by hand and add a <caption> describing what the table contains.
Pair with the CSV to JSON Converter or the Markdown Table Generator when you need a different output format.