How to Stop PDFs from Opening Automatically in Your Web Browser
Question details
The user wants to prevent web browsers from automatically opening PDF files after downloading, aiming to restore the standard download prompt or download-bar behavior.
- Product
- Web Browser
- Device & OS
- not provided
- Scenario
- Downloading PDF files from the internet using a web browser.
- Observed behavior
- PDF files are opening automatically in the browser viewer immediately after being downloaded instead of saving directly to the device.
Ensure you know which web browser you are currently using, as the steps to modify file-handling and download behaviors vary depending on whether you are using Chrome, Edge, or Firefox.
Disable Automatic PDF Opening in Google Chrome
Change Chrome's built-in site settings so it downloads PDFs directly instead of launching its internal viewer.
Google Chrome often defaults to opening PDFs automatically. Adjusting the privacy and security settings allows you to force Chrome to download the file instead.
Click the three vertical dots located in the top-right corner of the browser window and select 'Settings' from the dropdown menu.
Click on 'Privacy and security' on the left-hand sidebar, then select 'Site Settings'.
Scroll down and click on 'Additional content settings', then click 'PDF documents'. Select the option that says 'Download PDFs' instead of automatically opening them.

Turn Off Automatic PDF Viewing in Microsoft Edge
Adjust Microsoft Edge's site permissions to prioritize downloading PDF files.
Change PDF File Handling in Mozilla Firefox
Configure Firefox's application action settings to always ask what to do with PDF files.
Manage Downloaded PDFs Seamlessly with WPS Office
Once you stop your browser from automatically opening PDFs, you need a reliable desktop application to view and manage them. WPS Office is a highly compatible, free alternative to Microsoft Office that comes with an excellent built-in PDF reader and editor.
- 1. Download the Software: Visit the official WPS website to download the free installation package for your PC or Mac.
- 2. Set as Default Application: Right-click any downloaded PDF, choose 'Open with', select WPS Office, and check the box to always use this app.
- 3. Enjoy Advanced Editing: Open your local PDFs and Office documents to read, edit, and organize them without relying on a web browser.

Frequently Asked Questions
Why do my PDFs open in the web browser instead of downloading?
Most modern web browsers have a built-in PDF viewer enabled by default. This is designed for convenience so you can preview files quickly, but it bypasses the traditional download process.
Where do my PDFs go after I disable the automatic open setting?
Once you turn off the automatic opening feature, your browser will save the PDF files to your designated 'Downloads' folder, or it will prompt you to choose a custom save location depending on your browser's download preferences.
How can I set a desktop program as my default PDF viewer?
After downloading the PDF to your computer, right-click the file, select 'Open with', and choose your preferred software (like WPS Office or Adobe Acrobat). Make sure to check the option that says 'Always use this app to open .pdf files'.
Will changing this setting affect how Word documents are downloaded?
No, this specific setting only applies to PDF documents. Other files, such as Word documents or Excel spreadsheets, will continue to download normally according to your browser's general settings.




