Html Table Extractor
Pricing
from $10.00 / 1,000 results
Go to Apify Store
Extract tables from any webpage and convert them into structured JSON data. Supports extracting specific tables or all tables from a page.
Features
- Extract any HTML table from a webpage
- Automatic header detection from th elements
- Support extracting specific table by index or all tables
- Clean structured JSON output with headers and rows
Input
- url (required) - URL of the webpage containing tables
- tableIndex - Which table to extract (0-based index, -1 for all tables, default: 0)
Output
Each result contains:
headers- Array of column headersrows- Array of row objects with header keystableIndex- Index of the table on the page
