Skip to content

How to View a PDF in Your Web Browser Without Downloading It

Set your web browser to open PDF documents in a new tab instead of saving them to your computer, and learn what to check before opening an attachment.

Phones and ComputersNovember 11, 20263 min read

You can set your web browser—the program you use to visit websites, such as Google Chrome, Microsoft Edge, or Safari—to open a PDF document right on the page instead of saving a copy to your computer.

A PDF (Portable Document Format) is a common file type used for forms, statements, and receipts. Viewing a PDF inside a browser tab—a single page open at the top of your browser window—is safer than opening it in a separate program like Adobe Acrobat Reader1. It also keeps clutter out of your computer’s Downloads folder.

Steps

Follow this checklist to set your browser to preview PDF files in a tab and to check a document before you open it.

Set your browser to open PDFs in a tab

0 of 6 done

If other files still save to your computer without asking, you can also turn off automatic downloads in your browser.

You can find more helpful advice on keeping your devices safe and working to keep your browser and apps running smoothly.

When a PDF asks you to sign in or click a button

Viewing a PDF in your browser keeps the file off your computer, but it does not block a fake link inside the document. Scammers sometimes send a one‑page PDF that shows a blurry page and a button that says “Review Document” or “View Files.”

Not secureWeb address: secure-doc-viewer-portal.example/login

Encrypted PDF Document Preview

This 12-page remittance PDF is protected. To read this document in your browser, please sign in with your email address and password, or click below to update your PDF reader.
Sign In to View PDF

Red flags on this page

A real invoice, receipt, or newsletter has words you can read right away. Watch for these warning signs when a PDF opens in your browser:

  • The page is just a button or a QR code. A square barcode or a “Click here to view” button inside a PDF is meant to send you to a fake website.

  • It asks for your email password. Never type your Gmail, Yahoo, Outlook, or work password to unlock a PDF.

  • It imitates a DocuSign contract. If an email claims you have a contract to review, you can check a DocuSign document without clicking email links.

  • The attachment is inside a compressed folder. Scammers sometimes hide harmful files inside a zip folder so email scanners miss them. If you need to inspect a compressed folder from someone you trust, learn how to open a zip file without extra programs.

Common questions

Is it safe to print a PDF directly from my web browser?

Yes. Printing a PDF straight from Chrome, Edge, or Firefox to your home printer is a safe way to get a paper copy without opening the file in a separate desktop program.

What if I already saved a PDF to my computer and want to view it in my browser?

Do not double-click the saved file. Instead, right-click the file in your Downloads folder, move your mouse over Open with, and click Google Chrome, Microsoft Edge, or Firefox. Make sure the file name ends in .pdf and not something else like .vhd or .exe.

What should I do if I typed my email password on a page that promised to show a PDF?

Go directly to your real email website in a new tab and change your password right away. Then check your email settings to make sure no strange forwarding addresses were added to your account.

For more information

  1. Safely opening PDFs received by e-mail (or fax?!) - CITP Blogblog.citp.princeton.edu
  2. How to Open PDF in Chromexodo.com

Keep reading

More in Phones and Computers