Paste table HTML
Copy a table element or HTML source containing a table. Up to 1 MB is accepted. Scripts, images and styles are never loaded from the pasted input.
Extract a selected HTML table into quoted CSV, expand merged cells and protect spreadsheet formula values without uploading your data.
Your result will appear here
CSV contains plain cell text. Styling, links and scripts are not exported.
HTML Table to CSV Converter is a free online developer tool from GigaTools. Extract a selected HTML table into quoted CSV, expand merged cells and protect spreadsheet formula values without uploading your data. It runs entirely in your web browser, so nothing is uploaded and it works on any device without installing software.
How it works
Copy a table element or HTML source containing a table. Up to 1 MB is accepted. Scripts, images and styles are never loaded from the pasted input.
Choose the top-level table number. Formula protection is on by default and prefixes risky spreadsheet values with an apostrophe; turn it off only when exact raw values are needed.
Review row and column counts, then copy or download the quoted UTF-8 CSV. Downloads include a byte order mark for spreadsheet compatibility. Check the import settings in your spreadsheet application.
FAQ
1. Paste table HTML: Copy a table element or HTML source containing a table. Up to 1 MB is accepted. Scripts, images and styles are never loaded from the pasted input. 2. Select the table and formula protection: Choose the top-level table number. Formula protection is on by default and prefixes risky spreadsheet values with an apostrophe; turn it off only when exact raw values are needed. 3. Download and check the CSV: Review row and column counts, then copy or download the quoted UTF-8 CSV. Downloads include a byte order mark for spreadsheet compatibility. Check the import settings in your spreadsheet application.
The first cell keeps the text and covered cells become empty CSV fields. Explicit positive rowspan and colspan values are expanded within the table bounds. Nested tables, overlapping spans and rowspan="0" are rejected rather than guessed.
No. The converter extracts plain cell text and collapses whitespace. It excludes scripts and styles, and does not export link destinations, image alt text, CSS layout or tables generated later by JavaScript.
The selected table may contain up to 1,000 rows, 100 columns and 50,000 cells after merged cells are expanded. The tool stops on unsupported layouts. Formula protection changes risky values and is a precaution, not a guarantee for every spreadsheet program.
Keep going
Validate, pretty-print, or minify JSON.
Encode text to Base64 or decode it back.
Create MD5, SHA-1, SHA-256 and SHA-512 digests.
Generate random RFC 4122 version 4 UUIDs.
Decode a JSON Web Token header and payload.
Test a regular expression against sample text.