Compress PDF — Reduce File Size Free
Shrink oversized PDFs before emailing or uploading them. An honest note up front: this tool re-saves your PDF to strip metadata and redundant data — it does not recompress your images, so quality is never touched.
How it works
Choose your PDF
Drop the file below or click to browse. It stays on your device the whole time.
Compress in one click
The tool rewrites the file structure, clearing embedded metadata and duplicate objects.
Compare and download
See the before/after sizes side by side, then download the smaller file.
Drop a PDF here or click to choose one
Best for files with heavy metadata · processed locally
Result:
Private by design: your PDF is compressed locally in your browser and never leaves your device. What this tool removes: document metadata (title, author, producer) and redundant internal objects. What it never touches: your images, text and layout.
About this PDF compressor
A PDF usually becomes a problem at the moment you try to send it. Gmail refuses attachments over 25 MB, application and visa portals set their own upload caps, and a form that silently rejects your file rarely tells you size was the reason. Compression is the attempt to get the same document under the line — and this page is deliberately honest about what kind of compression it does.
SwiftPDF compresses structurally. The tool re-saves your PDF, which strips out document metadata — the title, author, subject, keywords and creator fields that producing software embeds — and removes redundant internal objects left behind by repeated saves and edits, rewriting the file with modern object streams enabled. What it does not do is recompress the images inside your PDF. That choice is deliberate: image recompression is where visible quality is lost, and this tool never trades your document's appearance for a smaller number.
That means expectations should match the file. PDFs exported from office suites, design tools and online generators often carry surprising amounts of overhead — embedded preview thumbnails, leftover objects from a dozen incremental saves, duplicated resources — and those files can shrink noticeably here. A PDF that is already lean, or whose size is almost entirely scanned images, has little overhead to give up and will shrink only slightly. Both outcomes are normal; the tool shows you the before and after sizes so you can judge the result yourself.
How the compression actually works
Your browser reads the file into memory and opens it with the pdf-lib JavaScript library. The tool clears the metadata fields, sets the producer field to SwiftPDF so the file honestly records what rewrote it, and saves the document again with object streams switched on, which packs the file's internal structure more tightly. The re-saved bytes are then offered as a download. Nothing is uploaded at any stage — a tax document or contract gets the same privacy as every other file on this site.
Typical uses: getting a report under an email limit, preparing an application packet for a portal with an upload cap, trimming an archive of exported documents before backing it up, and giving files one final structural pass after merging or splitting them.
Step-by-step: how to compress a PDF
- Drop your PDF onto the box above, or click to choose one. The tool notes the file's current size.
- Click Compress PDF. The file is re-saved locally — large documents may take a few seconds.
- Read the result line, which shows the new size, the percentage saved and the exact amount trimmed.
- If the saving is worthwhile, download the compressed copy and open it once to confirm it looks identical — it should, because only overhead was removed.
- If the file barely shrank, it is already well optimized or mostly images; the tips below explain your remaining options.
Tips, common problems and fixes
Why scanned PDFs barely shrink
A scanned page is not text — it is one large photograph of a page, usually a JPEG stored inside the PDF. When 95 percent of a file's size is those photographs, removing metadata and tidying the structure can only touch the other 5 percent. The genuine fixes for a bloated scan happen at the image level: re-scan at 200–300 DPI in grayscale instead of full colour at the scanner's maximum setting, or use desktop software that deliberately downsamples images. Those steps trade a little image quality for a lot of size, which is a trade this in-browser tool refuses to make silently on your behalf.
Why office and design exports shrink the most
Files exported from word processors, presentation tools and design software tend to accumulate baggage: document properties, editing history, embedded thumbnails, and objects left orphaned by every "save as" along the way. Files that have been edited and re-saved many times grow an incremental-update tail that a clean re-save discards entirely. If a colleague's exported report shrinks dramatically here while your scanner file does not, that difference is the explanation — not a fault.
Know your target before you start
Work out how far over the limit you are. If Gmail's 25 MB ceiling is the problem and your file is 27 MB, a structural pass may well be enough. If a portal caps uploads well below your file's size and the file is a 40 MB scan, no metadata cleanup will bridge that gap: split the document into parts the portal accepts, or reduce the images at the source and export again.
Compress last, not first
If you are merging several PDFs or extracting pages for a submission, do that work first and compress the finished file once at the end. Compressing the ingredients and then combining them just means the combined file carries fresh overhead again, and a second compression pass finds almost nothing new to remove.
A privacy bonus — and its limit
Because compression clears the author, title and creator fields, the compressed copy is also a cleaner file to share publicly than the original, which may carry your name, employer or software details. But understand the limit: removing metadata is not redaction. Text and images inside the pages are untouched, so anything visible in the document is still visible.
Compressing twice does not help
Once a file has been re-saved cleanly, running it through again removes practically nothing — the overhead is already gone. If the second pass shows a saving at all, it will be a handful of bytes.
Frequently asked questions
How does SwiftPDF compress a PDF?
The tool re-saves your PDF in your browser, which strips document metadata (title, author, producer) and removes redundant internal objects. It does not recompress images, so quality is never reduced.
Will compression reduce the quality of my PDF?
No. Because only overhead and metadata are removed, the visible content — text, images and layout — is identical to the original.
Why didn't my file get much smaller?
If a PDF is already well optimized, there is little overhead left to remove. The biggest wins come from files exported by software that embeds bulky metadata or duplicate objects. For image-heavy PDFs, re-exporting at lower image quality in your source app helps more.
Is my PDF uploaded to compress it?
No. Compression happens entirely in your browser. Your file never leaves your device.
What exactly is removed from my PDF?
The metadata fields — title, author, subject, keywords and creator — are cleared, redundant internal objects left by repeated saves are dropped, and the file structure is rewritten with object streams enabled. The producer field is set to SwiftPDF. Nothing on the pages themselves is changed.
My PDF is a scan and it hardly shrank. What else can I do?
Scanned pages are stored as large images, and this tool never recompresses images, so there is little overhead to remove. Re-scanning at 200-300 DPI in grayscale, using desktop software that downsamples images, or splitting the document into smaller parts will reduce the size far more.
Is there a file size limit?
There is no set limit, but because compression runs in your browser, the practical limit is your device's memory. Very large files can struggle on a phone; a desktop or laptop browser handles them more comfortably.