File Format & Compatibility

How to Open Local DOCX and XLSX Files Directly in Chrome

Ayan MasoodAyan Masood Nov 3, 2026 871 views

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.

How to Open Local DOCX and XLSX Files Directly in Chrome
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.
Before you start

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.

Solution 1Recommended

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.

1
Navigate to Office Online

Open Google Chrome and go to the official Microsoft Office website (office.com).

2
Sign in to your account

Click the 'Sign in' button and enter your Microsoft account credentials.

3
Upload the local file

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.

4
Edit in browser

Once the upload is complete, the document will automatically open in Word Online or Excel Online for editing.

Use the Upload and Open Feature in Office for the Web
Free Microsoft Office alternative

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. 1. Download the software: Download and install WPS Office Free on your Windows computer.
  2. 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. 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.
100% free to download and use for all essential document editing.Fully compatible with Microsoft Office formats, including DOCX, XLSX, and PPTX.Allows direct opening of local files via Windows Explorer double-click without license prompts.Lightweight software that runs smoothly on both older and modern Windows PCs.
QA img-9

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.