Skip to content

Free toolsPDF

Web-optimize PDF

The file arranged so a browser shows page one while the rest still downloads.

More free conversions, where you upload. The Fylane extension does the same work inside any upload form, on its own free share every day.About the extension

How to web-optimize PDF

  1. Drop the PDF.
  2. Nothing to choose.
  3. Press Optimize and download.

What happens to your file

The objects are reordered so that everything the first page needs comes first, with a hint table that lets a reader fetch later pages by byte range. Nothing is re-compressed or lost; the file is usually the same size.

This is what Acrobat calls Fast Web View. It matters for large PDFs served on a website; for email attachments it changes nothing you would notice.

Questions

Does this make the file smaller?

No — it makes the first page appear sooner. Compress PDF makes it smaller; run that first, then this.

Do this in code

curl -X POST https://api.fylane.dev/v1/jobs \
  -H "Authorization: Bearer $FYLANE_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "file_id": "<file id>",
    "operation": "pdf.linearize",
    "options": {}
  }'

The same operation, pdf.linearize — Fast web view: the first page arrives before the rest of the file. Upload first with the quickstart; every option is on the operations page. 500 free credits a month, then $5 per thousand.