Home / Tools / HTML Table Extractor
Links & web
HTML Table Extractor
Pull tables from web pages into CSV and JSON.
About $1 per 2,000 data rows.
Reads HTML tables from a page or pasted HTML. Keeps merged cells, handles more than one table on a page, and saves CSV. Honest about tables that only appear after JavaScript runs.
What it does
- Finds HTML tables on a page or in pasted HTML.
- Handles merged cells and more than one table.
- Saves CSV and JSON rows. Failed pages are free.
Before and after
HTML with merged cells
<table>
<caption>Scores</caption>
<tr><th>Name</th><th colspan="2">Scores</th></tr>
<tr><td>Ann</td><td>12</td><td>4</td></tr>
<tr><td>Bob</td><td rowspan="2">8</td><td>1</td></tr>
<tr><td>Cara</td><td>2</td></tr>
</table>
Flat rows (rowspan fills Cara's score)
Name,Scores,Scores
Ann,12,4
Bob,8,1
Cara,8,2
From html-table-extractor-apify/tests/test_actor.py.
Get it
Pay per use · Apify · $0.0005 per data row
FAQ
What does this tool do?
Pull tables from web pages into CSV and JSON. Reads HTML tables from a page or pasted HTML. Keeps merged cells, handles more than one table on a page, and saves CSV. Honest about tables that only appear after JavaScript runs.
What does it cost?
Pay per use on Apify costs $0.0005 per data row.
Will you see my files?
The download tools run on your computer, so those files stay with you. The Apify tools run in your own Apify account. This website does not take uploads.