Import a table or list from a website into Google Sheets using IMPORTHTML

Use the IMPORTHTML function to pull a table or list from any public web page into a Google Sheets cell and keep it updated automatically.

What the video covers

Show how to insert an IMPORTHTML formula to import a table or list from a public web page into Google Sheets and how to choose the correct index.

Watch the video on YouTube

Step-by-step instructions

  1. Select the destination cell
    Click the cell where you want the top-left corner of the imported table or list to appear.
  2. Start the IMPORTHTML formula
    Type =IMPORTHTML( to begin the function.
  3. Enter the page URL
    Paste the full web page URL inside quotes as the first argument, for example "https://example.com/page".
  4. Specify the data type
    After the URL, add either "table" or "list" (in quotes) to tell Sheets what to extract.
  5. Add the index number
    Provide an index (number) as the third argument to choose which table or list on the page to import — use 1 for the first, 2 for the second, etc.
  6. Close and run the formula
    Close the parentheses and press Enter. Sheets will fetch the content and fill cells starting from your selected cell.
  7. Adjust index or method if needed
    If the wrong content or no content appears, try different index numbers. If the page is generated by JavaScript, IMPORTHTML may not work — consider IMPORTXML, an Apps Script, or a scraping service.

Watch the video

Video thumbnail for Import a table or list from a website into Google Sheets using IMPORTHTML Play tutorial

Watch on YouTube

Why it matters

IMPORTHTML automates copying publicly available tables or lists into your spreadsheet so you can build dashboards, track prices, or analyze data without manual copy–paste.

Check your result

Imported rows and columns appear in the chosen cell and update automatically when the source page changes. If the wrong data appears, try a different index number.

Troubleshooting

If you see errors or no data: confirm the page URL is public and correct; try different index numbers (1, 2, 3…); remember IMPORTHTML cannot read content generated only by JavaScript; check for rate limits or blocked requests; use IMPORTXML or a script for more complex pages.