Compress PDF
Compress a PDF by downscaling and re-encoding its images as JPEG, right in your browser. See the size before and after, then download the smaller file.
Compression in the browser works on images: it lowers their resolution and re-encodes them as JPEG. Text, fonts and vector drawings are kept as they are, so PDFs made mostly of text or drawings won’t shrink much.
Photos stored without compression loss (like PNG) usually shrink a lot. Untick for screenshots or diagrams that must stay perfectly sharp.
- Original size
- –
- Compressed size
- –
- Saved
- –
- Images recompressed
- –
How to compress a PDF
- Drop a PDF file on the drop zone, or click it to choose one. The tool shows its name, number of pages and size.
- Choose the Image resolution, from 72 DPI (smallest, screen only) to 300 DPI (print). 150 DPI (recommended) suits reading on screen and ordinary office printing.
- Set the JPEG quality with the slider (30 to 95; 70 by default). Lower values give smaller files and more visible compression artefacts.
- Keep Also convert lossless images to JPEG ticked for photos stored without compression loss; untick it for screenshots or diagrams that must stay perfectly sharp.
- Keep Remove unused objects ticked, and tick Remove metadata (title, author, software…) if you want to strip the document information too.
- Click Compress PDF. The tool shows the Original size, the Compressed size, how much you Saved and the number of Images recompressed.
- Click Download the compressed PDF. If the result isn’t smaller than your file, no download is offered: keep your original.
What this tool actually compresses
Compression in the browser works on images only. For each image, the tool finds the largest size at which it is drawn on a page, then lowers its resolution to the chosen DPI and re-encodes it as JPEG. The pixel size it aims for is simply:
pixels = drawn size in inches × DPI
A 3000 × 2000 px photo drawn 5 inches wide on the page needs only 750 px across at 150 DPI, so it shrinks to 750 × 500 px. Images already at or below the target resolution keep their size and are only re-encoded. An image is replaced only when the new version is at least 5 % smaller; otherwise the original stays untouched.
| Resolution | Typical use |
|---|---|
| 72 DPI | smallest files, on-screen reading only |
| 96–120 DPI | email attachments, web uploads |
| 150 DPI | screen and everyday office printing |
| 200–300 DPI | good-quality printing |
Limits to know
- Text, fonts and vector drawings are not changed. A report made mostly of text, a spreadsheet export or a CAD plan contains few image bytes, so it won’t shrink much. Scanned documents and photo-heavy brochures give the biggest savings.
- Some images are deliberately left alone: very small ones (under about 8 KB), transparency masks, CMYK images, JPEG 2000, black-and-white fax-style images (JBIG2, CCITT) and indexed-colour images.
- Browsers always write colour JPEGs, so grayscale images are saved as RGB JPEG. They still look grey and usually still shrink.
- Remove unused objects deletes data nothing in the document refers to, such as leftovers from earlier edits. Remove metadata deletes the title, author, creating software and XMP data.
- Any change to a digitally signed PDF invalidates its signature; the tool warns you when it detects one.
- Password-protected PDFs must be unlocked first (you need to know the password).
Privacy
The PDF is read, compressed and saved by your browser, on your device. The file is never uploaded to a server.
Frequently asked questions
Why did my PDF barely get smaller?
Most of its weight is probably text, embedded fonts or vector graphics, which this tool doesn’t recompress. Only images are shrunk, so PDFs with few or already compact images gain little.
Which settings give the smallest file?
Choose 72 DPI (smallest, screen only) and a JPEG quality around 40 to 50. Check the result on screen: text inside scanned pages can become hard to read at such low settings.
Will the text stay selectable and searchable?
Yes. Text is not touched: it stays as real text, and so do links, bookmarks and form fields.
Does compressing reduce print quality?
Only for images, and only if the chosen resolution is lower than what your printer needs. For printing, choose 200 DPI or 300 DPI (print) and a quality of 80 or more.
Is my original file changed?
No. The tool creates a new file named after the original with _compressed added; your original stays as it was.
Why is there no download button after compressing?
The result wasn’t smaller than your file, so there is nothing to gain. This happens with PDFs that contain little image data the tool can recompress.
Related tools
- Image Compressor Compress JPG, PNG and WebP images with a quality slider, compare sizes before and after, and batch-process photos without uploading them.
- Merge PDF Merge PDF files into one document in your browser. Drag to reorder, pick the pages to keep from each file, then download. Nothing is uploaded.
- Split PDF Split a PDF into several files by page ranges, every N pages, or one file per page. Runs in your browser, so your document is never uploaded.
- PDF to JPG/PNG Convert each page of a PDF to a JPG or PNG image in your browser. Choose the resolution in DPI, the JPG quality and the pages, then download.