
Compress PDF Online — Reduce PDF File Size Free
A compress PDF online tool reduces the file size of PDF documents without removing content — re-compressing images, downsampling resolution, and stripping redundant data. Large PDFs are a problem: they bounce off email attachment limits, load slowly on mobile devices, and eat storage quota. Compressing them in your browser, without uploading to a server, is the fastest and most private way to shrink a PDF. This guide covers how PDF compression works, the tradeoffs between compression levels, image vs text optimization, and how browser-based compression compares to server-based tools like Smallpdf.
Why PDF Files Get Large
PDFs balloon in size for a few predictable reasons:
- High-resolution images — photos embedded at 600 DPI when 150 DPI is sufficient for screen viewing
- Uncompressed images — raw bitmap data instead of JPEG or JPEG2000 compression
- Embedded fonts — full font files embedded when only subsets are needed
- Duplicate objects — the same image or resource stored multiple times
- Metadata and unused resources — embedded thumbnails, document properties, hidden layers, and embedded files that aren't visible
A 20-page document with a few high-res photos can easily reach 50MB. The same content, properly compressed, might be 3MB with no visible quality loss.
How PDF Compression Works
PDF compression targets the largest components first. For most documents, that means images.
<svg viewBox="0 0 800 300" xmlns="http://www.w3.org/2000/svg" style="width:100%;max-width:800px;margin:24px auto;display:block">
<rect x="0" y="0" width="800" height="300" fill="#f8fafc" rx="12"/>
<text x="400" y="35" fill="#1e293b" font-size="17" font-family="sans-serif" text-anchor="middle" font-weight="bold">PDF Compression Pipeline</text>
<rect x="30" y="60" width="140" height="90" fill="#3b82f6" rx="8"/>
<text x="100" y="95" fill="white" font-size="14" font-family="sans-serif" text-anchor="middle" font-weight="bold">Input PDF</text>
<text x="100" y="120" fill="#dbeafe" font-size="11" font-family="sans-serif" text-anchor="middle">Large file</text>
<text x="100" y="138" fill="#dbeafe" font-size="11" font-family="sans-serif" text-anchor="middle">e.g. 25 MB</text>
<line x1="175" y1="105" x2="225" y2="105" stroke="#94a3b8" stroke-width="3" marker-end="url(#arr5)"/>
<rect x="230" y="60" width="140" height="90" fill="#8b5cf6" rx="8"/>
<text x="300" y="95" fill="white" font-size="14" font-family="sans-serif" text-anchor="middle" font-weight="bold">Analyze</text>
<text x="300" y="120" fill="#ede9fe" font-size="11" font-family="sans-serif" text-anchor="middle">Identify images,</text>
<text x="300" y="138" fill="#ede9fe" font-size="11" font-family="sans-serif" text-anchor="middle">fonts, metadata</text>
<line x1="375" y1="105" x2="425" y2="105" stroke="#94a3b8" stroke-width="3" marker-end="url(#arr5)"/>
<rect x="430" y="60" width="140" height="90" fill="#f59e0b" rx="8"/>
<text x="500" y="95" fill="white" font-size="14" font-family="sans-serif" text-anchor="middle" font-weight="bold">Compress</text>
<text x="500" y="120" fill="#fef3c7" font-size="11" font-family="sans-serif" text-anchor="middle">Re-encode images,</text>
<text x="500" y="138" fill="#fef3c7" font-size="11" font-family="sans-serif" text-anchor="middle">subset fonts</text>
<line x1="575" y1="105" x2="625" y2="105" stroke="#94a3b8" stroke-width="3" marker-end="url(#arr5)"/>
<rect x="630" y="60" width="140" height="90" fill="#10b981" rx="8"/>
<text x="700" y="95" fill="white" font-size="14" font-family="sans-serif" text-anchor="middle" font-weight="bold">Output PDF</text>
<text x="700" y="120" fill="#d1fae5" font-size="11" font-family="sans-serif" text-anchor="middle">Smaller file</text>
<text x="700" y="138" fill="#d1fae5" font-size="11" font-family="sans-serif" text-anchor="middle">e.g. 4 MB</text>
<text x="100" y="200" fill="#64748b" font-size="11" font-family="sans-serif" text-anchor="middle">Original quality</text>
<text x="300" y="200" fill="#64748b" font-size="11" font-family="sans-serif" text-anchor="middle">Find savings</text>
<text x="500" y="200" fill="#64748b" font-size="11" font-family="sans-serif" text-anchor="middle">Apply level</text>
<text x="700" y="200" fill="#64748b" font-size="11" font-family="sans-serif" text-anchor="middle">~80% smaller</text>
<text x="400" y="250" fill="#64748b" font-size="12" font-family="sans-serif" text-anchor="middle">Text stays sharp — only images and redundant data are compressed</text>
<defs>
<marker id="arr5" markerWidth="10" markerHeight="10" refX="8" refY="3" orient="auto" markerUnits="strokeWidth">
<path d="M0,0 L0,6 L9,3 z" fill="#94a3b8"/>
</marker>
</defs>
</svg>
The compression process performs several operations:
- Image re-compression — re-encodes images with more efficient JPEG or JPEG2000 compression at a lower quality setting
- Image downsampling — reduces image resolution to a target DPI (e.g., from 600 DPI to 150 DPI)
- Font subsetting — embeds only the characters actually used in the document instead of the entire font file
- Metadata stripping — removes unnecessary metadata, embedded thumbnails, and hidden layers
- Object compression — consolidates duplicate objects and applies stream compression to the document structure
Text is vector-based and already compact — compression doesn't touch it. Your text stays sharp and fully searchable regardless of compression level.
Compression Levels Explained
The PDF compressor offers three compression levels. Each balances file size against visual quality:
Low Compression
- Target DPI: 150
- Image quality: High
- Typical reduction: 30-50%
- Best for: Documents that will be printed or viewed on high-DPI screens
- Quality impact: Minimal — images look nearly identical to the original
Low compression re-compresses images at a high quality setting and downsamples only images above 150 DPI. Text and vector graphics are untouched. This is the right choice when visual quality matters more than file size — design portfolios, marketing materials, documents with detailed diagrams.
Medium Compression
- Target DPI: 96-120
- Image quality: Good
- Typical reduction: 50-70%
- Best for: General-purpose documents, reports, most business documents
- Quality impact: Slight softening of high-res images, not noticeable on standard screens
Medium compression is the sweet spot for most use cases. Images are re-compressed at a moderate quality and downsampled to screen-appropriate resolution. The file is significantly smaller, and the quality difference is barely visible on a typical monitor. This is the recommended default for email attachments and web downloads.
High Compression
- Target DPI: 72
- Image quality: Reduced
- Typical reduction: 70-85%
- Best for: Email attachments with strict size limits, web previews, archival
- Quality impact: Visible — images appear softer, fine details may be lost
High compression aggressively reduces image quality and resolution to achieve maximum size reduction. Photos will show visible artifacts and softening. Text remains sharp and readable. Use this when you need to meet a hard size limit (like a 5MB email attachment cap) and can accept reduced image quality.
| Level | Reduction | Image Quality | Text Quality | Best For |
|---|---|---|---|---|
| Low | 30-50% | Excellent | Unchanged | Print, high-DPI displays |
| Medium | 50-70% | Good | Unchanged | General use, email, web |
| High | 70-85% | Reduced | Unchanged | Strict size limits, archival |
Image vs Text Compression
Understanding what gets compressed and what doesn't helps you choose the right level:
Images (JPEG, PNG embedded in PDF) — These are the primary compression target. A single high-resolution photo can be 10MB uncompressed. Re-compressing it as JPEG at 80% quality might reduce it to 1MB with no visible difference on screen. Downsampling from 600 DPI to 150 DPI reduces it further. This is where most file size savings come from.
Text and vector graphics — These are resolution-independent and already compact. A page of text is typically 2-5KB. Compression doesn't touch text rendering — it stays sharp at any zoom level. Search functionality is preserved. Text remains selectable and copyable.
Fonts — PDFs can embed full font files (hundreds of KB each) to ensure consistent rendering. Subsetting embeds only the glyphs used in the document, often reducing font data by 80-90% with zero visual impact.
Metadata — Document properties, embedded thumbnails, and hidden layers add bytes without visible content. Stripping them saves space without affecting the document's appearance.
Browser-Based Privacy: Why It Matters
Most online PDF compressors — including Smallpdf, ILovePDF, and PDF Compressor — work the same way: you upload your PDF to their server, they process it, and you download the result. Your file leaves your device and sits on their infrastructure.
This matters because PDFs often contain sensitive information: contracts, financial statements, medical records, legal documents, personal correspondence. When you upload to a server-based compressor:
- Your file is transmitted over the internet
- It's stored on a server you don't control
- You rely on their deletion policy (if they have one)
- You don't know who has access to their systems
- You may be subject to their data processing terms
Keynou's PDF compressor runs entirely in your browser using WebAssembly. The PDF is loaded into browser memory, compressed locally, and the result is generated on your device. No upload. No server storage. No retention policy to review. Closing the tab clears everything.
For anyone handling confidential documents — lawyers, accountants, healthcare workers, HR professionals, anyone under GDPR or HIPAA — browser-based compression eliminates the privacy risk entirely.
File Size Targets for Email and Web
Different contexts have different file size limits. Here's a quick reference for choosing a compression level based on your target:
| Context | Size Limit | Recommended Level | Notes |
|---|---|---|---|
| Gmail attachment | 25 MB | Low or Medium | Most PDFs fit after low compression |
| Outlook attachment | 20 MB | Medium | Tighter limit, may need medium |
| Email (general) | 10 MB | Medium | Safe target for most email systems |
| Web download (mobile) | 5 MB | High | Mobile users on cellular data |
| Web form upload | Varies | Check the form's limit | Often 2-5 MB |
| Cloud storage sync | No hard limit | Low | Quality matters more than size |
If your compressed PDF still exceeds the limit, try the next compression level. For documents that are mostly text with no images, even high compression may not reduce size much — the content is already compact.
Keynou vs Smallpdf: What's Different
Smallpdf is a popular PDF compression tool, but there's a fundamental difference in how it processes your files.
| Feature | Keynou | Smallpdf |
|---|---|---|
| Processing location | Your browser | Their servers |
| File upload required | No | Yes |
| Data retention | None (nothing stored) | Files deleted after processing (per their policy) |
| Account required | No | Required for some features |
| Compression levels | Low, Medium, High | Basic, Strong |
| File size limit (free) | No server limit | Varies by plan |
| Privacy | Complete — no data leaves device | Relies on server-side policies |
| Cost | Free | Free with limitations |
The core difference is privacy. Smallpdf is a capable tool, but every file you compress passes through their infrastructure. Keynou's browser-based approach means your PDF never leaves your device. For sensitive documents, that's the deciding factor.
Tips for Best Compression Results
- Start with Medium — it provides the best balance of size and quality for most documents
- Check the result before sending — open the compressed PDF and verify images look acceptable at the zoom level recipients will use
- Compress before other operations — if you're also merging or converting, compress first to reduce processing time
- Remove unnecessary pages first — if the PDF has pages you don't need, remove them before compressing for additional savings
- Use the Word compressor for DOCX files — compressing the source document before converting to PDF can also help
Frequently Asked Questions
Will compression affect text quality?
No. Text in PDFs is vector-based and resolution-independent. Compression targets images and metadata, not text. Your text stays sharp, searchable, and selectable at any zoom level.
Can I compress a password-protected PDF?
No. Remove the password protection first using your PDF viewer, then compress the unlocked file.
Is there a file size limit?
Since processing happens in your browser, the limit depends on your device's available memory. Most modern browsers handle files up to several hundred MB.
Does it work on mobile?
Yes. The compressor works in mobile browsers, though very large files may process more slowly on phones with limited RAM.
How much can I expect to reduce file size?
It depends on the content. Documents with many high-resolution images can see 70-85% reduction. Text-heavy documents with few images may only see 10-20% reduction since text is already compact.
Related Tools
- PDF Compressor — Compress PDFs with Low, Medium, High levels
- PDF Compressor Tool — Alternative compression interface
- Word Compressor — Compress DOCX files before PDF conversion
Published: August 20, 2026
Category: Compressor Tools
Reading Time: 7 minutes



