To compress a PDF online for free with OnCloudPDF, select your file, choose Light, Recommended or Strong (or type a target size such as 2 MB), click "Compress PDF" and download the result; the page shows the size before and after.
Processed in your browser
No upload
No account
1Choose file
2Adjust and run
3Download
or drop a file here, or paste one with CtrlV
Good to know: Light keeps images at up to about 220 dpi with JPEG quality 88, Recommended uses 150 dpi and quality 75, and Strong uses 96 dpi and quality 55. Images are resampled, so quality does drop: Strong makes images visibly softer, and small print inside a scanned image can become harder to read. All limits
To compress a PDF online for free with OnCloudPDF, select your file, choose Light, Recommended or Strong (or type a target size such as 2 MB), click "Compress PDF" and download the result; the page shows the size before and after. Embedded photos and scans are measured against the size they are drawn at, downsampled and re-encoded as JPEG, while text, fonts and vector graphics are never touched. Everything runs in your browser. Photo-heavy and scanned PDFs often shrink by more than half, but text-only PDFs have no images to reduce and shrink little.
Updated · Runs in your browser, no upload, no account
How to use Compress PDF
Select a PDF file with the "Select PDF File" button. If it is password-protected, enter the password when asked.
Choose a level: Light, Recommended or Strong. Or switch to target size and type the size you need, for example 2 MB.
Click "Compress PDF".
Compare the Original and Compressed sizes shown on the result panel.
Download the file, which is named after the original with "_compressed" added.
What it does and what it does not do
Light keeps images at up to about 220 dpi with JPEG quality 88, Recommended uses 150 dpi and quality 75, and Strong uses 96 dpi and quality 55. Images are resampled, so quality does drop: Strong makes images visibly softer, and small print inside a scanned image can become harder to read.
In target-size mode the tool picks the gentlest setting that fits, down to a floor of 72 dpi and quality 38. If the target cannot be reached, it returns the smallest acceptable result and says plainly that the target was not met.
Text, fonts and vector graphics are never changed, and flat graphics stay lossless. Only embedded raster images are re-encoded. A PDF without images, such as one exported from a word processor, only gets a structural cleanup and shrinks little.
It never returns a bigger file. If nothing makes the PDF smaller, you get the original back unchanged and the page tells you so.
No file-size or page-count limit is enforced by the tool; your browser's memory and speed are the practical limit for very large files, and large scans take longer at the strongest settings.
Password-protected PDFs are supported: the page asks for the password first, then compresses. If a result comes out empty or is not a valid PDF, an error is shown instead of a download.
Is my file uploaded?
Compression runs entirely in your browser: images are decoded and re-encoded locally and the structure is rewritten with qpdf compiled to WebAssembly. Your PDF is never uploaded to a server.
Reduce PDF size when images are the problem
If your PDF is large because it contains high-resolution photos or scanned pages, this is the case the tool is built for. Each image is compared with the size it is actually drawn at on the page, scaled down to the target resolution and re-encoded as JPEG, so a scan stored at far more detail than a screen or printer needs loses most of its weight. Start with Recommended and check the result at full zoom. If it is still too large, use Strong or enter a target size. Photo-heavy scans often shrink by more than half.
Compress a PDF to an email size limit
For an attachment limit, switch to target-size mode and type the size, for example 2 MB. The tool tries the gentlest setting that fits and goes no lower than 72 dpi and quality 38. If the limit is out of reach, it hands back the smallest acceptable result and tells you the target was not met, so you can then remove pages or split the document. A PDF with little or no image content may not get under a tight limit, because text and vector data are never reduced.
Ways to reduce a PDF's size and what each typically involves
Ways to reduce a PDF's size and what each typically involves
Criteria
OnCloudPDF (browser)
Server-based online tools
Desktop software
Where the file is processed
In your browser, on your device
On the provider's server after upload
On your computer
Install or account needed
No install, no account
Varies by provider
Install needed; account varies by product
Image recompression
Yes: downsampling and JPEG re-encoding at three levels, text and vectors untouched
Varies by provider; many offer image downsampling
Often available in advanced export or optimize options
Control over target quality or size
Three levels, or a target size with an honest report if it cannot be met
Varies by provider
Usually detailed settings
Best for
Scans and photo-heavy PDFs that should stay on your device while you shrink them
Files you are happy to upload to a provider
Repeated work and fine-grained control
Frequently asked questions
Will this always make my PDF smaller?
No. It never returns a bigger file, but a PDF with no images has little to give. If nothing makes the file smaller, you get the original back unchanged and the page tells you so rather than reporting a saving that did not happen.
Does it recompress the images inside my PDF?
Yes. Embedded raster images are downsampled to the chosen resolution and re-encoded as JPEG, while flat graphics stay lossless. Text, fonts and vector graphics are never touched. Photo-heavy and scanned PDFs often shrink by more than half.
Can I compress a PDF to a specific size such as 2 MB?
Yes. Switch to target-size mode and type the size. The tool picks the gentlest setting that fits, down to 72 dpi and JPEG quality 38. If the target cannot be reached, it returns the smallest acceptable result and says so.
Will I lose quality?
Images, yes, to a degree: they are resampled, and Strong makes them softer. Light is the closest to the original. Text and vector graphics stay exactly as they were, so they remain selectable and sharp.
Is my PDF uploaded to a server?
No. The file is processed in your browser, and the result is created locally for download. Nothing is sent to OnCloudPDF servers for this tool.
Does it work on password-protected PDFs?
Yes. The page asks for the password first, then compresses the file.
Related PDF tools
Merge PDF – Combine several PDFs into one file in your browser. Drag to set the order. No upload or signup. Pages are copied without re-compression.
Split PDF – Split one PDF into separate PDFs by custom or fixed page ranges, odd/even pages included. Runs in your browser, downloads as a ZIP, nothing uploaded.
Delete PDF Pages – Delete pages from a PDF online for free. Click the thumbnails of the pages to remove and download a new PDF. No upload, no signup, no watermark.
PDF Info – See a PDF's page count, page sizes, title, author, creator, producer and dates in your browser. Read-only, free, no upload.
Grayscale PDF – Convert a colour PDF to grayscale in your browser to save ink. Keeps page size, selectable text and vectors; file size stays similar. No upload.