How to Open Local DOCX and XLSX Files Directly in Chrome
Question details
The user wants to open local Word (DOCX) and Excel (XLSX) files directly in Chrome using Office Online by double-clicking them in Windows Explorer, in order to bypass the desktop Microsoft Office license prompt.

- Product
- Office Online
- Device & OS
- Windows
- Scenario
- Editing local documents without an active desktop Microsoft Office 365 license.
- Observed behavior
- Double-clicking local files either triggers the desktop Office app which asks for a license, or causes Chrome to repeatedly download the file instead of opening it in the web-based editor.
Ensure you have an active internet connection and a Microsoft account, as local files must be uploaded to the cloud before they can be viewed or edited in a web browser.
Use the Upload and Open Feature in Office for the Web
Since Windows file associations cannot automatically upload local files to the browser, manually uploading them to Office Online is the most reliable method.
Windows Explorer does not natively support intercepting a double-click to automatically upload a local file to a web application. Using the built-in upload feature on the Office website is the standard workaround.
Open Google Chrome and go to the official Microsoft Office website (office.com).
Click the 'Sign in' button and enter your Microsoft account credentials.
Locate and click the 'Upload and open' button on the right side of the dashboard, or drag and drop your local DOCX/XLSX file directly into the browser window.
Once the upload is complete, the document will automatically open in Word Online or Excel Online for editing.

Install and Use the Microsoft Office Chrome Extension
Use the official browser extension to quickly access and upload your local files without having to manually navigate to the Office website first.
Edit Local DOCX and XLSX Files for Free with WPS Office
If you don't have a Microsoft Office 365 license and find uploading files to a browser tedious, WPS Office is the perfect free desktop alternative. It allows you to double-click and edit files directly on your PC with no subscription required.
- 1. Download the software: Download and install WPS Office Free on your Windows computer.
- 2. Set as default application: Right-click any local DOCX or XLSX file in Windows Explorer, select 'Open with', choose 'WPS Office', and check 'Always use this app to open files'.
- 3. Open directly: Double-click your files to instantly open and edit them on your desktop without needing a web browser or a paid license.

Frequently Asked Questions
Can I set Google Chrome as the default program for DOCX files in Windows?
Yes, you can set Chrome as the default app via Windows Settings, but this will typically just prompt Chrome to download the file again rather than opening it in Office Online. Local files must be uploaded to a cloud server first before web apps can edit them.
Why does my PC ask for a license when I double-click a Word document?
If the desktop version of Microsoft Office is pre-installed on your computer but not activated with a paid subscription, it will remain the default application for DOCX and XLSX files, prompting you for a license every time you attempt to open a file locally.
Can the Office Chrome extension change my Windows file associations?
No. Browser extensions operate entirely within the web browser's environment. They cannot modify your operating system's default file association settings or intercept double-clicks made in Windows Explorer.




