Excel/CSV to HTML table
Parse TSV, CSV, or custom-delimited text into escaped HTML table code.
Runs in your browserEvery computation happens in your browser — your data never leaves this device.
HTML table code
Generated locally with HTML characters escaped; displayed as code, never executed.
Enter data to see results
What this tool does
- Copy a block of cells from Excel, Numbers or Google Sheets, paste it here and get table markup you can embed directly
- Handle quoted CSV properly: commas, double quotes (escaped as "") and line breaks inside quoted fields stay in one cell
- Check the row/column counters before copying or downloading table.html, so a shifted column shows up early
Example
Input
Name Age Alice 20
Output
<table> <tr><th>Name</th><th>Age</th></tr> <tr><td>Alice</td><td>20</td></tr> </table>
The first row becomes th by default, and cell content is escaped (& < > " ') so pasting the markup cannot execute anything.
Frequently asked questions
Can it read .xlsx files directly?
No. This tool works on text only: select a range in Excel and copy it (Excel puts tab-separated TSV on the clipboard), or paste CSV text. Spreadsheet file formats and formulas are outside what a local text tool can handle.
Which CSV conventions are supported, and where are the limits?
Quoted fields, escaped quotes (""), line breaks inside quotes and both CRLF and LF endings are supported, and a leading UTF-8 BOM is stripped. Every row must have the same number of columns, otherwise the tool reports inconsistent columns; an unclosed quote or stray characters after a closing quote are reported as errors instead of guessed. The delimiter must be a single character and cannot be a double quote or a line break.
Is the first row always a header?
Yes by default: the first row becomes <th> and later rows use <td>. Clear the "first row as header" checkbox and every cell becomes <td>. No border, class or style attributes are added, so you can style the table yourself.
Is there an input size limit?
Up to 2,000,000 characters per run (roughly a few hundred KB of text); larger input is refused. The output is plain, uncompressed markup, so split very large sheets into chunks.
Is the data uploaded?
No. Parsing, escaping and markup generation all happen locally in the browser with no network calls and no storage; copy the code or download table.html.
Keywords:ExcelTSVCSVHTMLtableconverter