Open and Preview a PDF Without Installing a Reader

Renders a PDF page by page onto a canvas with pdf.js, with prev and next controls, zoom from 0.4x to 3x and arrow-key navigation. Nothing is downloaded and nothing is uploaded — the file is only ever displayed.

About the PDF Preview Generator

Select a PDF and it appears in the page with a small toolbar above it: previous page, a live Page 3 of 48 counter, next page, and minus and plus buttons for zoom. The left and right arrow keys move through the document too, so you can read with your hands off the mouse. Zoom begins slightly enlarged at 1.1x, moves in steps of 0.2, and is capped between 0.4x and 3x.

This is a viewer, not a converter — there is no output file and no download link, because the tool produces nothing to save. It exists for the moment when you have a PDF and no application willing to open it: a work laptop with software installation locked down, a borrowed machine, a Chromebook, or a phone that wants to hand the file to an app you would rather not install.

Key Features

  • Page-at-a-time rendering: Only the page you are looking at is drawn, so a 600-page document opens as fast as a one-page one.
  • Zoom that fits your screen: The render scale is multiplied by the width of the viewing area, capped at 900 pixels, so the page arrives at a sensible size on a phone and on a desktop without you adjusting anything.
  • Keyboard navigation: Left and right arrows turn pages, which makes it usable for actually reading rather than just checking.
  • Live page counter: The toolbar always shows the current page and the total, so you know where you are in a long file.
  • No file is produced: The document is drawn to a canvas in the page and never written anywhere — closing the tab is all the cleanup there is.
  • Runs on local code: pdf.js and its worker are served from /assets/vendor/js/ on this domain, so opening a document involves no request to anyone.

How to Use the PDF Preview Generator

  1. Choose the PDF you want to look at.
  2. Press Preview PDF — the first page is drawn immediately.
  3. Move through the document with the arrow buttons or the left and right arrow keys.
  4. Use the minus and plus buttons to zoom out to 0.4x or in to 3x.

How It Works

Each page is requested from pdf.js as a viewport at the current scale, drawn onto a freshly sized canvas, and swapped into the preview area. Because the page is painted as pixels rather than laid out as a document, the text on screen is not selectable and cannot be searched with your browser's find function — if you need the words, the PDF Text Extractor reads the same file's text layer instead.

There is a security benefit to that approach worth knowing about. Desktop PDF readers have historically been a favourite target because the format supports embedded JavaScript and launch actions. pdf.js parses the document in the browser's sandbox and renders it as graphics; it is simply not a program that will run whatever the file asks it to.

When You Need It

A bid manager working on a client site has a tender pack to check and a laptop where installing anything requires a ticket and three days. The pack is commercially confidential, so the usual workaround of uploading it to whatever free viewer appears first in the results is worse than the problem. Opening it in a tab that renders it locally solves both halves at once.

An invoice arrives by email from a supplier nobody recognises. Opening it in a desktop reader means handing an unverified file to software with a long history of parser vulnerabilities. Viewing it here means the file is parsed by a sandboxed renderer that will not execute anything embedded in it, and the document is not forwarded to a scanning service that keeps a copy either.

FAQ

Frequently Asked Questions

Why can I not select or copy the text I can see?
Pages are rendered as images onto a canvas element, so what is on screen is a picture of the page rather than laid-out text. That is why the browser's find function will not search it either. To get the words out, use the PDF Text Extractor, which reads the document's text layer directly and gives you something you can copy.
Where does my PDF go when I preview it?
Nowhere. The file is read into memory by pdf.js, which is stored on this domain rather than fetched from an outside host, and each page is painted onto a canvas in the tab you already have open. There is no upload request in the code and the site's Content-Security-Policy would block a connection to another origin regardless. Nothing is cached on a server because no server is involved.
Can I search inside the document?
Not in this viewer. It has page navigation and zoom, but no search box, no bookmarks panel and no thumbnail sidebar. For finding a phrase, extract the text first and search that; for jumping around visually, the thumbnail generator gives you a contact sheet of every page.
Does it work on a phone?
Yes. The render scale is derived from the width of the preview area, so pages size themselves to a narrow screen automatically. The prev, next and zoom buttons are touch targets like any other, though the keyboard shortcuts obviously need a keyboard.
How far can I zoom in?
Between 0.4x and 3x, in steps of 0.2, starting from 1.1x. Each press re-renders the page at the new scale rather than stretching an existing image, so text stays sharp when you zoom in rather than becoming blocky.
Will it open a PDF that is password protected?
A file with an owner password — restricting printing or copying but opening without a prompt — displays normally. A file with a user password, which demands a password before it will open at all, will fail to load here because there is nowhere to type one. Remove the password with the PDF Unlock tool first.