How to Import Web Data into Excel 365 Using Power Query
Question details
The user needs to extract tabular data from a webpage and load it directly into an Excel 365 spreadsheet using the built-in Power Query features.

- Product
- Excel 365
- Device & OS
- not provided
- Scenario
- Importing data tables from an external website directly into a spreadsheet for analysis and reporting.
- Observed behavior
- The user wants to load web data, but the import may fail if the target webpage does not expose standard extractable HTML tables or heavily relies on dynamic scripts.
Ensure you have a stable internet connection and copy the exact URL of the webpage containing the tabular data you wish to import.
Import Web Data Using the 'From Web' Feature
Use Excel's built-in Power Query tools from the Data tab to connect to a webpage and extract its tabular data.
Excel provides a straightforward way to pull static tables directly from internet pages without manually copying and pasting. This method uses Power Query to structure the data perfectly.
Open your Excel 365 workbook. Go to the 'Data' tab on the top ribbon, click 'Get Data', select 'From Other Sources', and then click 'From Web'.
In the pop-up dialog box, paste the complete URL of the webpage containing the data you want to import, then click 'OK'.
The Navigator window will appear, displaying a list of detected tables on the left. Click on a table to preview its data. Once you find the correct data, click the 'Load' button to import it into your spreadsheet.

Troubleshoot Failed Web Data Imports
Follow these checks if Excel fails to detect tables from the provided URL or if the connection errors out.
Import External Data Effortlessly in WPS Office
WPS Office offers robust and intuitive tools for importing external data, text files, and CSVs into your spreadsheets. It is a highly compatible, fully-featured alternative to Microsoft Office.
- 1. Open WPS Spreadsheets: Launch WPS Office and open a new or existing spreadsheet file.
- 2. Access the Data Tab: Click on the 'Data' tab located in the top ribbon menu to view the data management tools.
- 3. Import External Data: Click 'Import Data' and select your external data source (such as a CSV or text file) to open the import wizard.
- 4. Configure and Finish: Follow the on-screen prompts to set your delimiters and column data formats, then click 'Finish' to load the data.

Frequently Asked Questions
Why does Excel say no tables were found on the webpage?
This typically occurs if the webpage relies heavily on JavaScript or dynamic scripts to render its data instead of using standard HTML table tags. Power Query works best with static HTML tables.
Can I automatically refresh the web data imported into Excel?
Yes. You can refresh the data manually by going to the Data tab and clicking 'Refresh All'. You can also configure the connection properties to refresh the data automatically when opening the file or at specific time intervals.
Is the Power Query 'From Web' feature available in older versions of Excel?
Power Query is fully integrated into the Data tab in Excel 365, Excel 2019, and Excel 2016. For older versions like Excel 2010 and 2013, it must be downloaded and installed as a separate add-in from Microsoft.
What should I do if the website requires a login to view the data?
When connecting to the web source, Excel will prompt you for credentials. You can select the 'Basic' or 'Web API' tab to enter your username and password, though this may not work for sites with complex, multi-factor login screens.




