Optimise for the web
Tidy a PDF before you put it on a website: a fresh, compact rewrite with identifying metadata stripped.
or drop them here · files stay on your device
We count formats and sizes. Filenames stay private unless you opt in.
- Runs on your device
- No sign-up or watermark
- No fixed file size cap
The short answer
To optimise a PDF for the web here, choose one or more files, decide whether to strip identifying metadata and press Optimise. Your browser rewrites each document with compressed object streams and shows the size before and after. Files never leave your device. Note that this is not linearization, the Fast Web View format, which this tool does not produce.
How to optimise a PDF for the web
- STEP 1
Choose your PDFs
Pick one PDF or a batch you are about to publish. Each is rewritten separately.
- STEP 2
Decide on metadata
Leave "Strip identifying metadata" on to clear author, subject and keywords, or turn it off to keep them.
- STEP 3
Optimise the files
Press "Optimise for the web". The report shows the total size before and after, and the percentage change.
- STEP 4
Save the web copies
Download each file, named with -web, and publish that copy instead of the original.
What "optimised for the web" can mean
The phrase covers two different jobs. The first is linearization, also called Fast Web View: reorganising the file so a browser can show page one before the rest has downloaded. The second is a general tidy-up before publishing: a cleaner internal structure and no leftover personal details in the document properties.
This tool does the second job. It is useful before you upload a report or brochure to a website, because document properties often carry the author's name, internal keywords and the software that made the file, and a fresh rewrite folds earlier incremental edits into one clean revision. If your publishing system specifically requires a linearized PDF, use a desktop tool that offers Fast Web View.
What survives, and what does not
Each file is loaded with pdf-lib and saved again with object streams, which pack many small internal objects into compressed blocks and replace the old cross-reference table with a compact stream. With metadata stripping on, the author, subject and keywords fields are cleared and the creator and producer fields are set to damnfiles. The title is kept, since readers show it in the browser tab. Page content is not re-encoded.
What you keep
Text, fonts and images exactly as they were; nothing is rasterised or recompressed
Links, bookmarks and form fields
The document title, which browsers and search engines display
What you lose
Author, subject and keywords, when "Strip identifying metadata" is on
Not linearized: the file still has to download fully before a viewer can show it
Embedded XMP metadata, if the file has any, is left in place
Honest limits are published on every tool page. If a tool cannot do something well, it says so here rather than letting you find out after the download.
Optimise for the web at a glance
| Input | PDF, several at once |
|---|---|
| Output | PDF, named with -web |
| Rewrite | Compressed object streams |
| Linearized | No |
| Runs on | Your device, in the browser |
| Engine | pdf-lib |
| Batch | Yes |
If something goes wrong
The file is barely smaller, or slightly larger
Most of a PDF's weight is usually in images and fonts, which this rewrite leaves alone. Files that already use object streams have little to gain. Compress the PDF if size is the goal.
My CMS still says the PDF is not Fast Web View
This tool does not linearize. If a system checks for Fast Web View specifically, it needs a linearized file from a desktop PDF editor.
The author name still appears somewhere
Some files also carry an XMP metadata block, which this tool does not remove. Check the properties in a desktop reader and edit them there if needed.
Optimise for the web questions
What does optimise PDF for web mean?
It usually means preparing a PDF for publishing online: a compact structure, no stray personal metadata and, in some tools, linearization for page-at-a-time loading. This tool covers the first two, not linearization.
Does this make a linearized, Fast Web View PDF?
No. Linearization needs special hint tables that this browser tool does not write yet. A large PDF will still need to download fully before it opens, so keep web PDFs as small as you can.
Is my file uploaded to be optimised?
No. It is rewritten by pdf-lib inside your browser and saved straight back to your device. You can publish the result without it ever having passed through a third party.
Will optimising change how my PDF looks?
No. Pages are not re-rendered and images are not recompressed, so the document looks identical. Only the internal structure and the chosen metadata fields change.
How is this different from compressing a PDF?
Compression aims to make the file as small as possible. This tool is a structural tidy and a privacy pass before publishing; any size change is a side effect, and it is often small.
Can I optimise several PDFs at once?
Yes. Select a whole batch, and the report gives the combined size before and after. Each file downloads separately, or together as a ZIP.