Home › Blog › Scrape a website to Excel

How to scrape a website to Excel

By the ScrapeSheet team · Published August 4, 2026 · Updated November 17, 2026 · 7 min read

Open laptop on a wooden desk next to a smartphone, an open notebook, and a pen

In short: Scrape data from a website into Excel in one of four ways: copy and paste for a small table; Excel's From Web (Power Query) for HTML tables you want to refresh automatically; a no-code browser extension for lists, cards, and JavaScript pages; or code for large, scheduled jobs. Which one fits depends on how the page is built.

Web scraping is simply reading the data that a page displays and copying it into a structured format: rows and columns. The web page already contains the data; the job is to pull out the parts you care about and drop them into a spreadsheet. You do not need a server or a programming background for most everyday jobs. This guide covers the built-in options first, then what to do when they fail.

Which methods are built into Excel?

Method 1: Copy and paste (the 30-second option)

For a small, clean HTML table, plain copy-paste often works. Select the table with your mouse, press Ctrl+C (or Cmd+C), click a cell in Excel, and paste. Excel usually keeps the column structure.

  1. Highlight the table rows on the web page.
  2. Copy, then in Excel use Paste Special > Text or Match Destination Formatting to avoid dragging in stray styles.
  3. Clean up any merged headers by hand.

It is fast, but it falls apart on long lists, cards that are not real tables, and anything spread across several pages.

Method 2: Excel's From Web (Power Query)

Modern Excel can import HTML tables directly, no add-in required.

  1. Open Excel and go to Data > Get Data > From Other Sources > From Web.
  2. Paste the page URL and click OK.
  3. In the Navigator, pick the table Excel detected and click Load.
  4. Use Transform Data first if you want to remove columns or fix headers before loading.

This is genuinely good for stable, well-formed tables, and it can refresh on its own (see below). It works best on content that arrives as real HTML tables, so it can miss lists, product cards, and content that a page draws with JavaScript after loading. Our guide to Excel's Get Data from Web covers the tool in depth.

Why does From Web return an empty or partial table?

Many modern pages arrive as an almost empty shell and fill in their tables with JavaScript once they reach your browser. Power Query may download the page before those scripts finish, or not run them the way your browser does. The result is a Navigator with no tables, a table with missing columns, or rows that appear on one refresh and vanish on the next. Microsoft's own troubleshooting guide for the Web connector warns about sporadic errors on these dynamic pages.

How to check whether a page uses JavaScript

  1. Open the page in Chrome and wait for the table to appear.
  2. Press Ctrl+U (Option+Cmd+U on a Mac) to view the page source.
  3. Press Ctrl+F (Cmd+F) and search for a value you can see in the table, such as a price or a name.
  4. If the value is in the source, the data is part of the HTML and From Web has a good chance of reading it. If it is not, scripts add the data after the page loads.

What works instead

Method 3: How to do it with ScrapeSheet

When the page is a list of cards, an infinite feed, or a table that Power Query cannot see, a browser extension that reads the rendered page is the simplest fix. This is where ScrapeSheet fits: it runs on the page you already have open, detects the tables and lists for you, and exports to Excel (.xlsx), CSV, or the clipboard.

  1. Install ScrapeSheet from the Chrome Web Store and pin it.
  2. Open the page with the data you want, wait for the table or list to appear, and click the ScrapeSheet icon.
  3. Click Extract. It picks up the tables and lists automatically; for messier pages you can describe the columns you want in plain language (Pro, with your own Claude or OpenAI key).
  4. Export the result to Excel and open the .xlsx file.

Because it reads the page as your browser displays it, it can also pick up content that scripts add after loading, which often trips up Method 2. With Pro, it follows pagination and loads infinite-scroll lists. See our guide on scraping multiple pages. The free plan allows up to 20 rows per export and one page per run; ScrapeSheet Pro (€12.99 per month) removes both limits.

Desktop calculator lying on graph paper with a silver pen in the background

Can you scrape a website to Excel for free?

