A linearized PDF lets a browser show the first page before the rest of the file finishes downloading. Checking linearization before upload tells you whether readers on slow connections will wait for the whole file or start reading at once.
What you need
- qpdf installed
- A PDF you plan to upload
- A terminal
Step 1: Check linearization with qpdf
Run qpdf –check file.pdf and look for a line stating whether the file is linearized. A file that is not linearized needs to be re-saved with linearization turned on.
Step 2: Confirm in Document Properties
Open the PDF in Acrobat, choose File, then Properties, and look at the Advanced area, which reports whether the document is enabled for Fast Web View.
Step 3: Linearize if needed
Run qpdf –linearize file.pdf web.pdf to create a web-optimized copy, then re-run the check on the copy before uploading it.
Worked example: synthetic fast-web-view check on a 40-page guide
The table below is a synthetic example. It shows the expected result of the linearization check; no check was run.
| File | Linearized | First page |
|---|---|---|
| guide-original.pdf | No | Loads after full download |
| guide-web.pdf | Yes | Loads before full download |
| Total | 1 of 2 | Upload the linearized copy |
Expected result (UNTESTED). the original file is not linearized, so the linearized copy is the one to upload, and its first page opens before the download finishes. This check was not run live; the table shows the expected result for the synthetic example.
Limits
- Linearization helps the first page load sooner; it does not reduce the total file size.
- Some PDF producers claim fast web view but produce files qpdf reports as not linearized; trust the qpdf check.
- Re-linearizing a signed PDF invalidates its signature.
