Compress a PDF — free, in your browser, no server upload
Shrink a PDF down for email or upload limits. Light compression keeps text crisp and selectable; higher levels re-encode each page as an optimized image for maximum savings.
Light
Lossless clean-up. Text stays selectable. Modest size reduction.
Recommended
Balanced image re-encoding. Great for sharing over email.
Aggressive
Stronger image compression and smaller file size.
Custom
Choose the compression quality with the slider.
How to compress a PDF online for free
The PDF compressor is the most-used tool on RasonaX PDF Toolkit, and for good reason — most email providers cap attachments at around 25 MB, and a few high-resolution scans can blow past that in seconds. Drop your PDF into the dropzone above, pick a quality level, and the file is re-encoded right in your browser. Light compression cleans up the file structure without touching page content, so the text stays selectable and the page looks identical. Recommended re-encodes embedded images at a balanced JPEG quality and is the right choice for most everyday documents. Aggressive produces the smallest possible file by re-rendering each page as a higher-compression image, which is great when you need to squeeze under a strict size limit but means the text in the output is no longer selectable. There is no queue, no processing wait, and nothing to pay — the compressed PDF is ready to download as soon as the bar fills.
Why compress a PDF in the browser instead of uploading it?
Most free PDF compressors online work by uploading your file to a remote server, processing it, and then sending the result back. That works fine for a non-sensitive document, but it is the wrong choice for anything confidential — contracts, tax forms, medical paperwork, HR documents, financial statements, or anything covered by NDAs. RasonaX PDF Toolkit runs entirely in your browser tab. The file is read into your device's memory, processed locally by JavaScript libraries (pdf-lib and PDF.js), and the compressed result is handed straight to your downloads folder. Nothing is transmitted to any server at any point. You can verify this yourself by opening the network tab in your browser's developer tools — you will see zero outbound traffic for your file while compression is running.
How much can a PDF be compressed?
The compression ratio depends almost entirely on what is inside the file. A PDF that is mostly text with a handful of small embedded images will only shrink by 5–15% under any setting — it is already an efficient format for that content. A PDF that is really a stack of high-resolution scanned photos (a typical “scan-and-email” document) can shrink to 30–50% of its original size with the Recommended setting, and even further with Aggressive. The tool shows an estimated output size for each quality level before you commit, so you can see the trade-off in advance and pick the right one for your situation. If the original file is already small or already efficiently encoded, the compressor will detect that and tell you so rather than handing you a bigger file.
What happens to my PDF when I compress it?
The compression works in two stages depending on the level you choose. At the Light level, the file is loaded by pdf-lib, re-saved with cross-reference streams and object streams enabled, and the metadata is cleaned up. This usually finds 5–15% of savings on most files with no visual change at all. At the Recommended, Aggressive, and Custom levels, each page is rendered to a canvas at the chosen scale, exported as a JPEG at the chosen quality, and re-embedded in a fresh PDF. The page dimensions stay the same, so the layout and pagination are preserved exactly. The trade-off is that any text that was originally selectable becomes part of the image — so for accessibility or further text editing, use Light when you can.
Tips for getting the smallest possible PDF
If your goal is the absolute smallest file and you do not need the text to remain selectable, pick Aggressive or move the Custom slider toward the left (lower quality, smaller file). If the PDF contains a mix of text pages and image-heavy pages, the per-page rendering approach means every page gets the same treatment — which is usually what you want. If you need text to remain selectable and your file is image-heavy, scan at a lower DPI in your scanner to begin with, then run Light compression on the result. The combination of a sensible initial scan and a Light pass is almost always smaller and sharper than a high-DPI scan run through Aggressive compression.
Is there a file size limit?
No artificial limit is set by RasonaX PDF Toolkit. Because everything runs on your device, the practical limit is your browser's memory and how long you are willing to wait. Files up to a few hundred megabytes work fine on a modern computer; very large files (a gigabyte or more) may run slowly or fail if the browser runs out of memory. For typical documents — contracts, reports, invoices, e-books, scanned receipts — the compressor handles them in seconds. Closing or refreshing the tab clears everything from memory; no copies of your file are kept anywhere.
Other tools that work alongside the compressor
Once your PDF is compressed you may also need to merge it with other PDFs into a single file, split a large PDF into individual pages, rotate pages that were scanned sideways, pull out the embedded images, or convert the text into an editable Word document. All eight RasonaX PDF Toolkit tools run on the same in-browser pipeline, so you can move between them without re-uploading anything. If you need to go the other direction and turn photos into a tidy PDF, the image to PDF tool is the inverse of the compressor — same engine, opposite job.
Built so your files never have to leave your computer.
Processed on-device
Every tool runs with JavaScript inside this browser tab. Your PDF is read into memory here — it's never transmitted to a server.
Fast, no queue
No waiting for an upload or a server job. Files as large as your device's memory can handle are processed right away.
No account needed
Open a tool and use it. There's nothing to sign up for and no watermark added to your files.
Free, with reasonable limits
All eight tools are free to use. Very large files depend on your device's memory and browser — see the FAQ for details.
PDF Toolkit