How to Stop PDF Files from Automatically Downloading in Web Browsers
Question details
The user wants PDF files to open directly in the web browser instead of automatically downloading or saving to their computer.

- Product
- Web Browser
- Device & OS
- not provided
- Scenario
- Clicking a PDF link on a webpage to read its content.
- Observed behavior
- The PDF file is automatically saved to the local drive rather than displaying within the browser window.
Before modifying your settings, ensure your web browser is updated to the latest version, as outdated browsers may lack built-in PDF viewing capabilities or cause unexpected file handling.
Adjust PDF Document Settings in Google Chrome or Microsoft Edge
Modify your Chromium-based browser's site settings to open PDFs natively instead of forcing a download.
Modern browsers like Google Chrome and Microsoft Edge have built-in PDF viewers. If PDFs are downloading automatically, the browser's document handling setting has likely been switched to 'Download PDFs'.
Click the three-dot menu icon in the top-right corner of your browser window and select 'Settings' from the dropdown list.
Click on 'Privacy and security' in the left sidebar, then select 'Site Settings' (in Chrome) or 'Cookies and site permissions' (in Edge).
Scroll down to find 'Additional content settings' and click on 'PDF documents'. Select the option to 'Open PDFs in Chrome/Edge' rather than downloading them.

Change PDF Handling Behavior in Mozilla Firefox
Configure Firefox to use its built-in PDF viewer instead of automatically saving the file.
Test with an Alternative Web Browser
If adjusting settings does not work, try viewing the file in another browser to bypass website-specific restrictions.
View and Edit Downloaded PDFs Seamlessly with WPS Office
If certain websites continuously force PDF downloads, using a dedicated, lightweight PDF reader like WPS Office ensures you can instantly open, read, and annotate these files with a browser-like tabbed interface.
- 1. Install WPS Office: Download and install WPS Office Free on your computer to get access to the dedicated PDF toolkit.
- 2. Locate the PDF: Find the automatically downloaded PDF file in your computer's 'Downloads' folder.
- 3. Set as Default Viewer: Right-click the PDF file, select 'Open with', choose 'WPS Office', and check the box that says 'Always use this app to open .pdf files'.
- 4. Read in Tabs: Double-click any PDF to instantly open it in WPS Office's fast, tabbed interface, bypassing browser limitations entirely.

Frequently Asked Questions
Why do my PDFs automatically download instead of opening?
This usually happens because your web browser's site settings are configured to download PDF files to your local drive rather than rendering them through the built-in PDF viewer.
Does the website itself control if a PDF downloads?
Yes, sometimes website administrators set a 'Content-Disposition: attachment' header on the PDF file. This server-side rule forces the web browser to download the file regardless of your personal browser PDF settings.
How do I stop Firefox from downloading PDFs?
Go to Firefox Settings, navigate to the General panel, scroll down to 'Applications', locate the Portable Document Format (PDF) entry, and change its action from 'Save File' to 'Open in Firefox'.
Can I force all browsers to open PDFs in a new tab?
Most modern browsers allow this via their settings (usually under Privacy & Security > PDF Documents). Ensuring 'Open PDFs in browser' is selected will force standard PDF links to open in a new tab, provided the website hasn't forced a download.




