Compress PDF Online Free
Shrink photos and scans inside your PDF while keeping text selectable and vector content sharp. No uploads, no sign-up — all processing happens in your browser.
Text remains selectable and searchable — unlike rasterization which flattens pages to images.
100% Private
Files never leave your device
Instant Processing
Compress in seconds
No Upload Required
Works in your browser
Choose files
or drag and drop them here
What this PDF compressor changes, what it leaves alone, and real before-and-after sizes
This tool works on your PDF inside the browser in two passes. First it looks for the photos and scans stored in the file. Each plain JPEG or losslessly stored colour or grayscale picture is decoded, scaled down if it is larger than the level allows, and saved again as a JPEG. Extreme caps pictures at 1280 pixels on the long side with low JPEG quality, Recommended at 2000 pixels with medium quality, and Less at 2800 pixels with high quality. A picture is swapped only when the new version is clearly smaller; otherwise the original is kept. Second, the file is rewritten with compressed object streams, which also drops old copies of objects left behind by earlier incremental saves. Text, fonts and vector drawings are never touched and pages are never turned into pictures, so text stays selectable and searchable. The output downloads as Rupix_Compressed_ followed by your file name.
We measured it in Chromium on a desktop PC, running each test file through all three levels. A 9-page PDF of 3600 × 2400 photos went from 19.72 MB to 167.98 KB on Extreme, 763.66 KB on Recommended and 3.7 MB on Less, with the photos resized to 1280, 2000 and 2800 pixels wide; each run took about three seconds. Three 1200 × 800 receipt photos on three pages went from 129.84 KB to 52.66 KB, 62.26 KB and 84.73 KB. A 4-page report with one photo went from 50.86 KB to 22.55 KB, 25.77 KB and 34.95 KB. Files with no photos got the same result on every level, because only the structure changes: a 6-page contract that had been saved three times with incremental updates went from 32.4 KB to 8.16 KB, a 12-page report printed to PDF from Chrome went from 66.23 KB to 62.12 KB, and a 2-page text appendix of 1.26 KB could not be made smaller, so the tool handed back the original.
Some pictures are left exactly as they are. Pictures with transparency, black-and-white scans stored as 1-bit images, CMYK or indexed-colour pictures, and pictures stored as JPEG 2000, JBIG2 or CCITT are copied through unchanged, as are very small images under about 10 KB. Lossless pictures that already compress well, such as charts and screenshots, are only replaced if the JPEG is at most half their size, because JPEG blurs sharp edges. Encrypted PDFs are only repacked, never re-encoded. Re-encoding is lossy: Extreme is fine for reading on screen and emailing, but zoomed-in detail and small print inside photos get softer, so use Less when the pictures matter. Rewriting a digitally signed PDF also breaks the signature.
How to compress a PDF, step by step
Load one PDF, pick a level, run the compressor on your own device, and check the before-and-after size on the result screen. Nothing is uploaded.
- 1
Open the Compress PDF tool
Go to the Compress PDF page. Below the heading are three notes (100% Private, Instant Processing, No Upload Required) and a dashed upload box labelled Choose PDF files. The tool takes one PDF at a time.

The Compress PDF page with its heading, the three privacy and speed notes, and the empty Choose PDF files upload box. - 2
Select your PDF
Click Choose Files and pick your document, or drag it onto the dashed box. A Selected File card appears with the file name and its current size, which is your starting point for comparison. The X on the right removes the file if you picked the wrong one.

The Selected File card showing the chosen PDF and its size, with the compression level cards underneath. - 3
Choose a compression level
Three cards sit under Compression Level. Extreme makes the smallest file, with pictures down to 1280 pixels and lower JPEG quality. Recommended, selected by default, keeps pictures up to 2000 pixels. Less keeps pictures up to 2800 pixels at high quality. The level only affects pictures, so for a PDF that is all text every level gives the same result.

The Extreme, Recommended and Less cards with Recommended highlighted in green, above the Compress PDF button. - 4
Press Compress PDF
Click the green Compress PDF button. The button changes to Compressing... and a progress bar above it fills as each picture is processed. Text-only files finish almost at once; in our test a 19.72 MB file with nine large photos took about three seconds on a desktop, and phones take longer.

The tool while it runs: a Compressing... progress bar partly filled and the button showing a spinner. - 5
Check the before-and-after size
When it finishes, the result screen reads PDF Compressed! and shows the output file name with the old and new sizes. If pictures were replaced, the message says how many. The compressed copy downloads automatically as Rupix_Compressed_ plus your file name. Use Download File if you need it again, or Process Another File to go back to the upload box.

The PDF Compressed! screen showing the output file name, the before and after sizes, and the Download File and Process Another File buttons. - 6
If the size did not change
When the rewritten file would not be smaller, the tool keeps your original bytes and says so: This PDF was already well-optimized, so we kept the original file. The before and after sizes are then identical, and the download is an exact copy of your file under the Rupix_Compressed_ name. This happens with small, already tidy files and with PDFs whose pictures are in formats the tool leaves alone.

