Why PDF files are often too large
PDF files produced by document editors, scanners, or export tools are often larger than necessary. A PDF exported from a design tool may embed high-resolution images at print quality even when the document will only ever be viewed on screen. A scanned PDF can easily reach 10–50 MB per page when the scanner is set to high DPI. Word and LibreOffice documents exported to PDF often retain uncompressed image data. These sizes are impractical for email attachments (typically limited to 10–25 MB), cloud storage quotas, or web uploads with size restrictions.
How local PDF compression works in the browser
Minifiles.io uses a Web Worker running a WebAssembly-based compression engine inside the browser. When you add a PDF, the worker reads the file into browser memory, analyses the document structure, and applies the selected compression preset. The preset controls how embedded images are resampled and how content streams are compressed. Once compression is complete, the browser offers the output as a direct download. No network request is made to compress the file — the PDF never leaves your device during compression.
Understanding the compression presets
Minifiles.io compresses PDFs with Ghostscript compiled to WebAssembly and offers four presets, which map internally to Ghostscript's /screen, /ebook, /printer and /prepress settings. Maximum: the smallest file. Images are downsampled to 72 DPI — ideal for web sharing and email (an estimated ~90% smaller). Balanced: the default, targeting 150 DPI images for a good balance between size and quality (an estimated ~80% smaller). High Quality: 300 DPI images, suitable for printing (around 50% smaller). Lossless: 300 DPI, preserving maximum quality for professional use (around 45% smaller). Produces the largest output among the four presets but retains the most detail. Free users and guests get Balanced; all four presets require Pro.
What compression results to expect
Results depend heavily on the PDF's content. A scanned PDF with large embedded images may compress to 10–20% of its original size using the Maximum preset (Pro) — a 20 MB scan could become 2–4 MB. A PDF containing mostly text and vector graphics compresses very little because text and vectors are already compact. A PDF exported from a design tool with high-resolution photos can typically be halved in size using the Balanced preset with no visible quality degradation on screen. Password-protected PDFs cannot be processed and will be flagged by Minifiles.io.
How to reduce PDF size with Minifiles.io: step by step
- Open minifiles.io in your browser on desktop or mobile. 2. Select the PDF tab. 3. Drag your PDF onto the upload zone, or click to browse. 4. Keep the default Balanced preset, which suits most use cases (Pro unlocks Maximum, High Quality and Lossless). 5. Click Compress. 6. Use the comparison panel to see the original and compressed file sizes. 7. Click Download to save the smaller PDF. The entire process runs in your browser — no account, no upload, no installation required. If you need a specific target size, try our dedicated compress PDF to 100 KB or compress PDF to 1 MB tools.
Comparing local compression to online PDF compressors
Most online PDF compressors — including iLovePDF, Smallpdf, and Adobe's online tools — require you to upload your PDF to their servers. The file is processed remotely and a download link is returned. This is convenient but means a third-party service receives and temporarily stores your document. For personal documents this may be acceptable. For contracts, medical records, financial statements, or any document containing personal data, uploading to a third-party server creates a data transfer that may have GDPR, HIPAA, or other compliance implications. Minifiles.io avoids this entirely: compression happens on your device.
Compressing very large PDFs (1–2 GB)
Because compression runs inside your browser, the limit is your device's memory rather than an upload cap. PDFs of a few hundred megabytes usually compress fine on a desktop or laptop with a current browser. For files of 1–2 GB, close other tabs and use a desktop browser; if the tab runs out of memory, split the PDF into smaller parts, compress each one, and merge them back together. Huge PDFs are almost always scans or image-heavy exports, so the Balanced preset (150 DPI) typically shrinks them dramatically. It's free — no payment is needed to compress a PDF, large or small.
Compressing and then protecting a PDF
A common workflow is to compress a PDF to reduce its size and then add a password to protect it before sharing. Minifiles.io supports both operations locally. Compress the PDF first using the PDF tab, then switch to the Protect tab to add a user or owner password. Both operations run on your device — no upload required at any stage.
When local browser compression may not be sufficient
Browser-based PDF compression has limitations. Very large PDFs (above 100–200 MB) may exhaust browser memory, particularly on devices with limited RAM such as smartphones. PDFs with complex interactive elements or embedded video may not compress predictably. If the PDF is already optimised (e.g. previously compressed), further compression will yield little reduction. For these cases, desktop tools such as Ghostscript or Adobe Acrobat Pro offer more control, though at the cost of installation and, for Acrobat, a subscription.
Privacy implications of PDF size reduction
PDFs often contain metadata — author name, software used, revision history, and sometimes tracked changes or comments. Compression does not remove metadata. If you need to share a PDF without revealing metadata, consider using a PDF editor to clean metadata before or after compression. Minifiles.io focuses on file size reduction and does not currently strip PDF metadata.