Compress PDF to Size
Shrink your PDF to fit a specific file size. Pick the size you need and the tool finds the best quality that fits. Your file never leaves your device.
Drop your PDF here
or
How to compress a PDF to a specific size
- Upload your PDF file using the drop zone or file picker.
- Enter the target size you need and choose KB or MB.
- Click Compress PDF and the tool will search for the best quality that fits.
- Download the compressed file, or see the smallest size achieved if the target was too small.
FAQs
Are my PDF files uploaded to a server?
No. Everything runs in your browser with pdf.js and pdf-lib, so your document is never uploaded or stored anywhere.
How does the tool hit a specific file size?
It starts at a balanced quality level and steps down image quality and resolution, testing each result until it is at or under your target size.
What if my target size is too small to reach?
The tool reports the smallest size it could achieve so you still get a usable, smaller file rather than nothing.
Why doesn't the compressed PDF look identical to the original?
Compression renders every page as an image, which flattens text and can reduce sharpness, especially at smaller target sizes.
Related Tools
Why use Compress PDF to Size?
Use Compress PDF to Size when you need a file to fit a hard limit, such as an email attachment cap or an upload form that rejects large files.
- Shrink a PDF to fit under an email or messaging app's attachment limit.
- Meet a portal's maximum upload size without guesswork.
- Balance file size against quality automatically instead of testing settings by hand.
Tips and Limits
Compression renders pages as images, so the text in the output is no longer selectable. If your target is unrealistically small, the tool returns the smallest size it can reach and tells you it could not meet the target - it never returns an oversized file silently.