HTML Table to CSV
Pull the tables out of a web page or HTML file and save them as CSV or Excel. Paste the HTML, or drop a saved .html page.
- Every table found
- CSV or Excel
- Merged cells handled
- Nothing uploaded
Paste data instead
Options
Your files are processed on your own device. Nothing is uploaded, stored or seen by us.
How it works
How to convert an HTML table to CSV
Get the HTML
Save the web page (Ctrl+S) or copy the table's HTML from your browser's developer tools.
Drop or paste it
Every table in the page is found. Pick one from the list if there are several.
Download
Save the table as CSV, or all tables as one Excel workbook with a sheet each.
Why this converter
Tables out of web pages
All tables
A page with ten tables gives you ten choices, or one workbook with ten sheets.
Merged cells
colspan and rowspan are spread out so columns stay aligned.
Clean text
Tags, links and entities like & are turned into plain text.
Private
Nothing is uploaded.
More data tools: Compare two files · VLOOKUP / join · Large CSV viewer · CSV editor · CSV workflow · VCF to CSV · CSV to VCF · Split CSV · Merge CSV · Remove duplicates · Clean CSV · Transpose · Excel to JSON · Excel to SQL · CSV to Markdown
Converters: JSON to CSV · CSV to JSON · JSON to Excel · TXT to CSV · XML to CSV · XLSX to CSV · CSV to Excel
FAQ
Questions
How do I convert an HTML table to CSV?
Paste the HTML (or drop a saved .html page) into the tool above. Choose the table and click Download CSV.
How do I get a table from a website into Excel?
In Excel, Data › From Web imports tables from a live page. If the site blocks that, save the page in your browser and drop the .html file here, then Download Excel.
Can I copy a web table straight into Excel?
Often yes: select the table in the browser, copy and paste into Excel. It works for simple tables but can bring formatting and merged cells with it.
Are my files uploaded?
No. Everything runs in your browser, so your data never leaves your computer. It works offline once the page has loaded.