HTML Table to Excel & CSV: Web Page Tables to Sheets
Pricing
from $1.50 / 1,000 table extracteds
HTML Table to Excel & CSV: Web Page Tables to Sheets
HTML table to Excel converter at $1.50 per 1,000 tables. Paste web page links and get every table as rows keyed by its header, one Excel file per page (one sheet per table) and a CSV per table. Merged cells and two-row headers handled.
Pricing
from $1.50 / 1,000 table extracteds
Rating
0.0
(0)
Developer
Brandon Ob
Maintained by CommunityActor stats
0
Bookmarked
2
Total users
1
Monthly active users
17 hours ago
Last modified
Categories
Features
Share
HTML Table to Excel & CSV: convert web page tables to spreadsheets
This HTML table to Excel converter takes links to public web pages and returns every data table on them as rows keyed by the table's header, plus one Excel file per page (one sheet per table) and one CSV per table. Two-row headers become clean column names ("Q1 revenue"), merged cells (rowspan/colspan) are filled in so filters work, footnote markers like [1] are removed, and numbers like 1,250, $12.99 or 7.5% arrive as real numbers in Excel. You pay per table delivered: $1.50 per 1,000 tables, nothing for pages that fail or have no tables.
What does HTML Table to Excel & CSV do?
- Finds every
<table>on a web page, in page order, and skips menus, navigation boxes, infoboxes and layout tables (you can turn that off). - Converts each one to Excel and CSV: an
.xlsxworkbook per page with one sheet per table (frozen header row), a CSV per table, and the rows as JSON in the dataset. - Labels each table with its caption, or the heading above it ("Selected Interest Rates", "Head of household"), and names the Excel sheet after it.
- Handles merged cells: a value that spans rows or columns is repeated in every cell it covers, so each row stands on its own. You can turn that off.
- Joins two-row headers (
Q1overunitsandrevenue) intoQ1 units,Q1 revenue, and moves a title row merged across the whole table into atitlefield. - Removes hidden text (sort keys,
display:none) and footnote markers like[1]or[a], so values stay clean. - Turns plain numbers, prices and percentages into numbers in Excel; IDs with leading zeros, dates and phone numbers stay as text.
- Lists pages that could not be loaded, and pages with no data tables, in a
SUMMARYrecord.
Use cases
- Analysts and researchers: pull rate tables, statistics and rankings from government, central bank and reference pages into Excel without copy-paste.
- Finance and pricing teams: track exchange-rate, tax-bracket, fee or price tables that sites publish as HTML; schedule a run and diff the CSVs.
- Marketers and SEO teams: export comparison tables, pricing tables and lists from competitor or partner pages.
- Journalists and students: turn tables in articles and public reports into data you can sort, chart and cite.
- Developers and no-code builders: add a "web table to rows" step to a pipeline and send it to Google Sheets, Airtable or a database, as an IMPORTHTML alternative that works for many pages at once.
Website table to Excel: download tables from any web page
Copying a table from a website into Excel usually means selecting it by hand, fixing merged cells and retyping numbers that paste as text. Paste the page link here instead: each data table on the page comes back as its own Excel sheet and CSV file, named after its caption or the heading above it, with numbers stored as numbers. It works the same for one page or a few hundred, and a saved task can re-download the same website tables every day.
How to convert an HTML table to Excel
- Open the Actor and paste web page links, one per line. Each page must load without a login.
- Optional: turn off Skip layout and navigation tables to get every
<table>, or raise Minimum data rows to skip small tables. - Click Start. Open the Tables view, or use the
excelUrllink for one spreadsheet per page. - To refresh a table regularly, save the input as a task and schedule it, or call the Actor from the API, Make, Zapier or n8n.
Try it first with the word sample (a built-in example page with three tables, a menu and a navigation box).
Input
| Field | What it does |
|---|---|
pageUrls | Web page links, one per line. sample runs the built-in example. |
firstRowIsHeader | Use the header row(s) as column names (default on). |
repeatMergedCells | Copy a merged cell's value into every cell it spans (default on). |
skipLayoutTables | Skip menus, navigation boxes, infoboxes, layout and single-column tables (default on). |
keepFootnoteMarks | Keep markers like [1] inside cells (default off). |
minRows | Skip tables with fewer data rows than this (default 2). |
maxItems | Stop after this many tables (default 200). |
{"pageUrls": ["sample", "https://www.federalreserve.gov/releases/h15/"],"firstRowIsHeader": true}
Output
One dataset item per table. From the default input:
| pageUrl | table | heading | rowCount | columns |
|---|---|---|---|---|
| sample | 1 | Wholesale price list | 6 | SKU, Product, Unit, Price (USD), Stock |
| sample | 2 | Quarterly sales by region, 2026 | 4 | Region, Q1 units, Q1 revenue, Q2 units, Q2 revenue, Growth |
| sample | 3 | Support rota | 3 | Team, Name, Shift, Phone |
| federalreserve.gov/releases/h15/ | 1 | Selected Interest Rates | 38 | Instruments, then one column per day |
| irs.gov/.../federal-income-tax-rates-and-brackets | 1 | 2025 tax rates for a single taxpayer | 7 | Tax rate, on taxable income from, up to |
{"pageUrl": "sample","pageTitle": "Sample page with tables (HTML Table to Excel demo)","table": 3,"tablesOnPage": 3,"heading": "Support rota","title": "Support rota, week 47","columns": ["Team", "Name", "Shift", "Phone"],"rowCount": 3,"columnCount": 4,"rows": [{"Team": "Sales", "Name": "Ana Ruiz", "Shift": "08:00-16:00", "Phone": "+1 555 0100"},{"Team": "Sales", "Name": "Ben Okafor", "Shift": "12:00-20:00", "Phone": "+1 555 0101"},{"Team": "Support", "Name": "Chen Wei", "Shift": "08:00-16:00", "Phone": "+1 555 0102"}],"csvUrl": "https://api.apify.com/v2/key-value-stores/.../records/01-sample-tables-table-03.csv","excelUrl": "https://api.apify.com/v2/key-value-stores/.../records/01-sample-tables.xlsx","extractedAt": "2026-11-20T09:15:00+00:00"}
"Sales" is one cell with rowspan="2" on the page; it comes back on both rows. The "Support rota, week 47" row spanned the whole table, so it became the title and the real header row was used.
Pricing
Pay per result: $1.50 per 1,000 tables ($0.0015 per table), with no start fee. Pages that fail or contain no data tables are free. Set a maximum cost per run and the Actor stops cleanly at it. A run with the default input costs about one and a half cents.
Limits
- Tables in the page HTML only. Tables that a site draws with JavaScript after the page loads, and "tables" built from
<div>s, are not read. Such pages are listed inSUMMARYand not charged. - Public pages only. Pages behind a login, paywall or bot challenge (HTTP 401/403) are reported as failed; the Actor does not get around them. Some large sites block automated requests altogether.
- Only the text in each cell is kept, not colours, links or images.
- Pages up to 15 MB. Each link is read as it is; the Actor does not follow pagination or crawl other pages.
- For tables in files use the sibling tools below: PDF, Word, images, invoices, bank statements and payslips.
FAQ
How do I convert an HTML table to Excel without copy-paste? Paste the page link into this Actor and download the excelUrl workbook: every table is its own sheet with the header row frozen. It works for any number of pages at once.
Can it get all tables on a web page at once? Yes. Every data table becomes a separate dataset item, CSV file and Excel sheet, in the order they appear. Turn off "Skip layout and navigation tables" if you also want menu and layout tables.
Is this an IMPORTHTML alternative for Google Sheets? Yes. IMPORTHTML takes one table per formula and breaks on merged cells; this Actor returns every table on many pages, with merged cells filled. Send the rows to a sheet with Google Sheets Export & Import, or point IMPORTDATA at the csvUrl.
What happens to merged cells and two-row headers? Merged values are written into every cell they covered, and stacked headers are joined into one name per column, so the sheet is ready for filters and pivot tables.
Why did a page return no tables? Most often the table is drawn by JavaScript after the page loads, so it is not in the HTML the server sends. The SUMMARY record lists such pages; you are not charged for them.
Am I charged for pages that failed? No. Only delivered tables are charged; failures are listed in SUMMARY.
Related tools
- PDF Table to Excel & CSV: tables from PDF files, joined across page breaks.
- Word Table to Excel & CSV: tables from .docx files and shared Google Docs.
- Image Table to Excel & CSV: tables from screenshots, photos and scans.
- Invoice PDF to Excel & CSV: invoice numbers, totals and line items from invoice PDFs.
- Bank Statement PDF to Excel & CSV: transactions and balances from bank statements.
- Google Sheets Export & Import: send the rows straight into a Google Sheet.
- Website Screenshot API: full-page screenshots of the same pages.
Found a bug or need a feature? Open an issue on the Issues tab — I usually reply within a day.