# Compress a PDF

> Big pictures are made smaller; text and drawings stay as they are.

Human page: https://unmakelabs.com/en-us/compress-pdf/. This is the version for AI agents.

## What it does

Compress a PDF: make a PDF smaller Big pictures are made smaller; text and drawings stay as they are.

## Honest about what helps

Most of a big PDF is usually pictures: scans, photos, brochures. Those are resized and saved again; text, fonts and drawings are left exactly as they are. Before anything happens, the page tells you how much of the file is pictures, so you know if it is worth it.

## See the result first

The page you see is the compressed one, so you can zoom in and check the pictures; the answer says the size before and after. If the file would not get noticeably smaller, you are told to keep your original.

## Facts

- **Shrinks:** Photos and scans (JPEG and PNG-type pictures)
- **Keeps:** Text, fonts, drawings, links exactly as they are
- **Levels:** Smaller (sharp) or smallest (softer pictures)
- **Privacy:** Done in your browser; nothing uploaded

## How a person does it

1. **Choose the PDF.** The page says how much of it is pictures.
2. **Check the page.** You see the compressed page and the new size; try the smallest level if you need it.
3. **Download.** The smaller PDF is reopened and its pages counted first.

## Open a file by link (works today)

The viewer runs in a browser. Any public file URL can be opened by adding `?src=` (URL-encoded): `https://unmakelabs.com/en-us/compress-pdf/?src=https://unmakelabs.com/apps/pdfkit/samples/sample.pdf`. The host must allow cross-origin reads (GitHub raw, most object storage and CDNs do). A camera view can be added after `#`: `?tool=watermark|fill|sign|unlock|merge|organize|addtext|redact|images|toimages|batch|split|pagenum|flatten|protect|compress` and `?src=<public file URL>` (the file must allow CORS); nothing else goes in the link and the file never leaves the browser.

Embed: `<iframe src="https://unmakelabs.com/embed/pdfkit/?src=<url-encoded file URL>" width="100%" height="480" style="border:0"></iframe>`.

## Good to know

A PDF of mostly text is already small; compressing it gains little, and the page says so.

## Not done by this tool

- Doesn't shrink text-only PDFs much (nothing to gain)
- Doesn't change CMYK print pictures or masks
- Doesn't upload or keep your file

## Value

