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
- Choose the PDF you want to look at.
- Press Preview PDF — the first page is drawn immediately.
- Move through the document with the arrow buttons or the left and right arrow keys.
- 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.