How to Extract a Table from a Website

6 min read

Short answer

To extract a table from a website, open the page in Chrome and start Easy Scraper AI. It detects the repeated rows, turns each column into a field and lets you untick the ones you don't need. Press Start, then copy the result or download it as CSV or JSON. Lists made of cards work the same way.

Transcript
  1. Here's how to extract a table or a list from a website, without writing code.
  2. Open the page with the table or list.
  3. Click the Easy Scraper AI icon to open the side panel.
  4. Each column of the table becomes a field.
  5. Untick the fields you don't want.
  6. If nothing is detected: click Point at one list item.
  7. Then click one row on the page.
  8. Press Start.
  9. Open the results window.
  10. Click Copy to paste the table into Google Sheets.
  11. Or click CSV to download a file.
  12. Easy Scraper AI. A no-code web scraper for Chrome.
On this page

Selecting a table with the mouse and pasting it into a spreadsheet often brings broken columns, merged cells and stray links with it. And many "tables" on the web aren't tables at all: they are grids of cards.

This guide shows how to get either kind into clean rows and columns, using real pages from Books to Scrape, a public practice site.

What you need

  • Google Chrome on a computer (version 114 or later)
  • The Easy Scraper AI extension
  • The page with the table or list open in a tab

Steps

  1. Step 1: Open the page and the side panel

    Go to the page and click the Easy Scraper AI icon in the Chrome toolbar. The side panel opens next to the page.

  2. Step 2: Let it find the rows

    The panel looks for content that repeats with the same structure. On a product page of the practice site it finds the "Product Information" table: "Detected 7 items · 2 cols", one field for the label column and one for the value column, each with a sample value.

    A real HTML table on a product page detected as 7 items and 2 columns in the side panel
  3. Step 3: Keep only the columns you want

    Untick any field to leave it out; only ticked fields are collected. Reset brings them all back. The screenshot shows the same panel on a card list, with three of seven columns unticked.

    Seven detected fields with three unticked, on a card list of books
  4. Step 4: Point at the list if it wasn't found

    If you see "Couldn't find a list automatically", click "Point at one list item" and then click anywhere inside one row or card on the page. Every item like it is outlined and counted; press "Use this list" if that is the right one. If it found a list but not the one you wanted, use "Pick manually" and click an item in the right one.

  5. Step 5: Press Start and take the result

    Press Start. Then click "Open results window" and choose Copy to paste into a spreadsheet, CSV for Excel, or JSON for a script.

    Results window with the extracted rows, a checkbox per column and the CSV, JSON and Copy buttons

Real tables and card lists

A real HTML table has rows and cells in the page's code. A card list — products, search results, profiles — only looks like one. Tools that read tables miss card lists. A scraper that looks for repeated structure handles both, because it doesn't care which tag was used.

A grid of book cards detected as a list of 20 items with 7 columns
A card grid is detected the same way as a table: 20 items, 7 columns.

Other ways to copy a table

WayGood forLimits
Select, copy, pasteA small real tableFormatting, links and merged cells come along; no card lists
Excel From WebA real table on a public page, refreshed laterNo login, no scrolling, one address at a time
Google Sheets IMPORTHTMLA real table or list on a public page, refreshed hourlyNo login, no content loaded by scripts
Browser scraper extensionReal tables and card lists, on pages you are logged in toNeeds the page open in your browser
Ways to get a table off a web page

The spreadsheet routes are described step by step in the Excel guide and the Google Sheets guide.

When a page has more than one list

Pages often have a main list plus a sidebar, a menu and a footer that also repeat. The list that is biggest and most visible is chosen. If that isn't the one you want, use "Pick manually" and click an item in the right list.

When the table continues on other pages

If the table has page numbers or a Load more button, set Paging before you press Start. The guide on how to scrape multiple pages explains each option.

Getting a clean result

  • Scroll the table into view before opening the panel if the page loads it late.
  • Check the sample values next to each field: an empty sample usually means that column is empty for the first row, not for all of them.
  • Columns it could not name are called Text 1, Text 2 and so on. Rename them with the pencil in the panel, or in your spreadsheet.

Common questions

Use a browser extension that detects repeated rows. Open the page, start the extension, check the columns and export.

Related guides

Get your first table in a minute

Install the extension, open a page with a list and press Start.