# Compress PDF online

> Reduce PDF image size at your chosen quality while preserving text and vectors.

[Web page](https://sunpdf.app/en/compress-pdf)

Reduce an image-heavy PDF when an upload or email limit is a problem while keeping native text and vector graphics intact.

Updated 2026-09-24.

SunPDF first identifies images that can benefit from recompression, applies the selected profile, and also tests structural QPDF optimization without rasterizing pages. The smallest valid candidate is retained. The workspace compares before and after sizes and explains when no worthwhile reduction can be kept.

## How to use it

1. Choose a file
2. Preview
3. Download

## Available features

- High quality
- Balanced
- Smallest size

## Limits to know

Savings depend on the images and internal structure. A previously optimized, mostly textual, or vector PDF may remain the same size.

## When to use this tool

High quality favors reading and printing, Balanced suits everyday sharing, and Smallest size helps when the file limit matters most.

## How to check the result

Review the reported reduction, zoom into images and transparency, search for sample text, and reopen the PDF in another reader before sending it.

## Local processing and privacy

Document processing happens in your browser. SunPDF does not upload your PDF to a server for editing. Closing or refreshing the tab ends the current session.

## Try the example

Fictional file created by SunPDF with no personal data.

Compress the document with the Balanced profile. Compare sizes, then check that all three headings and body text remain readable.

- [Download the sample file](https://sunpdf.app/examples/en/practice.pdf)

## PDF tools

- [PDF to JPG](https://sunpdf.app/en/pdf-to-jpg.md)
- [JPG to PDF](https://sunpdf.app/en/jpg-to-pdf.md)
- [Edit a PDF](https://sunpdf.app/en/edit-pdf.md)
- [Organize PDF pages](https://sunpdf.app/en/organize-pdf-pages.md)
