HTML Table to CSV: Web Tables to a Sheet
Drop an HTML file or paste HTML and its largest table opens as CSV; nothing is uploaded.
Processed on your device. Nothing is uploadedHow to check
You can also paste CSV or JSON text with Ctrl+V (⌘+V on a Mac).
Your file is opened in this browser tab only: it is never uploaded or stored anywhere, and it is gone when you close the tab.
- CSVView and edit.html.htm
Paste text instead
Pasted text stays in this tab and is never sent anywhere.
Convert an HTML table to CSV in your browser: drop an .html or .htm file, or paste HTML, and the largest table on the page (the one with the most cells) opens in the CSV viewer. Header cells become column names, merged cells are filled in, and links and formatting become plain text. Scripts in the HTML never run, and nothing is uploaded.
Why use HTML table to CSV
Private
Your file is opened by your own browser and never sent to a server, so nobody else sees it.
Merged cells filled
A cell that spans rows or columns repeats its value in every cell it covers, so the table stays even.
Works offline
Once this page has loaded, it keeps working without an internet connection.
How it works: convert an HTML table to CSV
Open or paste HTML
Drop an .html or .htm file, choose it, paste HTML into the paste box, or try one of the samples.
The largest table is picked
The table with the most cells is converted. Its first row, which in most tables holds the <th> cells, becomes the column names.
Check and edit
The table opens in the CSV viewer: sort, filter, edit cells and undo before you save.
Download
Download saves a .csv file; the viewer can also save it as Excel, Markdown, HTML or SQL.
What the HTML table converter handles
- Input: .html and .htm files, or pasted HTML.
- Table: the largest <table> on the page, counted by cells.
- Header: the first row of the table, usually its <th> cells.
- Merged cells: colspan and rowspan repeat the value in each cell they cover.
- Content: links and formatting become plain text, and scripts never run.
HTML table to CSV: what it can't do
- Only one table is converted, the largest; to convert another, paste only that table's HTML.
- Images, link addresses and formatting are not kept, only the text.
HTML table to CSV: questions and answers
- Is my file uploaded?
- No. Your browser reads the HTML on your device and nothing is sent to a server. Scripts in the file never run.
- Which table is converted when the page has several?
- The largest one, counted by cells. To convert a different table, paste only that table's HTML, from <table> to </table>.
- Where do the column names come from?
- From the table's first row, which usually holds its <th> header cells.
- How are merged cells handled?
- A cell with colspan or rowspan repeats its value in every cell it covers, so each row has the same number of columns.
- Are links in the table kept?
- The link text is kept as plain text; the address it points to is not.
- Do scripts in the HTML run?
- No. The HTML is read as data to find the table, so no script, style or picture in it is loaded or run.
- How do I copy a table from a website into a CSV file?
- Save the web page as an .html file, or copy the table's HTML, and open it in OpenAnyDoc's HTML table to CSV converter; the largest table becomes rows and columns you can download as a .csv file. Excel and Google Sheets open that file, and the HTML is read in your browser without being uploaded.
Why it's private: your files never leave your browser
Most online viewers upload your file to a server, so a copy of it leaves your device. OpenAnyDoc works the other way round: your browser reads the file and draws it on your screen. Nothing is uploaded, there is no account, and the file is gone from memory when you close the tab, so there is nothing for us to store, see or lose.
How we tell you about new features
Announcements are based on the release date shown to everyone, and nothing is stored on your device or sent anywhere.