Skip to content

Compress PDF

Shrink PDF size for easier sharing.

Drop files here

or tap to browse

πŸ”’ Files never leave your deviceSingle fileUp to 2 GB

Your files never leave your device.

Advertisement

Email attachment limits, upload forms with size caps, and slow-loading web documents all share the same bottleneck: your PDF is too large. The usual fix β€” an online compressor β€” asks you to upload the very file you are trying to keep private. This compressor works differently: it re-encodes embedded images at reduced resolution using your browser's Canvas API, strips redundant font data, and writes the optimized PDF locally. Choose from three presets β€” Light keeps text sharp enough for printing, Medium balances size and quality, and Strong produces the smallest file for on-screen reading. You see the before-and-after sizes so you can choose the right level before downloading.

How to compress pdf

  1. 1Upload the PDF you want to compress.
  2. 2Choose a compression preset β€” from light (best quality) to strong (smallest file).
  3. 3Click Compress and wait while the file is processed locally.
  4. 4Download the smaller PDF and compare the file sizes.

Use cases

  • Shrink a large PDF to meet an email attachment size limit.
  • Reduce a scanned document's size before uploading to a web form.
  • Optimize a portfolio PDF for faster web loading.

Why use a browser-based compress pdf?

PDF compression is one of the most common reasons people upload sensitive documents to a stranger's server. A tax return, a medical record, a legal filing β€” all handed to a website just to make the file smaller. Once uploaded, you have no control over how long the copy is kept or who can access it.

LoveMyFile compresses PDFs entirely in your browser. Embedded images are re-rendered on a Canvas at a lower resolution, redundant font data is stripped, and the optimized PDF is assembled locally with pdf-lib. Your file never leaves your device.

The trade-off between size and quality is controlled by the compression preset. Light keeps images sharp enough for printing; Strong is ideal for email attachments where on-screen reading is the priority. You see the file size before and after, so you can pick the right balance.

Compress PDF vs desktop software

Compress PDF compared with desktop software
FeatureLoveMyFileDesktop software
CostFreePaid
Install requiredNoYes
Files leave your deviceNeverNo
Adjustable qualityYes (Light / Medium / Strong)Yes
Live size previewYesSometimes
Works on any OSYesMac or Windows only

Common issues and fixes

The compressed PDF is not much smaller than the original.
If the PDF is mostly text with no embedded images, there is little to compress. Try the Strong preset. If the PDF contains scanned images, compression will have a much bigger effect.
Text is no longer selectable after compression.
Aggressive presets rasterize pages (turn them into images) to shrink size. If you need selectable text, switch to the Light preset, which preserves the text layer.
The compression is taking a long time.
Large PDFs with many high-resolution images take longer because each image is re-rendered on a canvas. On mobile devices this can be slow β€” try splitting the PDF first, then compressing each part.

Technical details

  • Compression works by re-rendering embedded images on a Canvas at reduced resolution.
  • Light preset targets ~150 DPI; Strong targets ~72 DPI for on-screen reading.
  • Font subsetting strips unused glyph data to reduce size further.
  • Text-layer preservation depends on the preset: Light and Medium keep text selectable; Strong may rasterize.
  • CMYK images are converted to RGB for compression, which also reduces size.
  • Maximum file size: 1,000 MB. Processing happens in a Web Worker to keep the UI responsive.

100% Private

Your files are processed locally and never leave your device.

Free

No paywall, no premium tier, no hidden fees.

Unlimited

Use it as many times as you want β€” no daily caps.

No Watermarks

No sign-up, no branding, no watermark on your output.

Frequently asked questions

Will text remain selectable after compression?

In most cases yes. Some aggressive compression presets rasterize pages, which removes text selection β€” pick a lighter preset to keep text searchable and copyable.

How much can I expect the file size to shrink?

It depends on the content. PDFs with many high-resolution images can shrink 50–80%. Text-heavy PDFs with few images may only shrink 10–20% because there is less redundant data to remove.

Is the compression lossy or lossless?

Light and Medium presets are near-lossless β€” they re-render images at slightly lower resolution but keep the text layer intact. Strong is lossy: pages may be rasterized to achieve the smallest possible file.

Do I need to install anything to use these PDF tools?

