Shrink a PDF by re-encoding each page as a JPEG image at your chosen quality level. No upload required — everything runs locally in your browser. See the before/after file size instantly.
Honest note: compression works by rasterizing pages to JPEG images. Text becomes image-based (no longer selectable or searchable). Best for scans and image-heavy PDFs. For text-only PDFs, try PDF Split to extract only the pages you need.
Drop a PDF or click to browse
Compress to reduce file size for email or sharing
100% in your browser · Your PDF never leaves your device · No upload, no signup
Drop your PDF
Drag and drop any PDF onto the upload area or click to browse. The tool reads the page count instantly, no upload to any server.
Choose a quality level
Pick Low for maximum compression (smallest file), Medium for a balanced result, or High for minimal visible change. A note explains that text becomes image-based after compression.
Download the compressed PDF
Click Compress PDF and download the result directly. The before/after file size and percentage reduction are shown so you can compare.
Need to reduce size further without compression? Split the PDF to keep only the pages you need. See PDF Split too
Choose Low (maximum compression), Medium (balanced quality and size), or High (minimal loss). Each level targets a different JPEG quality and DPI to suit your use case.
Compression runs entirely in your browser using pdf.js and pdf-lib. Your PDF never leaves your device, is never stored on a server, and requires no account or login.
See the exact original size, compressed size, and percentage reduction after compression, so you can compare and pick the right quality level before downloading.
PDF file size becomes a problem when emailing attachments (most providers cap at 10-25 MB), uploading to web forms, or sharing through messaging apps. PDFs that contain many high-resolution photos or scanned documents are the biggest candidates: compressing at Medium quality often reduces them by 50-80% without a visible difference on screen.
Most online PDF compressors upload your file to a remote server, which is a serious privacy concern for contracts, medical records, tax documents, or legal filings. SammaPix compresses PDFs entirely in your browser tab using pdf.js and pdf-lib. Nothing ever leaves your machine.
No, and we are upfront about this. The compression approach used here renders each PDF page to a canvas via pdf.js, encodes it as a JPEG at the chosen quality, and rebuilds the PDF with pdf-lib. The result is a smaller file, but text is embedded as an image, not as selectable glyphs. This is identical to how most free PDF compressors work. For scans and image-heavy presentations this is perfectly fine. For text documents where you need to copy text, consider removing pages you do not need using PDF Split or merging only the pages you want with PDF Merge.