CSV to HTML Table Generator
Turn CSV or TSV into an HTML table for a website or document. Paste your data or choose a file to see a live preview. Conversion runs in your browser, and your data stays on your device.
Table preview
How to convert CSV to an HTML table
- Paste your CSV or TSV, or choose a UTF-8 file. Select a delimiter if the preview shows the wrong columns.
- Keep the header option on if your first row contains column names. Add a caption or turn on borders and alternating row colors if needed.
- Choose Copy HTML for a table snippet, or download a standalone HTML file.
FAQ
Can a cell contain a comma or a line break? Yes. Put double quotes around fields containing a delimiter or line break and double any quotes inside the field. Quoted line breaks appear as <br> in the HTML.
What happens to HTML inside a cell? Tags and special characters are escaped so they appear as literal text when the table is rendered.
Does the export include every row? Yes. The preview shows up to 100 rows, and both the copied HTML and the download include the full table.
Related tools include the HTML table to CSV converter and TableGrab for exporting tables from web pages.