No installation required. Every PDF tool is browser-native and runs on modern browsers (Chrome, Edge, Firefox, Safari) without plugins, extensions, or desktop apps.

Does this upload my file?

No. Your file stays on your device the whole time. LoveMyFile runs entirely in your browser, so nothing is uploaded to a server, queued in the cloud, or copied off your computer.

Is this free?

Yes. Every tool is free and unlimited β€” no account, no paywall, and no daily caps. Because the work happens locally in your browser, there are no per-file or per-page charges.

Does it work offline?

Yes. Once the page has loaded, the tools run entirely in your browser, so you can disconnect from the internet and keep working. AI-powered tools download a small model on first use and then also run offline.

Related tools

Related guides

7 min read

Compress PDF to 300KB for Government Portals

UPSC, SSC, RRB portals require documents under 100-300KB. Step-by-step guide to compress PDFs to exact size limits without losing readability.

6 min read

Outlook 'Attachment Size Exceeded' Fix

Outlook says 'attachment size exceeded'? The limit is 20MB (or 10MB on Exchange). Compress your PDF in 30 seconds and send it as a normal attachment.

9 min read

Why Your PDF Is 10MB (And How to Make It 1MB)

A deep dive into PDF anatomy: images, fonts, metadata, and object streams. Learn what makes PDFs bloated and how to strip the excess down to 1MB.

6 min read

Compress PDF for iCloud Email: Stay Under 20MB

iCloud Mail caps attachments at 20MB. If your iPhone scan is too large, compress it locally before sending from your Mac. No Mail Drop needed.

8 min read

Send Large PDFs Without WeTransfer or Dropbox

Skip the cloud upload. Compress your PDF to fit email directly, or split and protect it. Privacy-ranked alternatives to WeTransfer and Dropbox.

7 min read

Compress Portfolio PDF for Job Applications

Shrink your design or photography portfolio PDF from 20-50MB to under 5MB for job portals. Keep images sharp at screen resolution with smart compression.

7 min read

Gmail Attachment Limit 2026: Sizes & Fixes

Gmail caps attachments at 25MB, but base64 encoding means your real limit is ~18MB. Here are the exact numbers and the fastest workarounds.

8 min read

PDF Too Large to Email? 5 Ways to Shrink It

Your PDF is too big to email. Learn why PDFs balloon in size and 5 proven ways to shrink them β€” including a free method that never uploads your file.

11 min read

SmallPDF Alternatives Without Daily Limits

Hit SmallPDF's 2-task daily limit? Compare 7 free alternatives with no sign-up, no upload, and no daily caps.

10 min read

iLovePDF Privacy Review: Does It Upload Files?

We tested iLovePDF with Developer Tools to answer: does it upload your files? Yes β€” every file goes to their European servers.

7 min read

Verify PDF Tools Don't Upload Your Files

Step-by-step F12 DevTools walkthrough to confirm a PDF tool processes files locally β€” with real examples, what to look for, and common pitfalls.

10 min read

PDF Compression: Shrink Files, Keep Quality

Understand why PDFs get large, how lossy vs lossless compression works, when to use each level, and how to batch-compress without paying or uploading.

10 min read

Online File Tools: Are They Safe?

Compare upload-based, hybrid, and client-side file tools. Learn how each handles your data and how to verify privacy claims with DevTools.

7 min read

Compress PDF for Email: Under 1 MB, Free

Shrink a PDF to fit email attachment limits without paying or uploading. Methods, target sizes, and a free in-browser compressor that keeps your file private.

Compress PDF locally: shrink files without a cloud upload

How browser PDF compression re-encodes images on a canvas, what Light versus Strong means for DPI and selectable text, and when local shrink is worth it for email.

Read full guide

Email gateways, client portals, and messaging apps still reject oversized PDFs. The usual fix people find first is an online compressor: upload the file, pick a quality slider, download a smaller copy. That works for a public brochure. It is a poor fit for bank statements, ID scans, or contracts that happen to be too large because they are full of high-DPI photos. Compression is exactly when the sensitive pixels are densest β€” which is when you least want a third-party copy.

LoveMyFile's Compress PDF tool shrinks files in the browser. Images are re-encoded via the Canvas API; work can run in a Web Worker so the UI stays responsive. This guide explains what local compression can and cannot do, how Light and Strong presets differ, and how to choose a setting without wrecking readability.

