Stop PDFs From Downloading Automatically in Browsers
In this article
To stop PDFs from downloading automatically, you must change your browser's content handling settings from "Download PDF files" to "Open PDFs in browser." This change ensures that when you click a PDF link, the document opens in a built-in viewer tab rather than saving a file directly to your hard drive, giving you the choice to save it manually if needed.
What You'll Need
- A computer with an internet connection.
- A modern web browser (Google Chrome, Mozilla Firefox, or Microsoft Edge).
- Administrative access to the browser settings.
Step-by-Step
Google Chrome
- Open Google Chrome and click the three vertical dots (Menu) in the top-right corner.
- Select Settings from the dropdown menu.
- On the left-hand sidebar, click Privacy and security.
- Click on Site Settings in the center pane.
- Scroll down to the bottom of the page and click Additional content settings to expand the section.
- Select PDF documents.
- Change the selection from "Download PDFs" to Open PDFs in Chrome.
- Close the settings tab; the change is saved automatically.
Mozilla Firefox
- Open Firefox and click the three horizontal lines (Menu) in the top-right corner.
- Select Settings.
- In the General panel, scroll down to the Files and Applications section.
- Locate the Applications table.
- Find Portable Document Format (PDF) in the Content Type column.
- Click the dropdown menu in the Action column next to PDF.
- Select Open in Firefox. If you prefer a specific external app but don't want an automatic download, you can select "Ask every time."
Microsoft Edge
- Open Microsoft Edge and click the three horizontal dots (Menu) in the top-right corner.
- Select Settings.
- On the left-hand sidebar, click Cookies and site permissions.
- Scroll down the list of permissions until you find PDF documents and click it.
- Toggle the switch for Always download PDF files to the Off position (it should appear gray).
- Verify that the setting "PDF view settings" is configured to open the file in the browser.
Common Mistakes
- Confusing Browser Settings with OS Settings: Some users try to change this in Windows or macOS system preferences. These settings only control which app opens a file *after* it has been downloaded; they do not stop the browser from initiating the download.
- Ignoring Extension Overrides: Installing third-party PDF viewer extensions (like Adobe Acrobat) can sometimes override native browser settings. If the browser settings are correct but PDFs still download, check your extensions.
- Assuming "Ask Every Time" is the Same: Selecting "Ask" will stop the automatic download, but it will prompt you with a pop-up every single time. If the goal is a seamless viewing experience, "Open in Browser" is the correct choice.
Tips
- Use Incognito Mode for Testing: If you change a setting and it doesn't seem to work, try it in an Incognito or Private window. This determines if a cached setting or a specific extension is causing the issue.
- Keyboard Shortcuts: Once a PDF is open in your browser viewer, you can usually press
Ctrl + S(Windows) orCmd + S(Mac) to save the file quickly if you decide you actually need a local copy. - Check Your Downloads Folder: If you have been accidentally downloading PDFs for a long time, remember to clear your downloads folder to reclaim disk space.
Troubleshooting
If PDFs continue to download automatically despite changing the settings, consider the following solutions:
- Check for Conflicting Extensions: Disable any PDF-related plugins or extensions. Go to your browser's extension manager and toggle them off one by one to identify the culprit.
- Update Your Browser: Outdated browser versions may have bugs in the settings menu. Ensure you are running the latest version of Chrome, Firefox, or Edge.
- Website-Specific Forced Downloads: Some websites use a specific HTTP header called
Content-Disposition: attachment. This tells the browser that the file must be downloaded regardless of your local settings. In these cases, there is no browser setting that can force the PDF to open in a tab because the server is commanding the download. - Reset Browser Settings: If all else fails, use the "Reset settings to their original defaults" option in the browser settings menu to clear any deep-seated configuration errors.
Frequently Asked Questions
Will this prevent me from saving PDFs entirely?
No. Opening a PDF in the browser still gives you the option to save the file. There is typically a download icon (a downward arrow) in the top-right corner of the browser's PDF viewer.
Is it safer to open PDFs in the browser or download them?
Opening PDFs in a browser is generally considered safer because the browser's built-in viewer acts as a sandbox, limiting the PDF's ability to execute malicious code on your operating system.
Why do some PDFs still download automatically after I changed this?
As mentioned in the troubleshooting section, some website servers are configured to force a download. This overrides your browser settings because the server explicitly tells the browser the file is an attachment.
Does this setting apply to all websites?
Yes, these are global browser settings. Once changed, they will apply to every website you visit unless the website uses a forced-download header.
Can I set a specific external app to open PDFs without downloading them first?
No. For a browser to send a file to an external application (like Adobe Reader), the file must first be downloaded to a temporary or permanent folder on your device.