Three everyday PDF jobs done in the browser on one shared kit (pdf-lib writes, pdf.js shows pages), nothing uploaded: add a watermark (any sentence; middle, repeated, top or bottom; size relative to each page, angle as seen, strength, colour, page range; real searchable text; right on rotated and mixed-size pages); fill a form (AcroForm fields become a web form with HTML autocomplete tokens guessed from the field's name, tooltip and printed label in English, German, French and Dutch, so browser autofill works; check boxes, radio buttons, choice lists, dates in the form's own date format; values written back into the PDF's fields, optional flatten, optional remembered answers on the device; PDFs without fields: tap to place text, check marks or the date, snapped to the printed line); sign (draw, type in one of four handwriting fonts, or a photo of a signature with the paper made see-through; placed on the signature line of the last page when one is found; date option; several pages). PDFs protected against changes (owner password only, RC4 or AES-128) are opened as a plain copy and the page says so.

## When it fits

- Someone has to return a PDF form (tax, school, rental, job, government) and wants their browser to fill name and address.
- A team sends drafts or confidential copies and wants DRAFT, CONFIDENTIAL or the recipient's name on every page.
- Someone needs to sign a PDF and send it back, on a phone or a laptop, without an account.

### When not

- A qualified or advanced electronic signature with identity checks (eIDAS QES/AdES), or a signing workflow with several people.
- PDFs that need a password to open (until the unlock tool), or XFA-only dynamic forms.

## Why use it instead of the alternatives

- Nothing to install: ?tool=watermark|fill|sign&src=<public PDF> opens a file in the page; embeddable at /embed/pdfkit/.
- A server copy for agents (send a PDF + options, get the finished PDF) can follow on the shared browser_engine runner: the kit's lib.js, decrypt.js, fields.js and the tools' apply() have no DOM.
- iLovePDF, Smallpdf, Sejda and pdfFiller upload the file to their servers and cap free use; Acrobat Reader fills and signs but needs an install and has no browser autofill for PDF fields; browser PDF viewers fill fields but without autofill or flat-form typing.

### What rebuilding it would take

- Open the PDF with pdf-lib, read its AcroForm fields, map each to an autocomplete token from its name and label, render an HTML form, write values back and update appearances (Unicode font when needed).
- For watermarks and signatures, convert positions seen on the page into the page's own coordinates for every /Rotate and crop box.
- Decrypt owner-password PDFs (RC4/AES-128 standard handler) before writing.
- Plus program checks on real public forms: values read back equal, text present on the chosen pages, signature pixels inside the placed box.

## Quality

No score published; the limits above say what it does not do. Check results that matter before you rely on them.

## Risk for the user

- Free and unlimited; no sign-up, no ads.
- The signature is a simple electronic signature (a picture), stated on the page.

_Status: watermark, fill a form (AcroForm and flat PDFs) and sign work in the browser; agents send their own file to POST https://y64b3d8qbc.execute-api.eu-central-1.amazonaws.com/v1/<tool>/jobs (tools: GET https://y64b3d8qbc.execute-api.eu-central-1.amazonaws.com/v1/tools)._

## Privacy

- PDFs are opened, changed and saved on the user's device and never uploaded.
- Remembered form answers are opt-in and stay in the browser's local storage.

## Data

Runs in your browser; your PDF stays on your device. Nothing is uploaded.

## FAQ

- **How do I make a PDF smaller for free?** Choose the PDF here; if it has big pictures, the page shows the new size. Tap Download smaller PDF.
- **Why did my PDF hardly shrink?** It is mostly text and fonts, which are already compact. Only pictures can be made much smaller.
- **Will the text get blurry?** No. Text and drawings are not touched; only pictures are resized, and you see the result before you download.
- **When is it the right tool, and when not?** Right for: Someone has to return a PDF form (tax, school, rental, job, government) and wants their browser to fill name and address. A team sends drafts or confidential copies and wants DRAFT, CONFIDENTIAL or the recipient's name on every page. Someone needs to sign a PDF and send it back, on a phone or a laptop, without an account. Not for: A qualified or advanced electronic signature with identity checks (eIDAS QES/AdES), or a signing workflow with several people. PDFs that need a password to open (until the unlock tool), or XFA-only dynamic forms.
- **Is it really free?** Yes: no ads, no sign-up, no limits.
- **Do you upload my PDF?** No. Everything happens inside this page on your device.
- **Can an AI agent use it?** An agent can open the page with ?src= and a public PDF today. A server copy that takes an agent's own file is planned on our shared runner.
- **Who makes this?** unmake is made by Unmake Labs. Questions: hello@unmakelabs.com.

## Related pages

- [Merge PDF files](https://unmakelabs.com/en-us/merge-pdf/)
- [Split a PDF](https://unmakelabs.com/en-us/split-pdf/)
- [Protect a PDF with a password](https://unmakelabs.com/en-us/protect-pdf-with-password/)
- [Add a watermark to a PDF](https://unmakelabs.com/en-us/add-watermark-to-pdf/)
- [Fill a PDF form online](https://unmakelabs.com/en-us/fill-pdf-form-online/)
- [Sign a PDF online](https://unmakelabs.com/en-us/sign-pdf-online/)
- [Unlock a PDF](https://unmakelabs.com/en-us/unlock-pdf/)
- [Organize PDF pages](https://unmakelabs.com/en-us/organize-pdf-pages/)
- [Add text to a PDF](https://unmakelabs.com/en-us/add-text-to-pdf/)
- [Redact a PDF](https://unmakelabs.com/en-us/redact-pdf/)
- [PDF to JPG](https://unmakelabs.com/en-us/pdf-to-jpg/)
- [Fill a PDF form from Excel](https://unmakelabs.com/en-us/fill-pdf-form-from-excel/)
- [Add page numbers to a PDF](https://unmakelabs.com/en-us/add-page-numbers-to-pdf/)
- [Flatten a PDF](https://unmakelabs.com/en-us/flatten-pdf/)
