Export an HTML table as CSV
To save an HTML table as CSV without code, open the page in Chrome, run LightCube Data Extractor, choose Tables, select the table and click CSV. Cells that contain commas, quotes or line breaks are quoted following the usual CSV rules, so spreadsheets read them correctly.
Do this in one click with LightCube Data Extractor, a free Chrome extension. No account needed.
Add to Chrome, free ↗Step by step
- Open the page and let it load fully.
- Click the extension icon, then Extract Tables.
- Select the table if there are several.
- Click CSV. The file downloads to your Downloads folder.
What a correct CSV looks like
Product,Price,Note
"Desk ""Focus"" Notebook",12.50,"Copper, Cable Tray"
Quotes inside a cell are doubled, and cells with commas are wrapped in quotes. That is what keeps "Copper, Cable Tray" in one column.
Header rows
The first header row of the HTML table becomes the CSV header. Tables with two-level headers are flattened, so check the first line of the file.
Developers: the same thing in code
If you prefer scripts, see Python pandas.read_html vs no-code. For a one-off export, the extension is faster.
Have the HTML source already? Paste it into the free HTML Table to CSV Converter. It runs in your browser, handles merged cells and lets you pick comma, semicolon or tab.
FAQ
- Where does the file go?
- Your browser Downloads folder.
- Can I export to JSON instead?
- Yes. JSON export is included, with 10 free exports per day.
- Does it change my numbers?
- No, it writes cell text as shown on the page.
Related guides
Updated 2026-11-11.