PDF Compressor
Shrink PDFs losslessly by stripping metadata, or rasterize to hit a hard size target like 500 KB or 200 KB.
How PDF Compress works
Add any .pdf file — the browser reads it into memory only.
pdf-lib removes metadata, deduplicates objects, and re-packs streams using efficient object-stream encoding.
Get a leaner .pdf that opens identically in every PDF reader.
Frequently asked
How much smaller will my PDF be?+
In Lossless mode, text-heavy PDFs typically shrink 20–60%. In target-size modes (500 KB / 200 KB), the compressor rasterizes pages at progressively lower quality until the target is met — most PDFs can be brought under 500 KB, and 200 KB is achievable for shorter documents.
What's the difference between Lossless and target-size modes?+
Lossless strips metadata and re-packs streams — text stays selectable and quality is unchanged. Target-size modes (500 KB / 200 KB) fall back to page rasterization if needed; text becomes an image and is no longer selectable.
Which mode should I pick?+
Use Lossless if you need editable/selectable text. Use ≤ 500 KB for email or upload-size limits. Use ≤ 200 KB for tight portals like government or job-application forms.
Any privacy concerns?+
None. Both modes run entirely in your browser using pdf-lib and pdf.js. Nothing is uploaded.
Why did the output stay the same size?+
Your PDF was already optimally packed for Lossless. Switch to a target-size mode to rasterize and hit a specific KB budget.