Compress PDF Files
This tool reduces PDF file size by re-rendering each page as a JPEG image and assembling them into a new PDF. You control both the image quality and resolution scale to balance file size against visual quality.
Important Note
This compression method converts PDF pages to raster images. The output PDF will not have selectable text, clickable links, or other interactive elements. This approach works best for PDFs that are primarily visual (scanned documents, image-heavy presentations, photo collections).
Quality and Scale Settings
- Image Quality (10-100%): Controls JPEG compression. Lower values produce smaller files with more compression artifacts. 60-80% is a good balance for most documents.
- Resolution Scale (0.5x-3x): Controls the rendering resolution. 1x = 72 DPI, 1.5x = 108 DPI (default), 2x = 144 DPI. Lower scale produces smaller files but less detail.
How It Works
The tool uses Mozilla's pdf.js to render each page to an HTML canvas, exports the canvas as a JPEG image, then uses pdf-lib to create a new PDF with these images. All processing happens in your browser.