Compress PDF
Make a PDF smaller so it fits under email and upload limits — free, no watermark, no signup.
How it works
- Upload. Choose the PDF you want to shrink (up to 25 MB).
- Compress. Press Compress PDF — the file is rebuilt with deflate compression and image re-encoding in memory.
- Download. Your smaller PDF downloads automatically; the original is never stored.
About this tool
This PDF compressor rewrites your document with deflate compression, image re-encoding and a full garbage-collection pass, so the file gets smaller without turning your text into a blurry scan. It's built for the everyday problem of a PDF that's just over an email or upload limit. Text stays selectable, the layout is untouched, and there's no watermark anywhere on the result. How much you save depends on what's inside — image-heavy PDFs shrink the most, while a file that's already optimized may only drop a little.
What people use it for
- Get a PDF under a 10 MB or 25 MB email attachment limit
- Shrink a scanned contract before uploading it to a portal
- Reduce a slide deck exported to PDF for faster sharing
- Trim image-heavy reports so they open quickly on mobile
Developer API
Automate this tool from your own code. Send a POST request to the endpoint below and get the same result the web tool produces. It is rate-limited per IP and needs no signup — API keys for higher limits are coming.
https://best.free/api/tools/compress-pdf/
| Parameter | Example | Required | Notes |
|---|---|---|---|
file (file) |
document.pdf |
Yes | PDF, ≤25 MB. |
curl -X POST https://best.free/api/tools/compress-pdf/ \
-F 'file=@document.pdf' \
-o compressed.pdf
import requests
files = {"file": open("document.pdf", "rb")}
r = requests.post("https://best.free/api/tools/compress-pdf/", files=files)
with open("compressed.pdf", "wb") as out:
out.write(r.content)
const fd = new FormData();
fd.append("file", fileInput.files[0]);
const r = await fetch("https://best.free/api/tools/compress-pdf/", { method: "POST", body: fd });
const blob = await r.blob(); // the compressed.pdf
Response: The compressed PDF (application/pdf).