What PDF compression does β€” and when it matters

Most "heavy" PDFs are heavy because of embedded images: phone photos of documents, scanner output at 300+ DPI, or design exports with large bitmaps. Compression reduces those image payloads β€” lower resolution, stronger JPEG-style encoding, color-space cleanup β€” then writes a new PDF. Pure text-and-vector office files often shrink only modestly because there is little image mass to remove. Knowing that up front saves frustration: if your file is already lean text, expect smaller gains than with a photo-heavy scan pack.

Local compression matters for any file you would not casually email in the clear, and for workflows where the only reason you reached for a cloud tool was attachment size. Shrink on-device, then send the smaller copy through channels you already trust.

Upload compressors vs browser-only compression

Factor, Typical online compressor, Browser-only (LoveMyFile)
FactorTypical online compressorBrowser-only (LoveMyFile)
Where files goVendor servers for re-encodeCanvas + worker in your tab
Retention riskMinutes to hours (claimed)No server copy of your PDF
How to verifyPrivacy policy wordingNetwork tab: no PDF multipart upload
Quality controlOpaque server presetsYou pick Light / Medium / Strong locally
Best forNon-sensitive marketing PDFsStatements, ID packs, client scans

How compression works locally on LoveMyFile

LoveMyFile renders page imagery through the browser, then re-encodes images on a canvas. Heavy work can run in a Web Worker so the main thread does not freeze while large scans shrink. Color spaces such as CMYK are converted toward RGB for web-friendly output β€” a common source of both size savings and slight color shifts on print-oriented files.

Presets trade size for fidelity. Roughly: Light targets about 150 DPI for embedded imagery and aims to keep text selectable where the structure allows; Medium sits between Light and Strong for everyday email limits; Strongtargets about 72 DPI and may rasterize more aggressively, which can shrink dramatically but may reduce or eliminate selectable text on some pages. Treat Strong as "fit the attachment quota" rather than archival quality.

This tool is marked limited-browser in the catalog: browser engines are not Acrobat Distiller. Results vary by how the source was built (born-digital vs scan, font embedding, image filters). Always open the output and check a dense page before you send it.

Step overview and practical tips

  1. Open Compress PDF and drop your file into the dropzone.
  2. Start with Light or Medium if the document must stay readable and searchable.
  3. Run compression in the tab; wait for the local progress indicator to finish.
  4. Compare file size and open a sample page at 100% zoom before sharing.
  • If Strong is still too large, split off unused pages with Split PDF first β€” fewer pages beat harsher DPI every time.
  • For a deeper walkthrough of email-size tactics, read how to compress a PDF for email.
  • Photo-only packs can also be rebuilt from optimized images via Images to PDF after compressing the images themselves.

Limits and caveats unique to compression

  • Selectable text β€” Light and Medium are designed to keep text selectable when the source structure supports it. Strong may rasterize pages; do not assume copy-paste still works.
  • CMYK and print profiles β€” conversion to RGB can change how brand colors look on screen and in inkjet proofs. Soft-proof critical print jobs elsewhere.
  • Already-optimized files β€” a second pass on a tightly compressed PDF often yields little gain and more artifacts.
  • Device memory β€” multi-hundred-page scan books can strain mobile browsers. Desktop Chrome or Edge handles typical office packs more comfortably.
  • Encrypted PDFs β€” unlock first if you own the password, using Unlock PDF, then compress the clear copy.

Common mistakes

  • Jumping straight to Strong for a text-critical contract β€” try Light first; only escalate if the size still fails the gateway.
  • Uploading to a cloud compressor "just this once" for a passport scan β€” local canvas re-encode exists for exactly that case.
  • Judging quality only by file size β€” always zoom a page with fine print or handwriting.
  • Expecting compression to remove metadata or redact secrets β€” those are separate jobs. See the PDF compression guide for trade-offs, then use dedicated tools for privacy edits.

Related tools and bottom line

Pair compression with Merge PDF when a combined pack balloons past email limits, or with PDF to Images when you need per-page visual QA. Browser compression via canvas and a Web Worker will not match every Distiller preset, but it keeps sensitive scans on your machine while you chase attachment quotas. Start Light, escalate only as needed, and keep cloud compressors for files you would already post publicly.

Advertisement