The result screen for a small text PDF, with identical before and after sizes and the message that the original file was kept.
100% Client-Side Privacy Guarantee
Unlike other online PDF converters, Rupix operates on a zero-upload architecture. All PDF processing occurs locally in your browser memory using WebAssembly. No document bytes are ever uploaded to any server.
Engine Specifications
Supported Input
Standard PDF (.pdf)
Output Format
Compressed PDF (.pdf)
Engine
pdf-lib, running in your browser
Compression Levels
Extreme, Recommended, Less
Image Treatment
Downscaled and re-encoded as JPEG per level
Maximum File Size
Up to 100 MB per file
Why use Rupix Compress PDF?
Compress PDF without uploading — everything runs in your browser
Photo and scan PDFs can shrink by up to 90%; text-only files change very little
Three compression levels: Extreme, Recommended, and Less
Images are downscaled and re-encoded as JPEG at the level you pick
Text stays selectable and searchable; fonts and vector drawings are untouched
No account, no watermarks, and no limit on how many files you process
Frequently Asked Questions
How does in-browser PDF compression work?
The whole job runs in your browser. It finds the photos and scans in the file, scales them down and saves them again as JPEG at the level you picked, then rewrites the file with compressed object streams. Text, fonts and vector drawings are not touched.
Will compressing a PDF make the text blurry?
No. Pages are never turned into images, so text stays selectable and sharp at any zoom. Only embedded pictures are resized and saved as JPEG again, which can soften fine detail inside them.
Can I compress more than one PDF at a time?
One PDF is processed per run. Press 'Process Another File' on the result screen to go back to the upload box and load the next document.
Is it safe to compress confidential legal or financial PDFs?
Your file never leaves your device: the whole job runs in your browser, so confidential documents are not uploaded to any server.
Why did my PDF barely shrink, or not shrink at all?
Almost all of the saving comes from pictures. A PDF that is mostly text has little to remove: in our tests a report printed from Chrome shrank by about 6%, while a 19.72 MB photo PDF dropped to 763.66 KB on Recommended. If your file is a scan and still did not shrink, its pages are probably stored in a format the tool leaves alone, such as 1-bit black-and-white, JBIG2, CCITT or JPEG 2000. When the result would not be smaller, you get your original file back.
What is the difference between Extreme, Recommended and Less?
Each level sets the largest picture size and the JPEG quality. Extreme scales pictures down to at most 1280 pixels on the long side with low quality, Recommended to 2000 pixels with medium quality, and Less to 2800 pixels with high quality. On our 9-page photo PDF (19.72 MB) that gave 167.98 KB, 763.66 KB and 3.7 MB. Text and vector graphics are the same on every level.
Can this tool get a scanned PDF under a 2 MB upload limit?
Often, yes, if the scan is stored as colour or grayscale JPEG pictures, which is what most phone scanning apps produce. Try Recommended first and switch to Extreme if the file is still too big. Scans saved as 1-bit black-and-white images are left unchanged, so for those make a smaller file at the source: rescan at 150 to 200 dpi or pick a smaller-file setting in your scanner app. If the portal accepts several files, splitting the PDF also keeps each upload under the limit.
Does compression reduce image quality?
Yes, for the pictures it replaces. They are resized and saved as JPEG again, which softens fine detail; Extreme shows it most, Less the least. A picture that is already smaller than the level's limit keeps its size and is only re-saved if that makes it clearly smaller. Pictures with transparency are never touched. Keep your original file if you might need full-resolution photos later.
Is there a maximum file size I can compress?
There is no upload, so there is no server limit; the limit is your browser's memory. Pictures are processed one at a time, and a 19.72 MB, 9-page photo PDF took about three seconds on a desktop in our test. Very large files, in the hundreds of megabytes, can run out of memory on phones. If a tab crashes, close other tabs or use a desktop browser.
Will compressed PDFs still have selectable, searchable text?
Yes. Pages are never turned into images, so text stays selectable and searchable, fonts are unchanged and vector graphics stay sharp. We checked that the text extracted from each test file was identical before and after compression. Only the pictures are re-encoded, and the pages, their content and their order stay the same.
Related Productivity Tools
Merge PDF
Combine multiple compressed documents into one.
Grayscale PDF
Convert a color PDF's pages into shades of gray for printing.
Image Compressor
Compress JPG, PNG, and WebP images.
Exam Photo Resizer
Resize photos to exact KB and pixel dimensions.
Repair PDF
Fix a broken or damaged PDF that won't open.
Related tools on tools.rupix.io
Compress standalone image files with a live quality slider before adding them to documents.
Hit exact kilobyte targets and pixel dimensions for online recruitment and portal forms.