User Agents

Web browsers and everyday web tech, explained

Stop PDFs Opening in Browser: 5 Fixes

· 5 min read · Browsers

In this article
  1. What You'll Need
  2. Step-by-Step
  3. Common Mistakes
  4. Tips
  5. Troubleshooting
  6. Frequently Asked Questions

When you click a PDF link, your browser often takes over and displays the file in its built-in viewer. This guide shows you how to change that so PDFs download to your computer instead, letting you open them in a dedicated reader like Adobe Acrobat or Preview. The exact steps differ by browser and operating system, but the core idea is the same: turn off the browser's PDF viewer or change your download behavior.

What You'll Need

  • Access to your browser's settings menu (Chrome, Firefox, Edge, or Safari)
  • For Safari: a PDF reader app installed (like Preview, which comes with macOS)
  • For Chrome/Edge: the ability to change site permissions (no admin rights needed for most settings)

Step-by-Step

Google Chrome

  1. Open Chrome and click the three-dot menu in the top-right corner.
  2. Select Settings from the dropdown.
  3. Scroll down and click Privacy and security in the left sidebar.
  4. Click Site settings.
  5. Scroll down to the Content section and click Additional content settings.
  6. Click PDF documents.
  7. Toggle the switch next to Download PDF files instead of automatically opening them in Chrome to the ON position.
  8. Close the settings tab. Chrome will now download PDFs instead of displaying them.

Microsoft Edge

  1. Open Edge and click the three-dot menu (top-right).
  2. Select Settings.
  3. In the left sidebar, click Cookies and site permissions.
  4. Scroll down and click PDF documents (under All permissions).
  5. Toggle the switch for Always download PDF files to ON.
  6. Restart Edge for the change to take full effect.

Mozilla Firefox

  1. Open Firefox and click the hamburger menu (three horizontal lines) in the top-right.
  2. Select Settings.
  3. In the left sidebar, click General.
  4. Scroll down to the Files and Applications section.
  5. Next to Portable Document Format (PDF), click the Actions dropdown.
  6. Select Save File (or Use other to pick a specific app).
  7. Click OK to save the change.

Safari (macOS)

  1. Open Safari and click Safari in the menu bar, then select Settings (or Preferences on older macOS).
  2. Click the Websites tab at the top.
  3. In the left sidebar, click PDF.
  4. On the right, you'll see a list of websites that have opened PDFs. For each site, change the dropdown from Open in Safari to Download.
  5. To set a default for all sites, scroll to the bottom and change the When visiting other websites dropdown to Download.
  6. Close the settings window. PDFs will now download instead of opening in Safari.

Common Mistakes

  • Forgetting to restart the browser: Some changes only take effect after a full restart, not just closing the tab.
  • Changing the wrong setting: In Chrome, the PDF toggle is under Site settings, not the main downloads page. In Firefox, it's under General, not Privacy.
  • Only changing one site: Safari's setting is per-website unless you change the global default at the bottom.
  • Clearing browser cache after the change: This can reset some permissions in Chrome/Edge, so avoid clearing site data immediately after making the change.

Tips

  • Use keyboard shortcuts: In Chrome and Edge, pressing Ctrl+S (Windows) or Cmd+S (Mac) while a PDF is open lets you save it without changing settings.
  • Right-click to download: Even with the viewer on, you can right-click a PDF link and choose Save link as to download it without changing your default behavior.
  • Set a default PDF reader: After downloading, make sure your system opens PDFs with the app you prefer. On Windows, right-click a PDF > Open with > Choose another app and check Always use this app. On macOS, right-click > Get Info > change the Open with dropdown and click Change All.
  • Use extensions for more control: If you need per-site behavior, browser extensions like PDF Viewer for Firefox can override the default, but most users don't need them.

Troubleshooting

PDFs still open in the browser after following the steps: Double-check that you toggled the correct switch. In Chrome, it must say Download PDF files instead of automatically opening them and be blue. In Edge, the toggle must be ON for Always download PDF files. If it's still not working, close all browser windows and reopen the browser completely.

You don't see the PDF settings in Chrome: Some enterprise-managed Chrome installations disable this setting. In that case, you can right-click PDF links and select Save link as, or use an extension like Disable PDF Plugin (though this may not work on all versions).

Firefox still opens PDFs in the built-in viewer: Make sure you selected Save File in the Actions dropdown, not just Use other. If you chose Use other, you need to pick an actual application (like Adobe Acrobat) and then click OK.

Safari doesn't have a PDF option in Websites settings: This happens if you haven't opened any PDFs in Safari yet. Open any PDF link once (it will show in the browser), then go back to Settings > Websites > PDF and you'll see the option.

PDFs download but open in the wrong app: This is a system-level issue, not a browser issue. Change the default PDF reader in your operating system's settings (Windows: Settings > Apps > Default apps; macOS: right-click a PDF > Get Info).

Frequently Asked Questions

Will this affect other file types?

No, the settings above only affect PDF files. Other downloads (like images or Word documents) will behave as they did before.

Can I still view a PDF in the browser occasionally?

Yes. If you want to view a specific PDF without downloading it, you can drag and drop the downloaded file into a new tab, or right-click the link and choose Open in new tab (this may still download it depending on your settings). In Chrome, you can also temporarily re-enable the viewer, but it's easier to just download and open it.

Why would I want to stop PDFs from opening in the browser?

Browser PDF viewers often lack advanced features like annotation, form filling, or digital signatures. Opening PDFs in a dedicated reader gives you more tools and a consistent experience across different websites.

Does this work on mobile browsers?

No, these steps are for desktop browsers. On mobile, PDFs typically download automatically or open in a built-in viewer, and there's no universal way to change that without a third-party app.

Will changing this setting slow down my browsing?

No, it only changes how PDFs are handled. Downloading a PDF may take a few seconds longer than viewing it, but it doesn't affect overall browser performance.

Can I set different behavior for different websites?

In Safari, yes—you can set per-site preferences. In Chrome and Edge, the setting is global, but you can use right-click Save link as for specific sites you want to download from while leaving the viewer on for others.