Government portals, university application systems, and corporate email servers routinely reject attachments over 2 MB or 500 KB. You can compress PDF file size right in your browser by choosing a lossless object-stream pass, selecting a balanced 144 DPI preset, or dialing in custom resolution, JPEG quantization, and grayscale settings. Before you save the file, a live comparison readout shows the exact original byte count, new size, and percentage saved.
Why PDFs bloat and when you need to shrink them
Office scanners and smartphone document apps are the biggest culprits behind oversized PDFs. When you scan a ten-page contract at 300 or 600 DPI in 24-bit color, each page is stored as a massive bitmap image. Even a five-page color scan can easily cross 12 MB, which immediately fails the 2 MB upload cap on visa portals, tax filing sites, and job application boards.
Design exports from presentation tools or desktop publishing apps create a different kind of bloat. They often embed full uncropped photographs, duplicate font tables, XMP edit histories, and uncompressed object streams.
Having both a lossless stream packer and an adjustable DPI downsampler in the same workspace lets you match the tool to the document. For text-heavy digital contracts that just need XMP metadata stripped and objects packed into compressed streams, the Lossless mode keeps vector text crisp. For heavy scanned documents that must fit under a strict kilobyte ceiling, downsampling to 144 DPI or 96 DPI with optional grayscale conversion cuts 70% to 90% of the file weight.
Steps to compress PDF file size in your browser
- Drag your oversized PDF into the upload box or click Select PDF File(s) to open it locally.
- Pick a compression preset in the left sidebar: Extreme (96 DPI), Recommended (144 DPI), High Print (200 DPI), or Lossless Stream Pack.
- Fine-tune the Target Resolution (DPI) slider (72 to 220 DPI) and Image Quality slider (20% to 92%) if you need to hit a specific kilobyte target.
- Check Convert to Grayscale for black-and-white portal uploads and leave Strip Hidden Metadata enabled, then click Compress & Download PDF.
Controls that determine your final byte count
Instead of offering a single mystery button that sometimes makes files blurry and sometimes barely shrinks them, the compressor exposes the exact parameters that govern PDF byte size.
- Four compression presets plus manual sliders: Jump between Extreme (96 DPI, 52% quality), Recommended (144 DPI, 72% quality), High Print (200 DPI, 85% quality), and Lossless Object Stream mode, or move the DPI and JPEG quality sliders independently.
- Smart Size Guard protection: When you run a raster compression pass on a tiny vector-only PDF, re-encoding vector text into bitmaps could theoretically make a 40 KB file larger. The engine runs a lossless object-stream pass in parallel and automatically picks whichever output is smaller, so your exported file never grows in size.
- Luminance-weighted Grayscale conversion: Toggling grayscale applies the ITU-R BT.601 luminance formula (
0.299R + 0.587G + 0.114B) across every rendered page canvas before JPEG quantization, removing chrominance channels to save an extra 35% to 55% on color scans. - Metadata and catalog stripping: Clears internal Title, Author, Subject, Keywords, Creator, and Producer strings while enabling PDF 1.5+ compressed object streams (
useObjectStreams: true). - Exact before-and-after byte telemetry: Displays the original size, the compressed size, the percentage saved, and the exact compression mode used right in the workspace.
Real numbers: shrinking a 14.6 MB scanned deed under 2 MB
Consider a 12-page scanned property deed (Property-Deed-Scan.pdf) captured on an office flatbed at 300 DPI color, weighing 14,620 KB (14.28 MB). Your state land registry portal rejects anything above 2,048 KB (2 MB).
Here is what happens across three settings in the workspace:
- High Print preset (200 DPI, 85% quality, Color): Downsamples each page from 2480 x 3508 pixels to 1654 x 2339 pixels. Output size drops to 3,840 KB (73.7% reduction). Sharp for printing, but still above the 2 MB portal cap.
- Recommended preset (144 DPI, 72% quality, Color): Renders each page at 1191 x 1684 pixels. Output size drops to 1,380 KB (1.35 MB), saving 90.5% and passing the 2 MB limit with readable stamps and signatures.
- Extreme preset + Grayscale (96 DPI, 52% quality, Monochrome): Converts color channels to luminance gray at 794 x 1123 pixels. Output size drops to 465 KB, saving 96.8% for portals with a strict 500 KB ceiling.
Trade-offs between lossless packing and DPI downsampling
Understanding the difference between Lossless Stream Pack and the DPI presets prevents surprises when you open the compressed file.
In Lossless Stream Pack mode, the tool keeps all vector fonts, paths, and original embedded images untouched, only stripping metadata and packing internal PDF objects into compressed streams. If your PDF is a 15 MB scan made of raw bitmap pages, Lossless mode will only shave off a few kilobytes because it does not touch the bitmap pixels.
In Extreme, Recommended, and High Print modes, each page is rendered onto an HTML5 canvas at your chosen DPI and compressed into a quantized JPEG stream. That achieves massive 60% to 95% file size reductions on scanned documents and image-heavy decks, but it also flattens selectable vector text into page images. If the recipient needs to highlight and copy text strings from the PDF, test Lossless mode first; if you are uploading a KYC document or signed scan to a portal with a strict size cap, use the 144 DPI Recommended preset.
Where compression happens
Your PDF is decoded and re-encoded entirely inside your browser's local RAM using PDF.js, HTML5 Canvas, and pdf-lib. No file data is transmitted to any backend server. Once downloaded, you can hand the compressed file straight to another tool in the PDF suite or close the tab to clear memory.
Related tools to optimize and prepare files
Before compressing, you can drop unnecessary pages with Delete PDF Pages to cut file weight without lowering resolution, or inspect and wipe document properties in the PDF Metadata Remover. If you are combining attachments first, start in PDF Merge & Combiner or convert compressed photos with Image Resizer.