What does this PDF compressor actually do?
Email servers and upload forms often cap attachments at 10 or 25 MB, so people search for a way to compress a PDF. It helps to know what kind of shrinking you are getting. Most large PDFs are large because of images. Making them smaller means resampling those pictures or recompressing them, and that is a job for a dedicated image-aware compressor.
This tool does something more modest. It reads your file in the browser, then writes it out again with pdf-lib. In Light mode it saves in the traditional layout. In Standard and Aggressive modes it packs objects into compressed object streams, which can shave a few percent off files with many small objects. The page then shows the original size, the new size and the percentage saved.
Be realistic about the result. A scanned document or a brochure full of photos will usually come out almost the same size, and occasionally a little bigger. The percentage shown never goes below 0%, but the file you download is still whatever was produced, so compare the two sizes yourself and keep the original if the new one is not smaller.
How to compress a PDF with this tool
- Drop your PDF on the box or click to browse. The file name and size in MB appear.
- Pick a Compression level: Light, Standard (selected by default) or Aggressive.
- Click Compress PDF. The progress bar moves through loading, optimizing and saving.
- Read the three boxes: Original, Compressed and Size Saved. The bar below compares the two sizes.
- If the compressed size is smaller, press Download Compressed PDF. The file is named after yours with _compressed added.
- If the size is the same or larger, keep your original and try another approach from the tips below.
What this tool includes
Three levels
Light saves without object streams. Standard and Aggressive use object streams. In practice Standard and Aggressive differ only in a form-field setting, so expect similar sizes.
Before and after numbers
You see original size, new size and percentage saved, so you can judge the result instead of trusting a promise.
Size comparison bar
A bar scales the compressed file against the original, which makes small gains easy to see.
Text stays text
The file is not turned into images, so text remains selectable and searchable.
Local processing
The work is done in your browser with pdf-lib, loaded from a CDN. Your file is not uploaded.
Original is untouched
The tool writes a new file with a new name and does not change the one on your disk.
When it helps, and when it will not
- Files with many small objects. A PDF exported from a design or reporting tool with thousands of small objects may drop by several percent in Standard mode.
- Quick size check before emailing. Run a 12 MB report through it to see whether a few percent is enough to get under a 10 MB limit. If not, move on to a different approach.
- Tidying a merged file. After joining documents with PDF Merge, re-saving can pack the combined structure a bit tighter.
- Preparing an upload. Check a job-application PDF against a portal limit. If it is still too large, cut pages with PDF Split.
- Comparing levels. Try Light and Standard on the same file to see which layout your viewer handles better.
Tips if your PDF stays too big
- If the file is mostly photos or scans, this tool will barely help. Reduce the source images first with Compress Image and rebuild the PDF with JPG to PDF, accepting that text will no longer be selectable.
- Extract only the pages you need. Fewer pages is the most reliable way to get a smaller PDF.
- Always compare the Original and Compressed boxes. If the new file is bigger, discard it.
- Do not expect the 40 to 70 percent figures that image compressors quote. Structure-only savings are usually far lower.
- Try Light if a picky viewer or printer has trouble with a Standard output, since Light uses the older file layout.
- Keep the original until you have opened the compressed file and checked every page.
Is it safe? Privacy and limits
The PDF is read and rewritten inside your browser. Nothing is uploaded, and the output is a local download link. The pdf-lib script is requested from the jsDelivr CDN when the page opens, but not your file. Because the tool changes only the internal structure, it keeps all content and metadata, so it is not a way to remove hidden information from a document before sharing.
Compress PDF FAQ
Often only a little, and sometimes not at all. The tool does not resample or recompress images. It re-saves the file with pdf-lib, and in Standard and Aggressive mode it packs objects into object streams. Files with many small internal objects may shrink by a few percent. PDFs that are mostly photos or scans usually stay about the same size, and a few come out slightly larger. Check the Original and Compressed sizes on the result screen before you download.
Light saves the PDF without object streams, in the older, widely compatible layout. Standard turns object streams on. Aggressive turns them on as well and also skips updating form-field appearances. In practice Standard and Aggressive give very similar results, and neither one lowers image quality or does anything beyond structure. The names suggest a bigger gap than there is. Use Standard as a first try, and Light if a viewer has trouble with the output.
Because the size is dominated by content the tool does not touch, mainly images. Re-saving cannot make a JPEG inside a PDF smaller. If the original was already optimized by the program that made it, there is nothing left to pack, and the new file may even be a bit larger. The Size Saved box never shows a negative number, so compare the two sizes yourself. If the new file is not smaller, simply use your original.
You need to reduce the image data. One route is to render the pages as pictures with the PDF to JPG tool at 1ร scale and a lower quality setting, shrink them with Compress Image if needed, and rebuild a PDF with JPG to PDF. That gives a much smaller file, but the pages become images, so text is no longer selectable. Another route is to send fewer pages, which is often enough to get under an email limit.
No. The tool does not change the content of any page, so text stays sharp and selectable and images keep their quality. That is also why it cannot achieve large savings. It only changes how the file is organised inside. If you see a visual difference after compressing, try Light mode or keep the original, because that would point to a viewer problem rather than a quality change. Because of that, it is a safe tool to experiment with: nothing about the pages is rewritten, and your original file on disk is never overwritten.
No. The file is opened and rewritten by JavaScript in your browser, and the result is offered as a local download. When the page loads, it fetches the pdf-lib library from a CDN, but your document is not included in that request. Closing the tab removes the loaded file from memory. This makes it suitable for private documents, although you should still check the output before sharing it. There is no account, no daily limit and no watermark added to the output.
The tool sets no limit. The limit is the memory in your browser and device, since the whole PDF is loaded and a second copy is built. Files of tens of megabytes usually work on a laptop. Very big files can freeze the tab or throw an error, in which case the page shows an alert with the message. Try splitting the document into parts first, compress each part, and merge them again if you need one file.
It may not. The tool loads files while ignoring encryption flags, which can work for files that only restrict editing or printing. A PDF that needs a password to open generally fails to load, and you will see an error. If you own the file and know the password, remove it in a PDF reader first, then compress the unprotected copy, and add a password again afterwards if you need one.