HTML Table Scraper & Extractor

Scrape tables from any webpage instantly. Download data from Wikipedia, government sites, and more as CSV or JSON.

Try: en.wikipedia.org/wiki/List_of_countries_by_population_(United_Nations)

What is the Table Data Extractor?

The Table Data Extractor is a free tool that lets you extract HTML tables from any webpage and download them as CSV or JSON files. Simply enter a URL, and we'll find all the data tables on that page and let you export them instantly.

This is especially useful for extracting data from Wikipedia, government websites, sports statistics sites, financial data pages, and any other site that presents information in tabular format.

To get a web table into Excel or Google Sheets: extract it here, then either download the CSV (opens in Excel and imports into Sheets) or click Copy and paste straight into a sheet; the copy is tab-separated, so every cell lands in its own column. For tables that refresh every day, see export website tables to Google Sheets.

Perfect For

  • •Researchers: Extract data tables from academic sources, government databases, and Wikipedia for analysis.
  • •Data Analysts: Quickly get tabular data into spreadsheets without manual copy-paste.
  • •Journalists: Collect data from public sources for reporting and fact-checking.
  • •Students: Gather reference data for projects and assignments.
  • •Sports Fans: Extract statistics and standings from sports websites.

Frequently asked questions

Which tools extract tables from webpages?
For a one-off table on a public page, a free HTML table extractor like this one is fastest: paste the URL, pick the table, download CSV or JSON. Google Sheets' IMPORTHTML formula also pulls a table by URL and index, but it breaks on blocked or JavaScript-built pages. For tables that only appear after the page loads, sit behind a login, or span several pages, use a browser-based scraper such as the Lection Chrome extension, which reads the page as your browser shows it.
Can I copy a web table into Excel?
Yes. Click Copy above the table preview and paste into Excel or Google Sheets: the data is tab-separated, so headers and cells keep their columns. Or download the CSV and open it in Excel.
What types of pages work best?
This tool works best with pages that have standard HTML tables, like Wikipedia articles, government data portals, sports statistics sites, and financial reports. It may not work for tables that are generated by JavaScript or built with non-standard HTML.
Why can't I see some tables?
Some websites use JavaScript frameworks that build tables dynamically after the page loads. Since we fetch the raw HTML, these tables won't be visible. Additionally, very small tables (1 row or single-column) are filtered out to avoid extracting layout elements.
Is there a limit to how much data I can extract?
There's no hard limit on table size. We show a preview of the first 50 rows, but when you download the CSV or JSON, you get the complete table data.
Can I use this for scraping data regularly?
This tool is designed for one-time extractions. For a table you need every day or week, the Lection Chrome extension can scrape the page on a schedule and send the rows to Google Sheets (see "Scrape any website to Google Sheets on a schedule" at /integrations/google-sheets).

Related resources

Scrape any site, every page, on a schedule.

Add to Chrome — free

This free tool is one ready-made template of Lection, an AI web scraper Chrome extension that extracts lists, tables and detail pages from any website. It can also scrape any website to Google Sheets on a schedule. Need a recurring data feed for your team or clients? We can set it up for you.