build an HTML table by handDeveloper Tools
Turns a grid or pasted spreadsheet data into accessible HTML table code.
This CSV to HTML table converter turns spreadsheet data into table markup you can paste into a web page. The header row becomes a proper thead, every cell is escaped, and a preview shows the finished table.
The CSV is parsed by the RFC 4180 rules. The first row becomes <thead> with <th scope="col"> cells so screen readers announce column names. The rest goes into <tbody>. Characters such as < and & are escaped, so data can never turn into markup.
Name,Age / Ana,34 → a table with <th scope="col">Name</th> in the head and one body row.Screen readers rely on header cells to tell users which column a value belongs to. Use a header row, add scope="col" (this tool does), and give the table a caption that says what it shows. Avoid tables for layout; use them only for data with rows and columns.
Paste the CSV, keep "First row is the header" on, and copy the generated table code.
Yes. Every cell is escaped, so no scripts or tags from the data end up in the markup.
Turn on "Add minimal CSS" for borders and stripes, or set a class name and style it with your own CSS.
Often used together with the CSV to HTML Table.
Turns a grid or pasted spreadsheet data into accessible HTML table code.
Turns a CSV table into an array of JSON objects.
CSV to CREATE TABLE and INSERT statements.