How to scrape a website to Excel

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.
- Highlight the table rows on the web page.
- Copy, then in Excel use Paste Special > Text or Match Destination Formatting to avoid dragging in stray styles.
- 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.
- Open Excel and go to Data > Get Data > From Other Sources > From Web.
- Paste the page URL and click OK.
- In the Navigator, pick the table Excel detected and click Load.
- 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
- Open the page in Chrome and wait for the table to appear.
- Press
Ctrl+U(Option+Cmd+Uon a Mac) to view the page source. - Press
Ctrl+F(Cmd+F) and search for a value you can see in the table, such as a price or a name. - 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
- An official file or API. Many sites, including open data portals such as data.gov, publish CSV, JSON, or Excel downloads. From Web can import a file at a URL directly, and the result is cleaner than reading the page.
- Add table using examples. This button in the Navigator lets you type a few sample values, and Power Query extracts the data that matches. It helps when the data is on the page but not in a table.
- A tool that reads the loaded page. A browser extension works on the page after your browser has run its scripts. That is Method 3.
- A headless browser in code. For large jobs, see Method 4.
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.
- Install ScrapeSheet from the Chrome Web Store and pin it.
- Open the page with the data you want, wait for the table or list to appear, and click the ScrapeSheet icon.
- 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).
- Export the result to Excel and open the
.xlsxfile.
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.

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 option | Best for | Main limit |
|---|---|---|
| Copy and paste | One short table | Manual, breaks on lists |
| Excel From Web | Static tables, files | Weak on JavaScript pages |
| Google Sheets IMPORTHTML | Tables and lists in Sheets | Static HTML only |
| ScrapeSheet free plan | Lists, cards, loaded pages | 20 rows, 1 page per run |
| Python script | Large, repeat jobs | You 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?
- One clean table, one time: copy-paste or From Web.
- A table you will re-import regularly: From Web, so it refreshes.
- Lists, cards, JavaScript pages, or many pages: a no-code extension like ScrapeSheet.
- Thousands of pages on a schedule: a maintained script.
How do you keep the sheet up to date automatically?
It depends on which method brought the data in.
Power Query refresh (From Web)
- Open Data > Queries & Connections.
- Right-click the query and select Properties.
- On the Usage tab, check Refresh every and enter the number of minutes, or check Refresh data when opening the file.
- 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
- RFC 9309: Robots Exclusion Protocol (RFC Editor, IETF)
- Data.gov: the U.S. government's open data site
General information, not legal advice. Always check the website's terms and the data-protection rules that apply to you.