Yes, for most small jobs. Every free option has a catch, so match it to the page:

Free optionBest forMain limit
Copy and pasteOne short tableManual, breaks on lists
Excel From WebStatic tables, filesWeak on JavaScript pages
Google Sheets IMPORTHTMLTables and lists in SheetsStatic HTML only
ScrapeSheet free planLists, cards, loaded pages20 rows, 1 page per run
Python scriptLarge, repeat jobsYou write and maintain it

If you work in Google Sheets rather than Excel, our guide to scraping into Google Sheets covers IMPORTHTML step by step.

Method 4: Code (only when you really need it)

For large, repeatable, or scheduled jobs, a script in Python (with requests and BeautifulSoup, or pandas.read_html) gives full control, and the libraries are free. On JavaScript pages, a script usually needs a headless browser, which loads the page the way Chrome does before reading it. It is powerful but overkill for a one-off export, and it means maintaining code when sites change their markup. Most people never need it.

Which method should you pick?

How do you keep the sheet up to date automatically?

It depends on which method brought the data in.

Power Query refresh (From Web)

  1. Open Data > Queries & Connections.
  2. Right-click the query and select Properties.
  3. On the Usage tab, check Refresh every and enter the number of minutes, or check Refresh data when opening the file.
  4. Select OK. You can still update by hand with Data > Refresh All.

Timed refresh runs while the workbook is open in Excel, so for a daily report, refresh on open is usually enough. It stays reliable only on pages that From Web reads cleanly. On JavaScript pages, a refresh can bring back a different shape, and formulas that depend on those columns may break.

Re-running an extension

An extension export is a snapshot of the page at that moment. To update it, open the page, click Extract, and export again. It takes a minute and works on pages Power Query cannot read, but it is manual. Save each export to a new tab or a dated file, and you also build a history you can compare. Our weekly price snapshot workflow shows this routine in practice.

Rule of thumb: use Power Query refresh for static tables you need daily, and re-run the extension for lists, cards, or JavaScript pages you check weekly. Large scheduled jobs need a script that respects the site's terms and rate limits.

How do you scrape responsibly?

Stick to public pages. Use these methods on pages anyone can see without signing in. Do not use them to get past logins, CAPTCHAs, paywalls, or rate limits. Check the site's terms and its robots.txt file (the format is standardized in RFC 9309), and avoid hammering servers. If the data includes personal details, such as names or email addresses, data protection laws such as the EU's GDPR may apply. We cover this in Is web scraping legal? This is general information, not legal advice.

More step-by-step guides are on the ScrapeSheet blog, and real-world examples are on the use cases page.

FAQ

What is the easiest way to scrape a website to Excel?
A no-code browser extension is the easiest: open the page, click Extract, and export to .xlsx. Excel's built-in From Web tool works well for clean HTML tables but can struggle with lists and JavaScript-rendered pages.

Can Excel scrape a website by itself?
Yes, via Data > Get Data > From Other Sources > From Web (Power Query). It imports HTML tables detected on the page, but it can miss lists, cards, and content loaded by JavaScript.

How do I scrape data from a JavaScript website to Excel?
First view the page source with Ctrl+U and search for a value from the table. If it is missing, scripts load the data, and Excel's From Web may return an empty or partial table. Use an official download or API if the site offers one, or a tool that reads the loaded page, such as a browser extension.

How do I extract data from a website to Excel automatically?
For static HTML tables or files at a URL, use From Web and set the query to refresh every few minutes or when the file opens (Data > Queries & Connections > Properties > Usage). For JavaScript pages, re-run an extension export when you need fresh data, or use a maintained script that respects the site's terms.

Can I scrape a website to Excel for free without coding?
Yes. Copy-paste and Excel's From Web need no code and no add-in. The ScrapeSheet free plan allows up to 20 rows per export and one page per run; Pro removes both limits.

Sources

General information, not legal advice. Always check the website's terms and the data-protection rules that apply to you.

Keep reading

← Back to the blog · ScrapeSheet home